Searched refs:addSubst (Results 1 – 9 of 9) sorted by relevance
/external/llvm-project/mlir/unittests/TableGen/ |
D | FormatTest.cpp | 128 ctx.addSubst("m", ""); in TEST() 136 ctx.addSubst("m", "0 "); in TEST() 137 ctx.addSubst("m1", "1 "); in TEST() 138 ctx.addSubst("m2C", "2 "); in TEST() 139 ctx.addSubst("M_3", "3 "); in TEST()
|
/external/llvm-project/mlir/tools/mlir-tblgen/ |
D | TypeDefGen.cpp | 351 auto fmtCtxt = FmtContext().addSubst("_allocator", "allocator"); in emitParameterAllocationCode() 356 fmtCtxt.addSubst("_dst", parameter.getName()); in emitParameterAllocationCode() 458 auto fmtCtxt = FmtContext().addSubst("_printer", "printer"); in emitParserPrinter() 476 FmtContext().addSubst("_parser", "parser").addSubst("_ctxt", "ctxt"); in emitParserPrinter()
|
D | OpInterfacesGen.cpp | 114 nonStaticMethodFmt.addSubst("_attr", castCode).withSelf(castCode); in AttrInterfaceGenerator() 115 traitMethodFmt.addSubst("_attr", in AttrInterfaceGenerator() 140 nonStaticMethodFmt.addSubst("_type", castCode).withSelf(castCode); in TypeInterfaceGenerator() 141 traitMethodFmt.addSubst("_type", in TypeInterfaceGenerator()
|
D | OpDefinitionsGen.cpp | 341 ctx.addSubst(namedAttr.name, in populateSubstitutions() 349 ctx.addSubst(value.name, formatv("{0}({1})", operandGet, i)); in populateSubstitutions() 351 ctx.addSubst(value.name, formatv("(*{0}({1}).begin())", operandGet, i)); in populateSubstitutions() 361 ctx.addSubst(value.name, formatv("{0}({1})", resultGet, i)); in populateSubstitutions() 363 ctx.addSubst(value.name, formatv("(*{0}({1}).begin())", resultGet, i)); in populateSubstitutions() 599 .addSubst("_ctx", "ctx")) in genAttrGetters() 1205 fctx.addSubst("_state", builderOpState); in builderSignatureFromDAG() 1222 fctx.addSubst("_state", builderOpState); in builderSignatureFromString() 1803 fctx.addSubst("cppClass", opClass.getClassName()); in genParser() 1820 fctx.addSubst("cppClass", opClass.getClassName()); in genPrinter() [all …]
|
D | SPIRVUtilsGen.cpp | 1190 fctx.addSubst("overall", "tblgen_overall"); in emitAvailabilityImpl() 1238 &fctx.addSubst("instance", avail.getMergeInstance()))) in emitAvailabilityImpl() 1290 &fctx.addSubst("instance", "*tblgen_instance"))) in emitAvailabilityImpl()
|
D | RewriterGen.cpp | 285 fmt, &fmtCtx.addSubst("_loc", locToUse), opName, capture[0], capture[1], in emitNativeCodeMatch() 937 return std::string(tgfmt(fmt, &fmtCtx.addSubst("_loc", locToUse), attrs[0], in handleReplaceWithNativeCodeCall()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | converter_gen.cc | 508 verify_ctx.addSubst(value.name, formatv("op->getOperand({0})", i)); in RuntimeVerifierWriterMain() 516 verify_ctx.addSubst(value.name, formatv("op->getResult({0})", i)); in RuntimeVerifierWriterMain()
|
/external/llvm-project/mlir/lib/TableGen/ |
D | Format.cpp | 24 FmtContext &FmtContext::addSubst(StringRef placeholder, Twine subst) { in addSubst() function in FmtContext
|
/external/llvm-project/mlir/include/mlir/TableGen/ |
D | Format.h | 54 FmtContext &addSubst(StringRef placeholder, Twine subst);
|