Home
last modified time | relevance | path

Searched refs:recordKeeper (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/mlir/include/mlir/TableGen/
DGenInfo.h23 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/
DSPIRVUtilsGen.cpp178 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 …]
DDialectGen.cpp189 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()
DOpDocGen.cpp143 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()
DTypeDefGen.cpp36 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()
DOpenMPCommonGen.cpp42 static bool emitDecls(const RecordKeeper &recordKeeper, raw_ostream &os) { in emitDecls() argument
43 const auto &clauses = recordKeeper.getAllDerivedDefinitions("Clause"); in emitDecls()
DLLVMIRConversionGen.cpp167 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()
DStructsGen.cpp99 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()
DPassDocGen.cpp59 static void emitDocs(const llvm::RecordKeeper &recordKeeper, raw_ostream &os) { in emitDocs() argument
61 auto passDefs = recordKeeper.getAllDerivedDefinitions("PassBase"); in emitDocs()
DPassGen.cpp186 static void emitDecls(const llvm::RecordKeeper &recordKeeper, raw_ostream &os) { in emitDecls() argument
189 for (const auto *def : recordKeeper.getAllDerivedDefinitions("PassBase")) in emitDecls()
DEnumsGen.cpp402 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()
DOpInterfacesGen.cpp61 getAllOpInterfaceDefinitions(const llvm::RecordKeeper &recordKeeper) { in getAllOpInterfaceDefinitions() argument
63 recordKeeper.getAllDerivedDefinitions("OpInterface"); in getAllOpInterfaceDefinitions()
DOpDefinitionsGen.cpp2305 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()
DRewriterGen.cpp1267 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/
DOperator.cpp264 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()