Home
last modified time | relevance | path

Searched refs:raw_indented_ostream (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/mlir/lib/TableGen/
H A DClass.cpp28 void MethodParameter::writeDeclTo(raw_indented_ostream &os) const { in writeDeclTo()
36 void MethodParameter::writeDefTo(raw_indented_ostream &os) const { in writeDefTo()
88 void MethodSignature::writeDefTo(raw_indented_ostream &os, in writeDefTo()
103 void MethodBody::writeTo(raw_indented_ostream &os) const { in writeTo()
116 void Method::writeDeclTo(raw_indented_ostream &os) const { in writeDeclTo()
150 void Constructor::writeDeclTo(raw_indented_ostream &os) const { in writeDeclTo()
170 void Constructor::writeDefTo(raw_indented_ostream &os, in writeDefTo()
217 void ParentClass::writeTo(raw_indented_ostream &os) const { in writeTo()
241 void Field::writeDeclTo(raw_indented_ostream &os) const { in writeDeclTo()
277 void Class::writeDeclTo(raw_indented_ostream &os) const { in writeDeclTo()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DIndentedOstream.h23 class raw_indented_ostream : public raw_ostream {
25 explicit raw_indented_ostream(llvm::raw_ostream &os) : os(os) { in raw_indented_ostream() function
31 explicit DelimitedScope(raw_indented_ostream &os, StringRef open = "",
44 raw_indented_ostream &os;
63 raw_indented_ostream &printReindented(StringRef str);
66 raw_indented_ostream &indent() { in indent()
72 raw_indented_ostream &unindent() { in unindent()
78 raw_indented_ostream &indent(int with) { in indent()
/llvm-project-15.0.7/mlir/unittests/Support/
H A DIndentedOstreamTest.cpp18 raw_indented_ostream ros(os); in TEST()
27 raw_indented_ostream ros(os); in TEST()
40 raw_indented_ostream ros(os); in TEST()
53 raw_indented_ostream ros(os); in TEST()
56 raw_indented_ostream::DelimitedScope scope(ros); in TEST()
60 raw_indented_ostream::DelimitedScope scope(ros, "{\n", "\n}\n"); in TEST()
89 raw_indented_ostream ros(os); in TEST()
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DClass.h66 void writeDefTo(raw_indented_ostream &os) const;
98 void writeDefTo(raw_indented_ostream &os) const;
206 void writeTo(raw_indented_ostream &os) const;
220 raw_indented_ostream::DelimitedScope
236 raw_indented_ostream os;
356 void writeDefTo(raw_indented_ostream &os,
396 void writeDefTo(raw_indented_ostream &os,
462 void writeTo(raw_indented_ostream &os) const;
551 void writeDefTo(raw_indented_ostream &os,
683 raw_indented_ostream os(rawOs); in writeDeclTo()
[all …]
/llvm-project-15.0.7/mlir/lib/Support/
H A DIndentedOstream.cpp18 raw_indented_ostream &
19 mlir::raw_indented_ostream::printReindented(StringRef str) { in printReindented()
47 void mlir::raw_indented_ostream::write_impl(const char *ptr, size_t size) { in write_impl()
/llvm-project-15.0.7/mlir/lib/Target/Cpp/
H A DTranslateToCpp.cpp154 raw_indented_ostream &ostream() { return os; }; in ostream()
165 raw_indented_ostream os;
271 raw_indented_ostream &os = emitter.ostream(); in printOperation()
418 raw_indented_ostream &os = emitter.ostream(); in printOperation()
495 raw_indented_ostream &os = emitter.ostream(); in printOperation()
605 raw_indented_ostream &os = emitter.ostream(); in printOperation()
/llvm-project-15.0.7/mlir/lib/Transforms/
H A DViewOpGraph.cpp305 raw_indented_ostream os;
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DRewriterGen.cpp248 raw_indented_ostream os;
458 raw_indented_ostream::DelimitedScope scope(os); in emitNativeCodeMatch()
1530 raw_indented_ostream::DelimitedScope scope(os); in createSeparateLocalVarsForOpArgs()
H A DOpDocGen.cpp47 raw_indented_ostream ros(os); in emitDescription()
H A DAttrOrTypeDefGen.cpp851 raw_indented_ostream indentedOs(os); in emitParsePrintDispatch()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/
H A DParser.cpp145 raw_indented_ostream(docOS).printReindented( in processAndFormatDoc()