/external/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.cpp | 346 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; local 348 MDs.clear(); 349 GV.getAllMetadata(MDs); 350 for (const auto &I : MDs) 363 MDs.clear(); 364 F.getAllMetadata(MDs); 365 for (const auto &I : MDs) 390 MDs.clear(); 391 I.getAllMetadataOtherThanDebugLoc(MDs); 392 for (unsigned i = 0, e = MDs [all...] |
H A D | ValueEnumerator.h | 65 std::vector<const Metadata *> MDs; member in class:llvm::ValueEnumerator 80 const Metadata *get(ArrayRef<const Metadata *> MDs) const { 82 assert(ID <= MDs.size() && "Expected valid ID"); 83 return MDs[ID - 1]; 156 unsigned numMDs() const { return MDs.size(); } 193 bool hasMDs() const { return NumModuleMDs < MDs.size(); } 197 return makeArrayRef(MDs).slice(NumModuleMDs, NumMDStrings); 202 return makeArrayRef(MDs).slice(NumModuleMDs).slice(NumMDStrings);
|
/external/llvm/bindings/go/llvm/ |
H A D | IRBindings.h | 43 LLVMMetadataRef LLVMMDNode2(LLVMContextRef C, LLVMMetadataRef *MDs, 45 LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef C, LLVMMetadataRef *MDs,
|
H A D | IRBindings.cpp | 60 LLVMMetadataRef LLVMMDNode2(LLVMContextRef C, LLVMMetadataRef *MDs, argument 63 MDNode::get(*unwrap(C), ArrayRef<Metadata *>(unwrap(MDs), Count))); 66 LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef C, LLVMMetadataRef *MDs, argument 69 ArrayRef<Metadata *>(unwrap(MDs), Count))
|
/external/llvm/include/llvm/IR/ |
H A D | GlobalObject.h | 87 /// Appends all attachments with the given ID to \c MDs in insertion order. 89 /// leaves MDs unchanged. 91 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 92 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 110 /// Appends all attachments for the global to \c MDs, sorting by attachment 113 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
H A D | Metadata.h | 850 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 852 ArrayRef<Metadata *> MDs); 854 ArrayRef<Metadata *> MDs); 856 ArrayRef<Metadata *> MDs); 1062 static MDTuple *getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, 1074 static MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) { argument 1075 return getImpl(Context, MDs, Uniqued); 1077 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) { argument 1078 return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false); 1084 static MDTuple *getDistinct(LLVMContext &Context, ArrayRef<Metadata *> MDs) { argument 1093 getTemporary(LLVMContext &Context, ArrayRef<Metadata *> MDs) argument 1106 get(LLVMContext &Context, ArrayRef<Metadata *> MDs) argument 1109 getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) argument 1112 getDistinct(LLVMContext &Context, ArrayRef<Metadata *> MDs) argument 1115 getTemporary(LLVMContext &Context, ArrayRef<Metadata *> MDs) argument [all...] |
H A D | Instruction.h | 177 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 179 getAllMetadataImpl(MDs); 185 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 187 getAllMetadataOtherThanDebugLocImpl(MDs);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
H A D | GlobalObject.h | 90 /// Appends all attachments with the given ID to \c MDs in insertion order. 92 /// leaves MDs unchanged. 94 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 95 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 113 /// Appends all attachments for the global to \c MDs, sorting by attachment 116 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
H A D | Metadata.h | 872 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 874 ArrayRef<Metadata *> MDs); 876 ArrayRef<Metadata *> MDs); 878 ArrayRef<Metadata *> MDs); 1087 static MDTuple *getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, 1099 static MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) { argument 1100 return getImpl(Context, MDs, Uniqued); 1103 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) { argument 1104 return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false); 1110 static MDTuple *getDistinct(LLVMContext &Context, ArrayRef<Metadata *> MDs) { argument 1119 getTemporary(LLVMContext &Context, ArrayRef<Metadata *> MDs) argument 1132 get(LLVMContext &Context, ArrayRef<Metadata *> MDs) argument 1136 getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) argument 1140 getDistinct(LLVMContext &Context, ArrayRef<Metadata *> MDs) argument 1144 getTemporary(LLVMContext &Context, ArrayRef<Metadata *> MDs) argument [all...] |
H A D | Instruction.h | 191 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 193 getAllMetadataImpl(MDs); 199 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 201 getAllMetadataOtherThanDebugLocImpl(MDs);
|
/external/llvm/lib/IR/ |
H A D | Metadata.cpp | 776 MDTuple *MDTuple::getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, 780 MDTupleInfo::KeyTy Key(MDs); 790 return storeImpl(new (MDs.size()) MDTuple(Context, Storage, Hash, MDs), 865 SmallVector<Metadata *, 4> MDs; 866 MDs.reserve(A->getNumOperands() + B->getNumOperands()); 867 MDs.append(A->op_begin(), A->op_end()); 868 MDs.append(B->op_begin(), B->op_end()); 872 return getOrSelfReference(A->getContext(), MDs); 879 SmallVector<Metadata *, 4> MDs; [all...] |
H A D | LLVMContextImpl.cpp | 185 SmallVector<Metadata *, 8> MDs(N->op_begin() + Offset, N->op_end()); 186 unsigned RawHash = calculateHash(MDs);
|
H A D | AsmWriter.cpp | 890 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; local 891 GO.getAllMetadata(MDs); 892 for (auto &MD : MDs) 915 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; local 916 I.getAllMetadata(MDs); 917 for (auto &MD : MDs) 2108 const SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs, 2495 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; local 2496 GV->getAllMetadata(MDs); 2497 printMetadataAttachments(MDs, ", "); 2621 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; local 2707 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; local 3195 printMetadataAttachments( const SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs, StringRef Separator) argument [all...] |
H A D | DebugInfoMetadata.cpp | 23 unsigned Column, ArrayRef<Metadata *> MDs) 24 : MDNode(C, DILocationKind, Storage, MDs) { 25 assert((MDs.size() == 1 || MDs.size() == 2) && 22 DILocation(LLVMContext &C, StorageType Storage, unsigned Line, unsigned Column, ArrayRef<Metadata *> MDs) argument
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopVersioningLICM.cpp | 118 Metadata *MDs[] = { local 121 return MDNode::get(Context, MDs); 127 SmallVector<Metadata *, 4> MDs(1); 133 MDs.push_back(Node); 137 MDs.push_back(createStringMetadata(TheLoop, MDString, V)); 140 MDNode *NewLoopID = MDNode::get(Context, MDs);
|
H A D | LoopUnrollPass.cpp | 608 SmallVector<Metadata *, 4> MDs; local 610 MDs.push_back(nullptr); 621 MDs.push_back(LoopID->getOperand(i)); 630 MDs.push_back(DisableNode); 632 MDNode *NewLoopID = MDNode::get(Context, MDs);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
H A D | StripSymbols.cpp | 355 SmallVector<MDNode *, 8> MDs; local 358 MDs.push_back(NMD->getOperand(i)); 364 for (SmallVector<MDNode *, 8>::iterator I = MDs.begin(), 365 E = MDs.end(); I != E; ++I) { 379 SmallVector<MDNode *, 8> MDs; local 382 MDs.push_back(NMD->getOperand(i)); 388 for (SmallVector<MDNode *, 8>::iterator I = MDs.begin(), 389 E = MDs.end(); I != E; ++I) {
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
H A D | Instruction.h | 154 void getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode*> > &MDs)const{ 156 getAllMetadataImpl(MDs); 162 MDNode*> > &MDs) const { 164 getAllMetadataOtherThanDebugLocImpl(MDs);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
H A D | ValueMapper.cpp | 187 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; local 188 I->getAllMetadata(MDs); 190 MI = MDs.begin(), ME = MDs.end(); MI != ME; ++MI) {
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.cpp | 66 SmallVector<std::pair<unsigned, MDNode*>, 8> MDs; local 92 MDs.clear(); 93 I->getAllMetadataOtherThanDebugLoc(MDs); 94 for (unsigned i = 0, e = MDs.size(); i != e; ++i) 95 EnumerateMetadata(MDs[i].second); 443 SmallVector<std::pair<unsigned, MDNode*>, 8> MDs; local 444 I->getAllMetadataOtherThanDebugLoc(MDs); 445 for (unsigned i = 0, e = MDs.size(); i != e; ++i) { 446 MDNode *N = MDs[i].second;
|
/external/spirv-llvm/lib/SPIRV/ |
H A D | SPIRVRegularizeLLVM.cpp | 145 static const char *MDs[] = { local 150 for (auto &MDName:MDs) {
|
/external/llvm/lib/Transforms/Utils/ |
H A D | LoopUnrollRuntime.cpp | 362 SmallVector<Metadata *, 4> MDs; local 364 MDs.push_back(nullptr); 376 MDs.push_back(LoopID->getOperand(i)); 384 MDs.push_back(DisableNode); 386 MDNode *NewLoopID = MDNode::get(Context, MDs);
|
H A D | CloneFunction.cpp | 122 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; local 123 OldFunc->getAllMetadata(MDs); 124 for (auto MD : MDs)
|
H A D | ValueMapper.cpp | 880 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; local 881 I->getAllMetadata(MDs); 882 for (const auto &MI : MDs) { 921 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; local 922 F.getAllMetadata(MDs); 924 for (const auto &I : MDs)
|
/external/llvm/lib/Linker/ |
H A D | IRMover.cpp | 1126 SmallVector<Metadata *, 8> MDs; local 1127 MDs.reserve(DstValue->getNumOperands() + SrcValue->getNumOperands()); 1128 MDs.append(DstValue->op_begin(), DstValue->op_end()); 1129 MDs.append(SrcValue->op_begin(), SrcValue->op_end()); 1131 replaceDstValue(MDNode::get(DstM.getContext(), MDs));
|