Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DAttributeImpl.h33 unsigned char KindID; ///< Holds the AttrEntryKind of the attribute variable
46 AttributeImpl(AttrEntryKind KindID) : KindID(KindID) {} in AttributeImpl() argument
51 bool isEnumAttribute() const { return KindID == EnumAttrEntry; } in isEnumAttribute()
52 bool isAlignAttribute() const { return KindID == AlignAttrEntry; } in isAlignAttribute()
53 bool isStringAttribute() const { return KindID == StringAttrEntry; } in isStringAttribute()
DMetadata.cpp634 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() argument
638 if (KindID == LLVMContext::MD_dbg) { in setMetadata()
653 if (P.first == KindID) { in setMetadata()
660 Info.push_back(std::make_pair(KindID, Node)); in setMetadata()
673 if (Info.size() == 1 && Info[0].first == KindID) { in setMetadata()
681 if (Info[i].first == KindID) { in setMetadata()
690 MDNode *Instruction::getMetadataImpl(unsigned KindID) const { in getMetadataImpl()
692 if (KindID == LLVMContext::MD_dbg) in getMetadataImpl()
701 if (I.first == KindID) in getMetadataImpl()
DCore.cpp556 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) { in LLVMGetMetadata() argument
557 return wrap(unwrap<Instruction>(Inst)->getMetadata(KindID)); in LLVMGetMetadata()
560 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef MD) { in LLVMSetMetadata() argument
561 unwrap<Instruction>(Inst)->setMetadata(KindID, in LLVMSetMetadata()
/external/llvm/include/llvm/IR/
DInstruction.h143 MDNode *getMetadata(unsigned KindID) const { in getMetadata() argument
145 return getMetadataImpl(KindID); in getMetadata()
174 void setMetadata(unsigned KindID, MDNode *Node);
259 MDNode *getMetadataImpl(unsigned KindID) const;
/external/llvm/lib/Target/R600/
DAMDGPUISelLowering.cpp44 static int KindID; member in __anonb98173480111::DiagnosticInfoUnsupported
47 if (KindID == 0) in getKindID()
48 KindID = llvm::getNextAvailablePluginDiagnosticKind(); in getKindID()
49 return KindID; in getKindID()
71 int DiagnosticInfoUnsupported::KindID = 0; member in __anonb98173480111::DiagnosticInfoUnsupported
/external/llvm/include/llvm-c/
DCore.h2319 LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID);
2324 void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node);
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp1786 unsigned KindID = OperandConversionKinds.size(); in emitConvertFuncs() local
1792 ConversionTable.back().push_back(KindID); in emitConvertFuncs()