Searched defs:KindID (Results 1 - 5 of 5) sorted by relevance
/external/llvm/bindings/go/llvm/ |
H A D | IRBindings.cpp | 83 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD) { argument 85 unwrap<Instruction>(Inst)->setMetadata(KindID, N);
|
/external/llvm/lib/IR/ |
H A D | AttributeImpl.h | 37 unsigned char KindID; ///< Holds the AttrEntryKind of the attribute member in class:llvm::AttributeImpl 50 AttributeImpl(AttrEntryKind KindID) : KindID(KindID) {} argument 55 bool isEnumAttribute() const { return KindID == EnumAttrEntry; } 56 bool isIntAttribute() const { return KindID == IntAttrEntry; } 57 bool isStringAttribute() const { return KindID == StringAttrEntry; }
|
H A D | Core.cpp | 134 LLVMAttributeRef LLVMCreateEnumAttribute(LLVMContextRef C, unsigned KindID, argument 136 return wrap(Attribute::get(*unwrap(C), (Attribute::AttrKind)KindID, Val)); 665 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) { argument 668 if (auto *MD = I->getMetadata(KindID)) 687 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef Val) { argument 690 unwrap<Instruction>(Inst)->setMetadata(KindID, N); 1849 unsigned KindID) { 1851 (Attribute::AttrKind)KindID)); 1861 unsigned KindID) { 1862 unwrap<Function>(F)->removeAttribute(Idx, (Attribute::AttrKind)KindID); 1847 LLVMGetEnumAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, unsigned KindID) argument 1860 LLVMRemoveEnumAttributeAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx, unsigned KindID) argument 2219 LLVMGetCallSiteEnumAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, unsigned KindID) argument 2233 LLVMRemoveCallSiteEnumAttribute(LLVMValueRef C, LLVMAttributeIndex Idx, unsigned KindID) argument [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
H A D | Metadata.cpp | 440 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { argument 444 if (KindID == LLVMContext::MD_dbg) { 459 if (Info[i].first == KindID) { 466 Info.push_back(std::make_pair(KindID, Node)); 477 if (Info.size() == 1 && Info[0].first == KindID) { 485 if (Info[i].first == KindID) { 494 MDNode *Instruction::getMetadataImpl(unsigned KindID) const { 496 if (KindID == LLVMContext::MD_dbg) 506 if (I->first == KindID)
|
H A D | Core.cpp | 421 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) { argument 422 return wrap(unwrap<Instruction>(Inst)->getMetadata(KindID)); 425 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef MD) { argument 426 unwrap<Instruction>(Inst)->setMetadata(KindID, MD? unwrap<MDNode>(MD) : NULL);
|
Completed in 166 milliseconds