Searched refs:strfmt (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | AttrOrTypeDefGen.cpp | 201 ParentClass defParent(strfmt("::mlir::{0}::{1}Base", valueType, defType)); in createParentWithTraits() 207 : strfmt("::mlir::{0}Storage", valueType)); in createParentWithTraits() 471 ctx.addSubst(strfmt("_{0}", param.getName()), param.getName()); in emitStorageConstructor() 523 strfmt("{0} *", def.getStorageClassName()), "construct", in emitConstruct() 526 MethodParameter(strfmt("::mlir::{0}StorageAllocator &", valueType), in emitConstruct() 544 body.scope(strfmt("return new (allocator.allocate<{0}>()) {0}(", in emitConstruct() 554 storageCls->addParent(strfmt("::mlir::{0}Storage", valueType)); in emitStorageClass() 793 params.emplace_back(strfmt("::mlir::{0} &", valueType), "value"); in emitParsePrintDispatch() 800 {{strfmt("::mlir::{0}", valueType), "def"}, in emitParsePrintDispatch() 829 std::string defClass = strfmt( in emitParsePrintDispatch() [all …]
|
| H A D | AttrOrTypeFormatGen.cpp | 530 os.getStream().printReindented(strfmt(checkOptionalParam, in genStructParser() 537 os.getStream().printReindented(strfmt(loopEnd, tgfmt(parserErrorStr, &ctx))); in genStructParser() 573 strfmt(checkParam, param->getName(), tgfmt(parserErrorStr, &ctx))); in genStructParser() 581 os.getStream().printReindented(strfmt(loopTerminator, el->getNumParams())); in genStructParser()
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | CodeGenHelpers.h | 34 std::string strfmt(const char *fmt, Parameters &&...parameters) { in strfmt() function
|