Lines Matching refs:fmtCtx
205 FmtContext fmtCtx; member in __anon1c196a6d0111::PatternEmitter
216 fmtCtx.withBuilder("rewriter"); in PatternEmitter()
226 return std::string(tgfmt(attr.getConstBuilderTemplate(), &fmtCtx, value)); in handleConstantAttr()
285 fmt, &fmtCtx.addSubst("_loc", locToUse), opName, capture[0], capture[1], in emitNativeCodeMatch()
314 tgfmt(constraint.getConditionTemplate(), &fmtCtx.withSelf(self)), in emitNativeCodeMatch()
424 tgfmt(constraint.getConditionTemplate(), &fmtCtx.withSelf(self)), in emitOperandMatch()
463 << std::string(tgfmt(attr.getConstBuilderTemplate(), &fmtCtx, in emitAttributeMatch()
471 emitMatchCheck(opName, tgfmt("tblgen_attr", &fmtCtx), in emitAttributeMatch()
490 tgfmt(matcher.getConditionTemplate(), &fmtCtx.withSelf("tblgen_attr")), in emitAttributeMatch()
537 opName, tgfmt(condition, &fmtCtx.withSelf(self.str())), in emitMatchLogic()
560 tgfmt(condition, &fmtCtx.withSelf(self), names[0], in emitMatchLogic()
902 auto repl = tgfmt(leaf.getNativeCodeTemplate(), &fmtCtx.withSelf(argName)); in handleOpArgument()
937 return std::string(tgfmt(fmt, &fmtCtx.addSubst("_loc", locToUse), attrs[0], in handleReplaceWithNativeCodeCall()
1141 tgfmt(leaf.getNativeCodeTemplate(), &fmtCtx.withSelf(symbol))); in createSeparateLocalVarsForOpArgs()
1257 tgfmt(leaf.getNativeCodeTemplate(), &fmtCtx.withSelf(symbol))); in createAggregateLocalVarsForOpArgs()