HomeSort by relevance Sort by last modified time
    Searched refs:KindID (Results 1 - 6 of 6) sorted by null

  /external/llvm/include/llvm/IR/
Instruction.h 140 MDNode *getMetadata(unsigned KindID) const {
142 return getMetadataImpl(KindID);
153 /// element of each pair returned is the KindID, the second element is the
154 /// metadata value. This list is returned sorted by the KindID.
171 void setMetadata(unsigned KindID, MDNode *Node);
241 MDNode *getMetadataImpl(unsigned KindID) const;
  /external/llvm/lib/IR/
Metadata.cpp 623 void Instruction::setMetadata(unsigned KindID, MDNode *Node) {
627 if (KindID == LLVMContext::MD_dbg) {
642 if (Info[i].first == KindID) {
649 Info.push_back(std::make_pair(KindID, Node));
662 if (Info.size() == 1 && Info[0].first == KindID) {
670 if (Info[i].first == KindID) {
679 MDNode *Instruction::getMetadataImpl(unsigned KindID) const {
681 if (KindID == LLVMContext::MD_dbg)
691 if (I->first == KindID)
AttributeImpl.h 35 unsigned char KindID;
44 : KindID(Kind) {}
47 unsigned getKindID() const { return KindID; }
Core.cpp 455 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) {
456 return wrap(unwrap<Instruction>(Inst)->getMetadata(KindID));
459 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef MD) {
460 unwrap<Instruction>(Inst)->setMetadata(KindID, MD? unwrap<MDNode>(MD) : NULL);
    [all...]
  /external/llvm/include/llvm-c/
Core.h     [all...]
  /external/llvm/utils/TableGen/
AsmMatcherEmitter.cpp     [all...]

Completed in 892 milliseconds