Home
last modified time | relevance | path

Searched refs:DelimitedScope (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DIndentedOstream.h30 struct DelimitedScope { struct
31 explicit DelimitedScope(raw_indented_ostream &os, StringRef open = "",
38 ~DelimitedScope() { in ~DelimitedScope() argument
55 DelimitedScope scope(StringRef open = "", StringRef close = "",
57 return DelimitedScope(*this, open, close, indent);
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DScopedPrinter.h512 struct DelimitedScope;
536 std::unique_ptr<DelimitedScope> OuterScope;
541 std::unique_ptr<DelimitedScope>{});
791 struct DelimitedScope { struct
792 DelimitedScope(ScopedPrinter &W) : W(&W) {} in DelimitedScope() argument
793 DelimitedScope() : W(nullptr) {} in DelimitedScope() function
794 virtual ~DelimitedScope() = default;
799 struct DictScope : DelimitedScope { argument
803 DictScope(ScopedPrinter &W, StringRef N) : DelimitedScope(W) { in DictScope()
818 struct ListScope : DelimitedScope {
[all …]
/llvm-project-15.0.7/mlir/unittests/Support/
H A DIndentedOstreamTest.cpp56 raw_indented_ostream::DelimitedScope scope(ros); in TEST()
60 raw_indented_ostream::DelimitedScope scope(ros, "{\n", "\n}\n"); in TEST()
/llvm-project-15.0.7/llvm/lib/Support/
H A DScopedPrinter.cpp40 std::unique_ptr<DelimitedScope> &&OuterScope) in JSONScopedPrinter()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DRewriterGen.cpp458 raw_indented_ostream::DelimitedScope scope(os); in emitNativeCodeMatch()
1530 raw_indented_ostream::DelimitedScope scope(os); in createSeparateLocalVarsForOpArgs()
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DClass.h220 raw_indented_ostream::DelimitedScope