/external/llvm/lib/Bitcode/Writer/ |
ValueEnumerator.cpp | 346 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; 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.size(); i != e; ++i [all...] |
ValueEnumerator.h | 65 std::vector<const Metadata *> MDs; 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/ |
IRBindings.h | 43 LLVMMetadataRef LLVMMDNode2(LLVMContextRef C, LLVMMetadataRef *MDs, 45 LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef C, LLVMMetadataRef *MDs,
|
IRBindings.cpp | 60 LLVMMetadataRef LLVMMDNode2(LLVMContextRef C, LLVMMetadataRef *MDs, 63 MDNode::get(*unwrap(C), ArrayRef<Metadata *>(unwrap(MDs), Count))); 66 LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef C, LLVMMetadataRef *MDs, 69 ArrayRef<Metadata *>(unwrap(MDs), Count))
|
/external/llvm/include/llvm/IR/ |
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;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
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;
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
Metadata.h | 141 inline Metadata **unwrap(LLVMMetadataRef *MDs) { 142 return reinterpret_cast<Metadata**>(MDs); 882 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 884 ArrayRef<Metadata *> MDs); 886 ArrayRef<Metadata *> MDs); 888 ArrayRef<Metadata *> MDs); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
Metadata.h | 141 inline Metadata **unwrap(LLVMMetadataRef *MDs) { 142 return reinterpret_cast<Metadata**>(MDs); 882 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 884 ArrayRef<Metadata *> MDs); 886 ArrayRef<Metadata *> MDs); 888 ArrayRef<Metadata *> MDs); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
Metadata.h | 143 inline Metadata **unwrap(LLVMMetadataRef *MDs) { 144 return reinterpret_cast<Metadata**>(MDs); 905 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 907 ArrayRef<Metadata *> MDs); 909 ArrayRef<Metadata *> MDs); 911 ArrayRef<Metadata *> MDs); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
Metadata.h | 143 inline Metadata **unwrap(LLVMMetadataRef *MDs) { 144 return reinterpret_cast<Metadata**>(MDs); 905 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 907 ArrayRef<Metadata *> MDs); 909 ArrayRef<Metadata *> MDs); 911 ArrayRef<Metadata *> MDs); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/IR/ |
GlobalObject.h | 117 /// Appends all attachments with the given ID to \c MDs in insertion order. 119 /// leaves MDs unchanged. 121 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 122 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 140 /// Appends all attachments for the global to \c MDs, sorting by attachment 143 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
/external/llvm/lib/IR/ |
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...] |