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

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

Completed in 214 milliseconds