Home
last modified time | relevance | path

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

/external/spirv-llvm/lib/SPIRV/
DSPIRVMDBuilder.h53 template<typename ParentT> struct MDWrapper;
57 MDWrapper<NamedMDWrapper> addOp() { in addOp()
58 return MDWrapper<NamedMDWrapper>(*this, B); in addOp()
60 NamedMDWrapper &addOp(MDWrapper<NamedMDWrapper> &MD) { in addOp()
68 struct MDWrapper { struct
69 MDWrapper(ParentT &Parent, SPIRVMDBuilder &Builder) in MDWrapper() function
71 MDWrapper &add(unsigned I) { in add() argument
75 MDWrapper &addU16(unsigned short I) { in addU16() argument
79 MDWrapper &add(StringRef S) { in add() argument
83 MDWrapper &add(Function *F) { in add() argument
[all …]
DSPIRVMDWalker.h53 template<typename ParentT> struct MDWrapper;
65 MDWrapper<NamedMDWrapper> nextOp() { in nextOp()
68 return MDWrapper<NamedMDWrapper>((NMD && I < E) ? NMD->getOperand(I++) in nextOp()
85 struct MDWrapper { struct
86 MDWrapper(MDNode *Node, ParentT &Parent, SPIRVMDWalker &Walker) in MDWrapper() function
96 MDWrapper &get(T &V) { in get() argument
106 MDWrapper &get(std::string &S) { in get() argument
121 MDWrapper &get(Function *&F) { in get() argument
130 MDWrapper &get(SmallVectorImpl<std::string> &SV) { in get() argument
141 MDWrapper<MDWrapper> nextOp() { in nextOp() argument
[all …]