/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | GlobalObject.h | 109 bool hasMetadata(unsigned KindID) const { in hasMetadata() argument 110 return getMetadata(KindID) != nullptr; in hasMetadata() 121 MDNode *getMetadata(unsigned KindID) const; 129 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 138 void setMetadata(unsigned KindID, MDNode *MD); 144 void addMetadata(unsigned KindID, MDNode &MD); 156 bool eraseMetadata(unsigned KindID);
|
D | Instruction.h | 200 MDNode *getMetadata(unsigned KindID) const { 202 return getMetadataImpl(KindID); 236 void setMetadata(unsigned KindID, MDNode *Node); 424 MDNode *getMetadataImpl(unsigned KindID) const;
|
/external/llvm/include/llvm/IR/ |
D | GlobalObject.h | 83 MDNode *getMetadata(unsigned KindID) const; 91 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 100 void setMetadata(unsigned KindID, MDNode *MD); 106 void addMetadata(unsigned KindID, MDNode &MD); 116 void eraseMetadata(unsigned KindID);
|
D | Instruction.h | 161 MDNode *getMetadata(unsigned KindID) const { 163 return getMetadataImpl(KindID); 197 void setMetadata(unsigned KindID, MDNode *Node); 330 MDNode *getMetadataImpl(unsigned KindID) const;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | GlobalObject.h | 86 MDNode *getMetadata(unsigned KindID) const; 94 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 103 void setMetadata(unsigned KindID, MDNode *MD); 109 void addMetadata(unsigned KindID, MDNode &MD); 119 void eraseMetadata(unsigned KindID);
|
D | Instruction.h | 175 MDNode *getMetadata(unsigned KindID) const { in getMetadata() argument 177 return getMetadataImpl(KindID); in getMetadata() 211 void setMetadata(unsigned KindID, MDNode *Node); 355 MDNode *getMetadataImpl(unsigned KindID) const;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | AttributeImpl.h | 39 unsigned char KindID; ///< Holds the AttrEntryKind of the attribute variable 48 AttributeImpl(AttrEntryKind KindID) : KindID(KindID) {} in AttributeImpl() argument 57 bool isEnumAttribute() const { return KindID == EnumAttrEntry; } in isEnumAttribute() 58 bool isIntAttribute() const { return KindID == IntAttrEntry; } in isIntAttribute() 59 bool isStringAttribute() const { return KindID == StringAttrEntry; } in isStringAttribute()
|
D | Metadata.cpp | 1226 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() argument 1231 if (KindID == LLVMContext::MD_dbg) { in setMetadata() 1243 Info.set(KindID, *Node); in setMetadata() 1256 Info.erase(KindID); in setMetadata() 1271 MDNode *Instruction::getMetadataImpl(unsigned KindID) const { in getMetadataImpl() 1273 if (KindID == LLVMContext::MD_dbg) in getMetadataImpl() 1281 return Info.lookup(KindID); in getMetadataImpl() 1382 void GlobalObject::getMetadata(unsigned KindID, in getMetadata() argument 1385 getContext().pImpl->GlobalObjectMetadata[this].get(KindID, MDs); in getMetadata() 1394 void GlobalObject::addMetadata(unsigned KindID, MDNode &MD) { in addMetadata() argument [all …]
|
D | Core.cpp | 134 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, in LLVMCreateEnumAttribute() argument 136 return wrap(Attribute::get(*unwrap(C), (Attribute::AttrKind)KindID, Val)); in LLVMCreateEnumAttribute() 843 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) { in LLVMGetMetadata() argument 846 if (auto *MD = I->getMetadata(KindID)) in LLVMGetMetadata() 865 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef Val) { in LLVMSetMetadata() argument 868 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata() 2120 unsigned KindID) { in LLVMGetEnumAttributeAtIndex() argument 2122 (Attribute::AttrKind)KindID)); in LLVMGetEnumAttributeAtIndex() 2132 unsigned KindID) { in LLVMRemoveEnumAttributeAtIndex() argument 2133 unwrap<Function>(F)->removeAttribute(Idx, (Attribute::AttrKind)KindID); in LLVMRemoveEnumAttributeAtIndex() [all …]
|
/external/llvm/lib/IR/ |
D | AttributeImpl.h | 37 unsigned char KindID; ///< Holds the AttrEntryKind of the attribute variable 50 AttributeImpl(AttrEntryKind KindID) : KindID(KindID) {} in AttributeImpl() argument 55 bool isEnumAttribute() const { return KindID == EnumAttrEntry; } in isEnumAttribute() 56 bool isIntAttribute() const { return KindID == IntAttrEntry; } in isIntAttribute() 57 bool isStringAttribute() const { return KindID == StringAttrEntry; } in isStringAttribute()
|
D | Metadata.cpp | 1203 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() argument 1208 if (KindID == LLVMContext::MD_dbg) { in setMetadata() 1220 Info.set(KindID, *Node); in setMetadata() 1233 Info.erase(KindID); in setMetadata() 1248 MDNode *Instruction::getMetadataImpl(unsigned KindID) const { in getMetadataImpl() 1250 if (KindID == LLVMContext::MD_dbg) in getMetadataImpl() 1258 return Info.lookup(KindID); in getMetadataImpl() 1347 void GlobalObject::getMetadata(unsigned KindID, in getMetadata() argument 1350 getContext().pImpl->GlobalObjectMetadata[this].get(KindID, MDs); in getMetadata() 1359 void GlobalObject::addMetadata(unsigned KindID, MDNode &MD) { in addMetadata() argument [all …]
|
D | Core.cpp | 134 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, in LLVMCreateEnumAttribute() argument 136 return wrap(Attribute::get(*unwrap(C), (Attribute::AttrKind)KindID, Val)); in LLVMCreateEnumAttribute() 665 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) { in LLVMGetMetadata() argument 668 if (auto *MD = I->getMetadata(KindID)) in LLVMGetMetadata() 687 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef Val) { in LLVMSetMetadata() argument 690 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata() 1849 unsigned KindID) { in LLVMGetEnumAttributeAtIndex() argument 1851 (Attribute::AttrKind)KindID)); in LLVMGetEnumAttributeAtIndex() 1861 unsigned KindID) { in LLVMRemoveEnumAttributeAtIndex() argument 1862 unwrap<Function>(F)->removeAttribute(Idx, (Attribute::AttrKind)KindID); in LLVMRemoveEnumAttributeAtIndex() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/ |
D | IRBindings.cpp | 49 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD) { in LLVMSetMetadata2() argument 51 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata2()
|
D | IRBindings.h | 45 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD);
|
/external/llvm/bindings/go/llvm/ |
D | IRBindings.cpp | 83 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD) { in LLVMSetMetadata2() argument 85 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata2()
|
D | IRBindings.h | 50 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD);
|
/external/llvm/include/llvm-c/ |
D | Core.h | 510 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, 2019 unsigned KindID); 2024 unsigned KindID); 2464 LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID); 2469 void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node); 2605 unsigned KindID); 2610 unsigned KindID);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/ |
D | Core.h | 562 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, 2266 unsigned KindID); 2271 unsigned KindID); 2690 LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID); 2695 void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node); 2832 unsigned KindID); 2837 unsigned KindID);
|
/external/llvm/utils/TableGen/ |
D | AsmMatcherEmitter.cpp | 1925 unsigned KindID = OperandConversionKinds.size(); in emitConvertFuncs() local 1931 ConversionTable.back().push_back(KindID); in emitConvertFuncs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | AsmMatcherEmitter.cpp | 2048 unsigned KindID = OperandConversionKinds.size(); in emitConvertFuncs() local 2054 ConversionTable.back().push_back(KindID); in emitConvertFuncs()
|