Searched refs:withSelf (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/mlir/unittests/TableGen/ |
D | FormatTest.cpp | 61 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/ |
D | RewriterGen.cpp | 314 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()
|
D | OpInterfacesGen.cpp | 114 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()
|
D | OpDefinitionsGen.cpp | 430 /*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()
|
D | StructsGen.cpp | 195 std::string(tgfmt(type.getConditionTemplate(), &fctx.withSelf(name))); in emitClassofDef()
|
D | TypeDefGen.cpp | 355 fmtCtxt.withSelf(parameter.getName()); in emitParameterAllocationCode()
|
D | OpFormatGen.cpp | 1244 &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/ |
D | Format.cpp | 39 FmtContext &FmtContext::withSelf(Twine subst) { in withSelf() function in FmtContext
|
/external/llvm-project/mlir/include/mlir/TableGen/ |
D | Format.h | 59 FmtContext &withSelf(Twine subst);
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | converter_gen.cc | 469 << tgfmt(pred.getCondition(), &fctx.withSelf("v.getType()")) << ")) {\n" in GenOperandResultVerifier()
|