Lines Matching refs:fmtCtx
251 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()
1238 auto repl = tgfmt(leaf.getNativeCodeTemplate(), &fmtCtx.withSelf(argName)); in handleOpArgument()
1273 std::string symbol = tgfmt(fmt, &fmtCtx.addSubst("_loc", locToUse), in handleReplaceWithNativeCodeCall()
1557 tgfmt(leaf.getNativeCodeTemplate(), &fmtCtx.withSelf(symbol))); in createSeparateLocalVarsForOpArgs()
1679 tgfmt(leaf.getNativeCodeTemplate(), &fmtCtx.withSelf(symbol))); in createAggregateLocalVarsForOpArgs()