Home
last modified time | relevance | path

Searched refs:KindID (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGlobalObject.h128 bool hasMetadata(unsigned KindID) const { in hasMetadata() argument
129 return getMetadata(KindID) != nullptr; in hasMetadata()
140 MDNode *getMetadata(unsigned KindID) const;
148 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const;
157 void setMetadata(unsigned KindID, MDNode *MD);
163 void addMetadata(unsigned KindID, MDNode &MD);
175 bool eraseMetadata(unsigned KindID);
DInstruction.h233 bool hasMetadata(unsigned KindID) const {
234 return getMetadata(KindID) != nullptr;
244 MDNode *getMetadata(unsigned KindID) const {
246 return getMetadataImpl(KindID);
280 void setMetadata(unsigned KindID, MDNode *Node);
465 MDNode *getMetadataImpl(unsigned KindID) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributeImpl.h39 unsigned char KindID; ///< Holds the AttrEntryKind of the attribute variable
49 AttributeImpl(AttrEntryKind KindID) : KindID(KindID) {} in AttributeImpl() argument
58 bool isEnumAttribute() const { return KindID == EnumAttrEntry; } in isEnumAttribute()
59 bool isIntAttribute() const { return KindID == IntAttrEntry; } in isIntAttribute()
60 bool isStringAttribute() const { return KindID == StringAttrEntry; } in isStringAttribute()
61 bool isTypeAttribute() const { return KindID == TypeAttrEntry; } in isTypeAttribute()
DMetadata.cpp1224 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() argument
1229 if (KindID == LLVMContext::MD_dbg) { in setMetadata()
1241 Info.set(KindID, *Node); in setMetadata()
1254 Info.erase(KindID); in setMetadata()
1270 MDNode *Instruction::getMetadataImpl(unsigned KindID) const { in getMetadataImpl()
1272 if (KindID == LLVMContext::MD_dbg) in getMetadataImpl()
1280 return Info.lookup(KindID); in getMetadataImpl()
1381 void GlobalObject::getMetadata(unsigned KindID, in getMetadata() argument
1384 getContext().pImpl->GlobalObjectMetadata[this].get(KindID, MDs); in getMetadata()
1393 void GlobalObject::addMetadata(unsigned KindID, MDNode &MD) { in addMetadata() argument
[all …]
DCore.cpp141 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, in LLVMCreateEnumAttribute() argument
144 auto AttrKind = (Attribute::AttrKind)KindID; in LLVMCreateEnumAttribute()
863 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) { in LLVMGetMetadata() argument
866 if (auto *MD = I->getMetadata(KindID)) in LLVMGetMetadata()
885 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef Val) { in LLVMSetMetadata() argument
888 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata()
2407 unsigned KindID) { in LLVMGetEnumAttributeAtIndex() argument
2409 (Attribute::AttrKind)KindID)); in LLVMGetEnumAttributeAtIndex()
2419 unsigned KindID) { in LLVMRemoveEnumAttributeAtIndex() argument
2420 unwrap<Function>(F)->removeAttribute(Idx, (Attribute::AttrKind)KindID); in LLVMRemoveEnumAttributeAtIndex()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalObject.h86 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);
DInstruction.h175 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;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DInstructionSimplify.h65 MDNode *getMetadata(const Instruction *I, unsigned KindID) const { in getMetadata()
67 return I->getMetadata(KindID); in getMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h589 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID,
2524 unsigned KindID);
2529 unsigned KindID);
3071 LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID);
3076 void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node);
3232 unsigned KindID);
3237 unsigned KindID);