Searched refs:MDWrapper (Results 1 – 2 of 2) sorted by relevance
53 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 { struct69 MDWrapper(ParentT &Parent, SPIRVMDBuilder &Builder) in MDWrapper() function71 MDWrapper &add(unsigned I) { in add() argument75 MDWrapper &addU16(unsigned short I) { in addU16() argument79 MDWrapper &add(StringRef S) { in add() argument83 MDWrapper &add(Function *F) { in add() argument[all …]
53 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 { struct86 MDWrapper(MDNode *Node, ParentT &Parent, SPIRVMDWalker &Walker) in MDWrapper() function96 MDWrapper &get(T &V) { in get() argument106 MDWrapper &get(std::string &S) { in get() argument121 MDWrapper &get(Function *&F) { in get() argument130 MDWrapper &get(SmallVectorImpl<std::string> &SV) { in get() argument141 MDWrapper<MDWrapper> nextOp() { in nextOp() argument[all …]