Home
last modified time | relevance | path

Searched refs:NamedMDWrapper (Results 1 – 2 of 2) sorted by relevance

/external/spirv-llvm/lib/SPIRV/
DSPIRVMDBuilder.h54 struct NamedMDWrapper { struct
55 NamedMDWrapper(NamedMDNode &Named, SPIRVMDBuilder& BB) in NamedMDWrapper() argument
57 MDWrapper<NamedMDWrapper> addOp() { in addOp() argument
58 return MDWrapper<NamedMDWrapper>(*this, B); in addOp()
60 NamedMDWrapper &addOp(MDWrapper<NamedMDWrapper> &MD) { in addOp() argument
117 NamedMDWrapper addNamedMD(StringRef Name) { in addNamedMD()
118 return NamedMDWrapper(*M.getOrInsertNamedMetadata(Name), *this); in addNamedMD()
125 friend struct NamedMDWrapper;
DSPIRVMDWalker.h55 struct NamedMDWrapper { struct
56 NamedMDWrapper(NamedMDNode *Named, SPIRVMDWalker& WW) in NamedMDWrapper() function
65 MDWrapper<NamedMDWrapper> nextOp() { in nextOp() argument
68 return MDWrapper<NamedMDWrapper>((NMD && I < E) ? NMD->getOperand(I++) in nextOp()
72 NamedMDWrapper &setQuiet(bool Quiet) { in setQuiet() argument
168 NamedMDWrapper getNamedMD(StringRef Name) { in getNamedMD()
169 return NamedMDWrapper(M.getNamedMetadata(Name), *this); in getNamedMD()
172 friend struct NamedMDWrapper;