Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DAMDGPUDiagnosticInfoUnsupported.h24 static int KindID; variable
27 if (KindID == 0) in getKindID()
28 KindID = llvm::getNextAvailablePluginDiagnosticKind(); in getKindID()
29 return KindID; in getKindID()
DAMDGPUDiagnosticInfoUnsupported.cpp22 int DiagnosticInfoUnsupported::KindID = 0; member in DiagnosticInfoUnsupported
/external/llvm/lib/IR/
DAttributeImpl.h34 unsigned char KindID; ///< Holds the AttrEntryKind of the attribute variable
47 AttributeImpl(AttrEntryKind KindID) : KindID(KindID) {} in AttributeImpl() argument
52 bool isEnumAttribute() const { return KindID == EnumAttrEntry; } in isEnumAttribute()
53 bool isIntAttribute() const { return KindID == IntAttrEntry; } in isIntAttribute()
54 bool isStringAttribute() const { return KindID == StringAttrEntry; } in isStringAttribute()
DMetadata.cpp1104 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() argument
1109 if (KindID == LLVMContext::MD_dbg) { in setMetadata()
1121 Info.set(KindID, *Node); in setMetadata()
1134 Info.erase(KindID); in setMetadata()
1149 MDNode *Instruction::getMetadataImpl(unsigned KindID) const { in getMetadataImpl()
1151 if (KindID == LLVMContext::MD_dbg) in getMetadataImpl()
1159 return Info.lookup(KindID); in getMetadataImpl()
1200 MDNode *Function::getMetadata(unsigned KindID) const { in getMetadata()
1203 return getContext().pImpl->FunctionMetadata[this].lookup(KindID); in getMetadata()
1212 void Function::setMetadata(unsigned KindID, MDNode *MD) { in setMetadata() argument
[all …]
DCore.cpp574 LLVMValueRef LLVMGetMetadata(LLVMValueRef Inst, unsigned KindID) { in LLVMGetMetadata() argument
577 if (auto *MD = I->getMetadata(KindID)) in LLVMGetMetadata()
596 void LLVMSetMetadata(LLVMValueRef Inst, unsigned KindID, LLVMValueRef Val) { in LLVMSetMetadata() argument
599 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata()
/external/llvm/include/llvm/IR/
DInstruction.h166 MDNode *getMetadata(unsigned KindID) const {
168 return getMetadataImpl(KindID);
203 void setMetadata(unsigned KindID, MDNode *Node);
299 MDNode *getMetadataImpl(unsigned KindID) const;
DFunction.h604 MDNode *getMetadata(unsigned KindID) const;
613 void setMetadata(unsigned KindID, MDNode *MD);
/external/llvm/bindings/go/llvm/
DIRBindings.cpp83 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD) { in LLVMSetMetadata2() argument
85 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata2()
DIRBindings.h50 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD);
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp50 static int KindID; member in __anon030028480111::DiagnosticInfoUnsupported
53 if (KindID == 0) in getKindID()
54 KindID = llvm::getNextAvailablePluginDiagnosticKind(); in getKindID()
55 return KindID; in getKindID()
90 int DiagnosticInfoUnsupported::KindID = 0; member in __anon030028480111::DiagnosticInfoUnsupported
/external/llvm/lib/Target/BPF/
DBPFISelLowering.cpp48 static int KindID; member in __anon298b2cbc0111::DiagnosticInfoUnsupported
51 if (KindID == 0) in getKindID()
52 KindID = llvm::getNextAvailablePluginDiagnosticKind(); in getKindID()
53 return KindID; in getKindID()
88 int DiagnosticInfoUnsupported::KindID = 0; member in __anon298b2cbc0111::DiagnosticInfoUnsupported
/external/llvm/include/llvm-c/
DCore.h2294 LLVMValueRef LLVMGetMetadata(LLVMValueRef Val, unsigned KindID);
2299 void LLVMSetMetadata(LLVMValueRef Val, unsigned KindID, LLVMValueRef Node);
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp1816 unsigned KindID = OperandConversionKinds.size(); in emitConvertFuncs() local
1822 ConversionTable.back().push_back(KindID); in emitConvertFuncs()