/external/llvm-project/mlir/include/mlir/TableGen/ |
D | GenInfo.h | 23 using GenFunction = std::function<bool(const llvm::RecordKeeper &recordKeeper, 36 bool invoke(const llvm::RecordKeeper &recordKeeper, raw_ostream &os) const { in invoke() argument 38 return generator(recordKeeper, os); in invoke()
|
/external/llvm-project/mlir/tools/mlir-tblgen/ |
D | SPIRVUtilsGen.cpp | 178 static bool emitInterfaceDefs(const RecordKeeper &recordKeeper, in emitInterfaceDefs() argument 182 auto defs = recordKeeper.getAllDerivedDefinitions("Availability"); in emitInterfaceDefs() 257 static bool emitInterfaceDecls(const RecordKeeper &recordKeeper, in emitInterfaceDecls() argument 261 auto defs = recordKeeper.getAllDerivedDefinitions("Availability"); in emitInterfaceDecls() 421 static bool emitEnumDecls(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitEnumDecls() argument 424 auto defs = recordKeeper.getAllDerivedDefinitions("EnumAttrInfo"); in emitEnumDecls() 452 static bool emitEnumDefs(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitEnumDefs() argument 455 auto defs = recordKeeper.getAllDerivedDefinitions("EnumAttrInfo"); in emitEnumDefs() 1021 emitExtendedSetDeserializationDispatch(const RecordKeeper &recordKeeper, in emitExtendedSetDeserializationDispatch() argument 1038 auto defs = recordKeeper.getAllDerivedDefinitions("SPV_ExtInstOp"); in emitExtendedSetDeserializationDispatch() [all …]
|
D | DialectGen.cpp | 189 static bool emitDialectDecls(const llvm::RecordKeeper &recordKeeper, in emitDialectDecls() argument 193 auto defs = recordKeeper.getAllDerivedDefinitions("Dialect"); in emitDialectDecls() 216 auto attrDefs = recordKeeper.getAllDerivedDefinitions("DialectAttr"); in emitDialectDecls() 217 auto typeDefs = recordKeeper.getAllDerivedDefinitions("DialectType"); in emitDialectDecls()
|
D | OpDocGen.cpp | 143 static void emitOpDoc(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitOpDoc() argument 144 auto opDefs = recordKeeper.getAllDerivedDefinitions("Op"); in emitOpDoc() 248 static void emitDialectDoc(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitDialectDoc() argument 249 const auto &opDefs = recordKeeper.getAllDerivedDefinitions("Op"); in emitDialectDoc() 250 const auto &typeDefs = recordKeeper.getAllDerivedDefinitions("DialectType"); in emitDialectDoc() 251 const auto &typeDefDefs = recordKeeper.getAllDerivedDefinitions("TypeDef"); in emitDialectDoc()
|
D | TypeDefGen.cpp | 36 static void findAllTypeDefs(const llvm::RecordKeeper &recordKeeper, in findAllTypeDefs() argument 38 auto recDefs = recordKeeper.getAllDerivedDefinitions("TypeDef"); in findAllTypeDefs() 243 static bool emitTypeDefDecls(const llvm::RecordKeeper &recordKeeper, in emitTypeDefDecls() argument 248 findAllTypeDefs(recordKeeper, typeDefs); in emitTypeDefDecls() 568 static bool emitTypeDefDefs(const llvm::RecordKeeper &recordKeeper, in emitTypeDefDefs() argument 573 findAllTypeDefs(recordKeeper, typeDefs); in emitTypeDefDefs()
|
D | OpenMPCommonGen.cpp | 42 static bool emitDecls(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitDecls() argument 43 const auto &clauses = recordKeeper.getAllDerivedDefinitions("Clause"); in emitDecls()
|
D | LLVMIRConversionGen.cpp | 167 static bool emitBuilders(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitBuilders() argument 168 for (const auto *def : recordKeeper.getAllDerivedDefinitions("LLVM_OpBase")) { in emitBuilders() 274 static bool emitEnumConversionDefs(const RecordKeeper &recordKeeper, in emitEnumConversionDefs() argument 276 for (const auto *def : recordKeeper.getAllDerivedDefinitions("LLVM_EnumAttr")) in emitEnumConversionDefs()
|
D | StructsGen.cpp | 99 static bool emitStructDecls(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitStructDecls() argument 102 auto defs = recordKeeper.getAllDerivedDefinitions("StructAttr"); in emitStructDecls() 285 static bool emitStructDefs(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitStructDefs() argument 288 auto defs = recordKeeper.getAllDerivedDefinitions("StructAttr"); in emitStructDefs()
|
D | PassDocGen.cpp | 59 static void emitDocs(const llvm::RecordKeeper &recordKeeper, raw_ostream &os) { in emitDocs() argument 61 auto passDefs = recordKeeper.getAllDerivedDefinitions("PassBase"); in emitDocs()
|
D | PassGen.cpp | 186 static void emitDecls(const llvm::RecordKeeper &recordKeeper, raw_ostream &os) { in emitDecls() argument 189 for (const auto *def : recordKeeper.getAllDerivedDefinitions("PassBase")) in emitDecls()
|
D | EnumsGen.cpp | 402 static bool emitEnumDecls(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitEnumDecls() argument 405 auto defs = recordKeeper.getAllDerivedDefinitions("EnumAttrInfo"); in emitEnumDecls() 437 static bool emitEnumDefs(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitEnumDefs() argument 440 auto defs = recordKeeper.getAllDerivedDefinitions("EnumAttrInfo"); in emitEnumDefs()
|
D | OpInterfacesGen.cpp | 61 getAllOpInterfaceDefinitions(const llvm::RecordKeeper &recordKeeper) { in getAllOpInterfaceDefinitions() argument 63 recordKeeper.getAllDerivedDefinitions("OpInterface"); in getAllOpInterfaceDefinitions()
|
D | OpDefinitionsGen.cpp | 2305 getAllDerivedDefinitions(const RecordKeeper &recordKeeper, in getAllDerivedDefinitions() argument 2307 Record *classDef = recordKeeper.getClass(className); in getAllDerivedDefinitions() 2313 for (const auto &def : recordKeeper.getDefs()) { in getAllDerivedDefinitions() 2330 static bool emitOpDecls(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitOpDecls() argument 2333 const auto &defs = getAllDerivedDefinitions(recordKeeper, "Op"); in emitOpDecls() 2339 static bool emitOpDefs(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitOpDefs() argument 2342 const auto &defs = getAllDerivedDefinitions(recordKeeper, "Op"); in emitOpDefs()
|
D | RewriterGen.cpp | 1267 static void emitRewriters(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitRewriters() argument 1270 const auto &patterns = recordKeeper.getAllDerivedDefinitions("Pattern"); in emitRewriters()
|
/external/llvm-project/mlir/lib/TableGen/ |
D | Operator.cpp | 264 auto &recordKeeper = def.getRecords(); in populateTypeInferenceInfo() local 265 auto *inferTrait = recordKeeper.getDef(inferTypeOpInterface); in populateTypeInferenceInfo() 351 auto &recordKeeper = def.getRecords(); in populateOpStructure() local 352 auto *typeConstraintClass = recordKeeper.getClass("TypeConstraint"); in populateOpStructure() 353 auto *attrClass = recordKeeper.getClass("Attr"); in populateOpStructure() 354 auto *derivedAttrClass = recordKeeper.getClass("DerivedAttr"); in populateOpStructure() 355 auto *opVarClass = recordKeeper.getClass("OpVariable"); in populateOpStructure()
|