Searched refs:IfDefScope (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | DirectiveEmitter.cpp | 26 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 D | CodeGenHelpers.h | 39 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 D | AttrOrTypeDefGen.cpp | 638 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 D | OpDefinitionsGen.cpp | 3019 IfDefScope scope("GET_OP_CLASSES", os); in emitOpClasses() 3059 IfDefScope scope("GET_OP_LIST", os); in emitOpList()
|