Home
last modified time | relevance | path

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

/external/llvm-project/mlir/unittests/TableGen/
DFormatTest.cpp61 std::string(tgfmt("$$ $$$$ $$$0 $$$_self", &ctx.withSelf("self"), "-0")); in TEST()
97 std::string result = std::string(tgfmt("$_self", &ctx.withSelf("sss"))); in TEST()
156 &ctx.withSelf("sss"), "a", "b")); in TEST()
/external/llvm-project/mlir/tools/mlir-tblgen/
DRewriterGen.cpp314 tgfmt(constraint.getConditionTemplate(), &fmtCtx.withSelf(self)), in emitNativeCodeMatch()
424 tgfmt(constraint.getConditionTemplate(), &fmtCtx.withSelf(self)), in emitOperandMatch()
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()
1141 tgfmt(leaf.getNativeCodeTemplate(), &fmtCtx.withSelf(symbol))); in createSeparateLocalVarsForOpArgs()
1257 tgfmt(leaf.getNativeCodeTemplate(), &fmtCtx.withSelf(symbol))); in createAggregateLocalVarsForOpArgs()
DOpInterfacesGen.cpp114 nonStaticMethodFmt.addSubst("_attr", castCode).withSelf(castCode); in AttrInterfaceGenerator()
127 nonStaticMethodFmt.withOp(castCode).withSelf(castCode); in OpInterfaceGenerator()
140 nonStaticMethodFmt.addSubst("_type", castCode).withSelf(castCode); in TypeInterfaceGenerator()
DOpDefinitionsGen.cpp430 /*ctx=*/nullptr, tgfmt(condition, &ctx.withSelf(varName)), in genAttributeVerifier()
507 &fctx.withSelf(defaultValue)) in genAttrGetters()
511 << tgfmt(attr.getConvertFromStorageCall(), &fctx.withSelf("attr")) in genAttrGetters()
597 << tgfmt(tmpl, &fctx.withSelf(namedAttr.name + "()") in genAttrGetters()
1905 &fctx.withSelf("v.getType()")) in genOperandResultVerifier()
1940 &verifyCtx.withSelf("region")) in genRegionVerifier()
1980 &verifyCtx.withSelf("successor")) in genSuccessorVerifier()
DStructsGen.cpp195 std::string(tgfmt(type.getConditionTemplate(), &fctx.withSelf(name))); in emitClassofDef()
DTypeDefGen.cpp355 fmtCtxt.withSelf(parameter.getName()); in emitParameterAllocationCode()
DOpFormatGen.cpp1244 &verifierFCtx.withSelf("type")) in genParserTypeResolution()
1268 body << tgfmt(*tform, &FmtContext().withSelf(var->name + "Types[0]")); in genParserTypeResolution()
1274 &FmtContext().withSelf(attr->name + "Attr.getType()")); in genParserTypeResolution()
/external/llvm-project/mlir/lib/TableGen/
DFormat.cpp39 FmtContext &FmtContext::withSelf(Twine subst) { in withSelf() function in FmtContext
/external/llvm-project/mlir/include/mlir/TableGen/
DFormat.h59 FmtContext &withSelf(Twine subst);
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dconverter_gen.cc469 << tgfmt(pred.getCondition(), &fctx.withSelf("v.getType()")) << ")) {\n" in GenOperandResultVerifier()