Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DRewriterGen.cpp251 FmtContext fmtCtx; member in __anon7a36dead0111::PatternEmitter
337 fmtCtx.withBuilder("rewriter"); in PatternEmitter()
347 return std::string(tgfmt(attr.getConstBuilderTemplate(), &fmtCtx, value)); in handleConstantAttr()
490 tgfmt(fmt, &fmtCtx.addSubst("_loc", locToUse).withSelf(opName.str()), in emitNativeCodeMatch()
771 << std::string(tgfmt(attr.getConstBuilderTemplate(), &fmtCtx, in emitAttributeMatch()
779 emitMatchCheck(opName, tgfmt("tblgen_attr", &fmtCtx), in emitAttributeMatch()
861 opName, tgfmt(condition, &fmtCtx.withSelf(self.str())), in emitMatchLogic()
884 tgfmt(condition, &fmtCtx.withSelf(self), names[0], in emitMatchLogic()
1207 return tgfmt(dagLeaf.getStringAttr(), &fmtCtx); in handleReturnTypeArg()
1209 "$0.getType()", &fmtCtx, in handleReturnTypeArg()
[all …]