Home
last modified time | relevance | path

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

/external/llvm-project/mlir/include/mlir/TableGen/
DCodeGenHelpers.h24 class IfDefScope {
26 IfDefScope(llvm::StringRef name, llvm::raw_ostream &os) : name(name), os(os) { in IfDefScope() function
30 ~IfDefScope() { os << "\n#endif // " << name << "\n\n"; } in ~IfDefScope()
/external/llvm-project/llvm/utils/TableGen/
DDirectiveEmitter.cpp26 class IfDefScope { class
28 IfDefScope(StringRef Name, raw_ostream &OS) : Name(Name), OS(OS) { in IfDefScope() function in __anon3a45d1e40111::IfDefScope
33 ~IfDefScope() { OS << "\n#endif // " << Name << "\n\n"; } in ~IfDefScope()
437 IfDefScope Scope("GEN_FLANG_DIRECTIVE_CLAUSE_SETS", OS); in GenerateDirectiveClauseSets()
477 IfDefScope Scope("GEN_FLANG_DIRECTIVE_CLAUSE_MAP", OS); in GenerateDirectiveClauseMap()
512 IfDefScope Scope("GEN_FLANG_CLAUSE_PARSER_CLASSES", OS); in GenerateFlangClauseParserClass()
544 IfDefScope Scope("GEN_FLANG_CLAUSE_PARSER_CLASSES_LIST", OS); in GenerateFlangClauseParserClassList()
560 IfDefScope Scope("GEN_FLANG_DUMP_PARSE_TREE_CLAUSES", OS); in GenerateFlangClauseDump()
579 IfDefScope Scope("GEN_FLANG_CLAUSE_UNPARSE", OS); in GenerateFlangClauseUnparse()
/external/llvm-project/mlir/tools/mlir-tblgen/
DTypeDefGen.cpp250 IfDefScope scope("GET_TYPEDEF_CLASSES", os); in emitTypeDefDecls()
284 IfDefScope scope("GET_TYPEDEF_LIST", os); in emitTypeDefList()
576 IfDefScope scope("GET_TYPEDEF_CLASSES", os); in emitTypeDefDefs()
DOpDefinitionsGen.cpp2268 IfDefScope scope("GET_OP_CLASSES", os); in emitOpClasses()
2286 IfDefScope scope("GET_OP_LIST", os); in emitOpList()