Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DMetadata.cpp623 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() argument
627 if (KindID == LLVMContext::MD_dbg) { in setMetadata()
642 if (Info[i].first == KindID) { in setMetadata()
649 Info.push_back(std::make_pair(KindID, Node)); in setMetadata()
662 if (Info.size() == 1 && Info[0].first == KindID) { in setMetadata()
670 if (Info[i].first == KindID) { in setMetadata()
679 MDNode *Instruction::getMetadataImpl(unsigned KindID) const { in getMetadataImpl()
681 if (KindID == LLVMContext::MD_dbg) in getMetadataImpl()
691 if (I->first == KindID) in getMetadataImpl()
DAttributeImpl.h35 unsigned char KindID; variable
44 : KindID(Kind) {} in AttributeEntry()
47 unsigned getKindID() const { return KindID; } in getKindID()
DCore.cpp455 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) { in LLVMGetMetadata() argument
456 return wrap(unwrap<Instruction>(Inst)->getMetadata(KindID)); in LLVMGetMetadata()
459 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef MD) { in LLVMSetMetadata() argument
460 unwrap<Instruction>(Inst)->setMetadata(KindID, MD? unwrap<MDNode>(MD) : NULL); in LLVMSetMetadata()
/external/llvm/include/llvm/IR/
DInstruction.h140 MDNode *getMetadata(unsigned KindID) const { in getMetadata() argument
142 return getMetadataImpl(KindID); in getMetadata()
171 void setMetadata(unsigned KindID, MDNode *Node);
241 MDNode *getMetadataImpl(unsigned KindID) const;
/external/llvm/include/llvm-c/
DCore.h2120 LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID);
2125 void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node);
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp1760 unsigned KindID = OperandConversionKinds.size(); in emitConvertFuncs() local
1766 ConversionTable.back().push_back(KindID); in emitConvertFuncs()