Home
last modified time | relevance | path

Searched refs:IfDefScope (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDirectiveEmitter.cpp26 class IfDefScope { class
33 ~IfDefScope() { OS << "\n#endif // " << Name << "\n\n"; } in ~IfDefScope()
456 IfDefScope Scope("GEN_FLANG_DIRECTIVE_CLAUSE_SETS", OS); in GenerateDirectiveClauseSets()
496 IfDefScope Scope("GEN_FLANG_DIRECTIVE_CLAUSE_MAP", OS); in GenerateDirectiveClauseMap()
531 IfDefScope Scope("GEN_FLANG_CLAUSE_PARSER_CLASSES", OS); in GenerateFlangClauseParserClass()
587 IfDefScope Scope("GEN_FLANG_CLAUSE_UNPARSE", OS); in GenerateFlangClauseUnparse()
639 IfDefScope Scope("GEN_FLANG_CLAUSE_CHECK_ENTER", OS); in GenerateFlangClauseCheckPrototypes()
654 IfDefScope Scope("GEN_FLANG_CLAUSE_PARSER_KIND_MAP", OS); in GenerateFlangClauseParserKindMap()
685 IfDefScope Scope("GEN_FLANG_CLAUSES_PARSER", OS); in GenerateFlangClausesParser()
778 IfDefScope Scope("GEN_CLANG_CLAUSE_CLASS", OS); in GenerateClauseClassMacro()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DCodeGenHelpers.h39 class IfDefScope {
41 IfDefScope(llvm::StringRef name, llvm::raw_ostream &os) in IfDefScope() function
46 ~IfDefScope() { os << "\n#endif // " << name << "\n\n"; } in ~IfDefScope()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DAttrOrTypeDefGen.cpp638 IfDefScope scope("GET_" + defType.upper() + "DEF_CLASSES", os); in emitDecls()
674 IfDefScope scope("GET_" + defType.upper() + "DEF_LIST", os); in emitTypeDefList()
865 IfDefScope scope("GET_" + defType.upper() + "DEF_CLASSES", os); in emitDefs()
H A DOpDefinitionsGen.cpp3019 IfDefScope scope("GET_OP_CLASSES", os); in emitOpClasses()
3059 IfDefScope scope("GET_OP_LIST", os); in emitOpList()