| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | Metadata.h | 782 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 784 ArrayRef<Metadata *> MDs); 786 ArrayRef<Metadata *> MDs); 788 ArrayRef<Metadata *> MDs); 986 static MDTuple *getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, 998 static MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) { 999 return getImpl(Context, MDs, Uniqued); 1001 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) { 1002 return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false); 1008 static MDTuple *getDistinct(LLVMContext &Context, ArrayRef<Metadata *> MDs) { [all …]
|
| HD | Instruction.h | 183 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 185 getAllMetadataImpl(MDs); 191 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 193 getAllMetadataOtherThanDebugLocImpl(MDs);
|
| HD | Function.h | 592 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
| HD | DebugInfoMetadata.h | 1144 unsigned Column, ArrayRef<Metadata *> MDs);
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Metadata.cpp | 699 MDTuple *MDTuple::getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, in getImpl() argument 703 MDTupleInfo::KeyTy Key(MDs); in getImpl() 713 return storeImpl(new (MDs.size()) MDTuple(Context, Storage, Hash, MDs), in getImpl() 786 SmallVector<Metadata *, 4> MDs; in concatenate() local 787 MDs.reserve(A->getNumOperands() + B->getNumOperands()); in concatenate() 788 MDs.append(A->op_begin(), A->op_end()); in concatenate() 789 MDs.append(B->op_begin(), B->op_end()); in concatenate() 793 return getOrSelfReference(A->getContext(), MDs); in concatenate() 800 SmallVector<Metadata *, 4> MDs; in intersect() local 803 MDs.push_back(MD); in intersect() [all …]
|
| HD | LLVMContextImpl.cpp | 208 SmallVector<Metadata *, 8> MDs(N->op_begin() + Offset, N->op_end()); in calculateHash() local 209 unsigned RawHash = calculateHash(MDs); in calculateHash()
|
| HD | DebugInfoMetadata.cpp | 23 unsigned Column, ArrayRef<Metadata *> MDs) in DILocation() argument 24 : MDNode(C, DILocationKind, Storage, MDs) { in DILocation() 25 assert((MDs.size() == 1 || MDs.size() == 2) && in DILocation()
|
| HD | Verifier.cpp | 400 const SmallVector<std::pair<unsigned, MDNode *>, 4> MDs); 1475 const SmallVector<std::pair<unsigned, MDNode *>, 4> MDs) { in VerifyFunctionMetadata() argument 1476 if (MDs.empty()) in VerifyFunctionMetadata() 1479 for (unsigned i = 0; i < MDs.size(); i++) { in VerifyFunctionMetadata() 1480 if (MDs[i].first == LLVMContext::MD_prof) { in VerifyFunctionMetadata() 1481 MDNode *MD = MDs[i].second; in VerifyFunctionMetadata() 1752 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in visitFunction() local 1753 F.getAllMetadata(MDs); in visitFunction() 1754 assert(F.hasMetadata() != MDs.empty() && "Bit out-of-sync"); in visitFunction() 1755 VerifyFunctionMetadata(MDs); in visitFunction() [all …]
|
| HD | AsmWriter.cpp | 840 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in processFunctionMetadata() local 841 F.getAllMetadata(MDs); in processFunctionMetadata() 842 for (auto &MD : MDs) in processFunctionMetadata() 862 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in processInstructionMetadata() local 863 I.getAllMetadata(MDs); in processInstructionMetadata() 864 for (auto &MD : MDs) in processInstructionMetadata() 2050 const SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs, 2597 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in printFunction() local 2598 F->getAllMetadata(MDs); in printFunction() 2599 printMetadataAttachments(MDs, " "); in printFunction() [all …]
|
| HD | Core.cpp | 737 SmallVector<Metadata *, 8> MDs; in LLVMMDNodeInContext() local 756 MDs.push_back(MD); in LLVMMDNodeInContext() 758 return wrap(MetadataAsValue::get(Context, MDNode::get(Context, MDs))); in LLVMMDNodeInContext()
|
| /NextBSD/contrib/llvm/lib/Bitcode/Writer/ |
| HD | ValueEnumerator.cpp | 350 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator() local 358 F.getAllMetadata(MDs); in ValueEnumerator() 359 for (const auto &I : MDs) in ValueEnumerator() 384 MDs.clear(); in ValueEnumerator() 385 I.getAllMetadataOtherThanDebugLoc(MDs); in ValueEnumerator() 386 for (unsigned i = 0, e = MDs.size(); i != e; ++i) in ValueEnumerator() 387 EnumerateMetadata(MDs[i].second); in ValueEnumerator() 562 MDs.push_back(MD); in EnumerateMetadata() 563 MDValueMap[MD] = MDs.size(); in EnumerateMetadata() 575 MDs.push_back(Local); in EnumerateFunctionLocalMetadata() [all …]
|
| HD | ValueEnumerator.h | 63 std::vector<const Metadata *> MDs; variable 160 const std::vector<const Metadata *> &getMDs() const { return MDs; } in getMDs()
|
| HD | BitcodeWriter.cpp | 1166 const auto &MDs = VE.getMDs(); in WriteModuleMetadata() local 1167 if (MDs.empty() && M->named_metadata_empty()) in WriteModuleMetadata() 1228 for (const Metadata *MD : MDs) { in WriteModuleMetadata() 1278 const SmallVectorImpl<const LocalAsMetadata *> &MDs = in WriteFunctionLocalMetadata() local 1280 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { in WriteFunctionLocalMetadata() 1281 assert(MDs[i] && "Expected valid function-local metadata"); in WriteFunctionLocalMetadata() 1286 WriteValueAsMetadata(MDs[i], VE, Stream, Record); in WriteFunctionLocalMetadata() 1302 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment() local 1303 F.getAllMetadata(MDs); in WriteMetadataAttachment() 1304 if (!MDs.empty()) { in WriteMetadataAttachment() [all …]
|
| /NextBSD/contrib/llvm/lib/Transforms/Utils/ |
| HD | LoopUnrollRuntime.cpp | 226 SmallVector<Metadata *, 4> MDs; in CloneLoopBlocks() local 228 MDs.push_back(nullptr); in CloneLoopBlocks() 240 MDs.push_back(LoopID->getOperand(i)); in CloneLoopBlocks() 248 MDs.push_back(DisableNode); in CloneLoopBlocks() 250 MDNode *NewLoopID = MDNode::get(Context, MDs); in CloneLoopBlocks()
|
| HD | ValueMapper.cpp | 375 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in RemapInstruction() local 376 I->getAllMetadata(MDs); in RemapInstruction() 378 MI = MDs.begin(), in RemapInstruction() 379 ME = MDs.end(); in RemapInstruction()
|
| /NextBSD/contrib/llvm/lib/Transforms/Scalar/ |
| HD | LoopUnrollPass.cpp | 620 SmallVector<Metadata *, 4> MDs; in SetLoopAlreadyUnrolled() local 622 MDs.push_back(nullptr); in SetLoopAlreadyUnrolled() 631 MDs.push_back(LoopID->getOperand(i)); in SetLoopAlreadyUnrolled() 639 MDs.push_back(DisableNode); in SetLoopAlreadyUnrolled() 641 MDNode *NewLoopID = MDNode::get(Context, MDs); in SetLoopAlreadyUnrolled()
|
| HD | Scalarizer.cpp | 333 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in transferMetadata() local 334 Op->getAllMetadataOtherThanDebugLoc(MDs); in transferMetadata() 338 MI = MDs.begin(), in transferMetadata() 339 ME = MDs.end(); in transferMetadata()
|
| HD | LoopUnswitch.cpp | 723 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in copyMetadata() local 724 SrcInst->getAllMetadata(MDs); in copyMetadata() 725 for (auto &MD : MDs) { in copyMetadata()
|
| /NextBSD/contrib/llvm/lib/Linker/ |
| HD | LinkModules.cpp | 1213 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in linkFunctionBody() local 1214 Src.getAllMetadata(MDs); in linkFunctionBody() 1215 for (const auto &I : MDs) in linkFunctionBody() 1428 SmallVector<Metadata *, 8> MDs; in linkModuleFlagsMetadata() local 1429 MDs.reserve(DstValue->getNumOperands() + SrcValue->getNumOperands()); in linkModuleFlagsMetadata() 1430 MDs.append(DstValue->op_begin(), DstValue->op_end()); in linkModuleFlagsMetadata() 1431 MDs.append(SrcValue->op_begin(), SrcValue->op_end()); in linkModuleFlagsMetadata() 1433 replaceDstValue(MDNode::get(DstM->getContext(), MDs)); in linkModuleFlagsMetadata()
|
| /NextBSD/contrib/llvm/lib/Transforms/Vectorize/ |
| HD | LoopVectorize.cpp | 1348 Metadata *MDs[] = {MDString::get(Context, Name), in createHintMetadata() local 1351 return MDNode::get(Context, MDs); in createHintMetadata() 1372 SmallVector<Metadata *, 4> MDs(1); in writeHintsToMetadata() local 1380 MDs.push_back(Node); in writeHintsToMetadata() 1386 MDs.push_back(createHintMetadata(Twine(Prefix(), H.Name).str(), H.Value)); in writeHintsToMetadata() 1390 MDNode *NewLoopID = MDNode::get(Context, MDs); in writeHintsToMetadata() 1499 SmallVector<Metadata *, 4> MDs; in AddRuntimeUnrollDisableMetaData() local 1501 MDs.push_back(nullptr); in AddRuntimeUnrollDisableMetaData() 1513 MDs.push_back(LoopID->getOperand(i)); in AddRuntimeUnrollDisableMetaData() 1524 MDs.push_back(DisableNode); in AddRuntimeUnrollDisableMetaData() [all …]
|
| /NextBSD/contrib/llvm/lib/AsmParser/ |
| HD | LLParser.h | 397 bool ParseMDNodeVector(SmallVectorImpl<Metadata *> &MDs);
|
| HD | LLParser.cpp | 3333 SmallVector<Metadata *, 4> MDs; in ParseMDField() local 3334 if (ParseMDNodeVector(MDs)) in ParseMDField() 3337 Result.assign(std::move(MDs)); in ParseMDField()
|