| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | DAGISelMatcher.cpp | 117 OS.indent(indent) << "Scope\n"; in printImpl() 127 OS.indent(indent) << "Record\n"; in printImpl() 135 OS.indent(indent) << "RecordMemRef\n"; in printImpl() 147 OS.indent(indent) << "MoveParent\n"; in printImpl() 172 OS.indent(indent) << "SwitchOpcode: {\n"; in printImpl() 177 OS.indent(indent) << "}\n"; in printImpl() 187 OS.indent(indent) << "SwitchType: {\n"; in printImpl() 192 OS.indent(indent) << "}\n"; in printImpl() 242 OS.indent(indent) << "CheckAllOnesV\n"; in printImpl() 262 OS.indent(indent) << "EmitRegister "; in printImpl() [all …]
|
| H A D | PredicateExpander.cpp | 143 OS.indent(getIndentLevel() * 2); in expandCheckOpcode() 179 OS.indent(getIndentLevel() * 2); in expandPredicateSequence() 249 OS.indent(getIndentLevel() * 2); in expandOpcodeSwitchCase() 267 SS.indent(getIndentLevel() * 2); in expandOpcodeSwitchStatement() 429 OS.indent(IndentLevel * 2); in expandPrologue() 443 OS.indent(IndentLevel * 2); in expandPrologue() 492 OS.indent(IndentLevel * 2); in expandBody() 494 OS.indent(IndentLevel * 2); in expandBody() 496 OS.indent(IndentLevel * 2); in expandBody() 502 OS.indent(IndentLevel * 2); in expandBody() [all …]
|
| H A D | CompressInstEmitter.cpp | 701 CondStream.indent(6) << "("; in emitCompressInstEmitter() 718 CondStream.indent(6) in emitCompressInstEmitter() 730 CondStream.indent(6) in emitCompressInstEmitter() 737 CondStream.indent(6) in emitCompressInstEmitter() 768 CodeStream.indent(6) in emitCompressInstEmitter() 776 CondStream.indent(6) in emitCompressInstEmitter() 783 CondStream.indent(6) in emitCompressInstEmitter() 790 CodeStream.indent(6) in emitCompressInstEmitter() 799 CondStream.indent(6) in emitCompressInstEmitter() 806 CondStream.indent(6) in emitCompressInstEmitter() [all …]
|
| H A D | DAGISelMatcher.h | 177 void print(raw_ostream &OS, unsigned indent = 0) const; 227 void printImpl(raw_ostream &OS, unsigned indent) const override; 252 void printImpl(raw_ostream &OS, unsigned indent) const override; 284 void printImpl(raw_ostream &OS, unsigned indent) const override; 300 void printImpl(raw_ostream &OS, unsigned indent) const override; 316 void printImpl(raw_ostream &OS, unsigned indent) const override; 334 void printImpl(raw_ostream &OS, unsigned indent) const override; 351 void printImpl(raw_ostream &OS, unsigned indent) const override; 371 void printImpl(raw_ostream &OS, unsigned indent) const override; 395 void printImpl(raw_ostream &OS, unsigned indent) const override; [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | PlistDiagnostics.cpp | 185 ++indent; in EmitRanges() 194 --indent; in EmitRanges() 248 ++indent; in ReportControlFlow() 254 ++indent; in ReportControlFlow() 256 ++indent; in ReportControlFlow() 279 --indent; in ReportControlFlow() 281 --indent; in ReportControlFlow() 293 --indent; in ReportControlFlow() 304 ++indent; in ReportEvent() 333 --indent; in ReportEvent() [all …]
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | json_reporter.cc | 128 std::string indent(4, ' '); in ReportContext() local 142 out << indent in ReportContext() 147 out << indent in ReportContext() 158 out << indent << "{\n"; in ReportContext() 167 out << indent << "}"; in ReportContext() 172 out << indent << "],\n"; in ReportContext() 205 std::string indent(4, ' '); in ReportRuns() local 213 out << indent << "{\n"; in ReportRuns() 215 out << indent << '}'; in ReportRuns() 229 std::string indent(6, ' '); in PrintRunData() local [all …]
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/utils/ |
| H A D | Timer.py | 15 def _indent(indent): argument 16 return '| ' * indent 22 indent = 0 variable in Timer 29 Timer.indent += 1 31 indent = _indent(Timer.indent - 1) + ' _' 32 Timer.fn('{}\n'.format(_indent(Timer.indent - 1))) 33 Timer.fn('{} start {}\n'.format(indent, self.name)) 38 indent = _indent(Timer.indent - 1) + '|_' 40 indent, self.name, self.elapsed)) 41 Timer.fn('{}\n'.format(_indent(Timer.indent - 1))) [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Support/ |
| H A D | IndentedOstream.h | 32 StringRef close = "", bool indent = true) 33 : os(os), open(open), close(close), indent(indent) { in os() 35 if (indent) in os() 36 os.indent(); in os() 39 if (indent) in ~DelimitedScope() 48 bool indent; member 56 bool indent = true) { 57 return DelimitedScope(*this, open, close, indent); 66 raw_indented_ostream &indent() { in indent() function 78 raw_indented_ostream &indent(int with) { in indent() function [all …]
|
| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestPrintNesting.cpp | 47 auto indent = pushIndent(); in printOperation() local 56 auto indent = pushIndent(); in printRegion() local 71 auto indent = pushIndent(); in printBlock() local 77 int indent; member 79 int &indent; member 80 IdentRAII(int &indent) : indent(indent) {} in IdentRAII() 81 ~IdentRAII() { --indent; } in ~IdentRAII() 83 void resetIndent() { indent = 0; } in resetIndent() 84 IdentRAII pushIndent() { return IdentRAII(++indent); } in pushIndent() 87 for (int i = 0; i < indent; ++i) in printIndent()
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/impl/ |
| H A D | msgpack.cpp | 197 inner(unsigned indent) : indent(indent) {} in dump() 199 unsigned indent = 0; in dump() member 214 indent += by; in dump() 217 indent += by; in dump() 218 printf("%*s", indent, ""); in dump() 221 indent -= by; in dump() 227 indent -= by; in dump() 228 printf("%*s]", indent, ""); in dump() 235 indent += by; in dump() 260 indent -= by; in dump() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | PlistSupport.h | 56 inline raw_ostream &Indent(raw_ostream &o, const unsigned indent) { in Indent() argument 57 for (unsigned i = 0; i < indent; ++i) in Indent() 113 Indent(o, indent) << "<dict>\n"; in EmitLocation() 114 Indent(o, indent) << " <key>line</key>"; in EmitLocation() 116 Indent(o, indent) << " <key>col</key>"; in EmitLocation() 118 Indent(o, indent) << " <key>file</key>"; in EmitLocation() 120 Indent(o, indent) << "</dict>\n"; in EmitLocation() 128 Indent(o, indent) << "<array>\n"; in EmitRange() 129 EmitLocation(o, SM, R.getBegin(), FM, indent + 1); in EmitRange() 134 EmitLocation(o, SM, R.getEnd().getLocWithOffset(-1), FM, indent + 1); in EmitRange() [all …]
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | DumpEvaluateExpr.cpp | 23 indent("coarray ref"); in show() 66 indent("base object"); in show() 72 indent("component"); in show() 80 indent("named entity"); in show() 90 indent("type inquiry"); in show() 97 indent("triplet"); in show() 106 indent("subscript"); in show() 113 indent("array ref"); in show() 121 indent("data ref"); in show() 128 indent("substring"); in show() [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/interface/ |
| H A D | python.cc | 111 printf("%*s", indent, " "); in print_indent() 132 print_indent(indent, "try:\n"); in print_type_check() 133 print_indent(indent, " if not "); in print_type_check() 136 print_indent(indent, " "); in print_type_check() 141 print_indent(indent, "except:\n"); in print_type_check() 154 print_indent(indent, " raise\n"); in print_type_check() 347 print_indent(indent, "if hasattr("); in print_persistent_callback_failure_check() 355 print_indent(indent, " "); in print_persistent_callback_failure_check() 400 print_indent(indent, in print_method_return() 417 print_indent(indent, "string = " in print_method_return() [all …]
|
| H A D | plain_cpp.cc | 90 osprintf(os, "%*s", indent, " "); in osprintf() 473 osprintf(os, indent, in print_isa_type_template() 475 osprintf(os, indent, in print_isa_type_template() 477 osprintf(os, indent, in print_isa_type_template() 480 osprintf(os, indent, in print_isa_type_template() 680 osprintf(os, indent, in print_throw_invalid() 701 osprintf(os, indent, in print_invalid() 705 print_throw_invalid(os, indent, msg); in print_invalid() 1646 osprintf(os, indent, in print_wrapped_call() 1658 osprintf(os, indent, "}\n"); in print_wrapped_call() [all …]
|
| /llvm-project-15.0.7/mlir/utils/vim/indent/ |
| H A D | mlir.vim | 1 " Vim indent file 4 " Adapted from the LLVM vim indent file 5 " What this indent plugin currently does: 6 " - If no other rule matches copy indent from previous non-empty, 10 " - If the current line is a block label and ends with ':' indent at the same 14 " - If there is an opening+unclosed parenthesis on previous line indent to 43 return indent(opening_lnum) 51 return indent(blockbegin) 57 …while prev_lnum > 0 && synIDattr(synID(prev_lnum, 1 + indent(prev_lnum), 0), "name") == "mlirComme… 60 " Hit the start of the file, use zero indent. [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | LoopCacheAnalysis.cpp | 165 LLVM_DEBUG(dbgs().indent(2) in hasSpacialReuse() 172 LLVM_DEBUG(dbgs().indent(2) in hasSpacialReuse() 195 LLVM_DEBUG(dbgs().indent(2) in hasSpacialReuse() 222 LLVM_DEBUG(dbgs().indent(2) in hasTemporalReuse() 256 LLVM_DEBUG(dbgs().indent(2) in hasTemporalReuse() 262 dbgs().indent(2) in hasTemporalReuse() 305 LLVM_DEBUG(dbgs().indent(4) in computeRefCost() 331 LLVM_DEBUG(dbgs().indent(4) in computeRefCost() 340 LLVM_DEBUG(dbgs().indent(4) in computeRefCost() 383 dbgs().indent(2) in delinearize() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Support/ |
| H A D | IndentedOstream.cpp | 24 size_t indent = split.first.find_first_not_of(" \t"); in printReindented() local 25 if (indent != StringRef::npos) { in printReindented() 27 leadingWs = indent; in printReindented() 36 size_t indent = split.first.find_first_not_of(" \t"); in printReindented() local 37 if (indent != StringRef::npos) in printReindented() 38 leadingWs = std::min(leadingWs, static_cast<int>(indent)); in printReindented() 52 os.indent(currentIndent) << str.substr(leadingWs); in write_impl()
|
| /llvm-project-15.0.7/llvm/utils/vim/indent/ |
| H A D | llvm.vim | 1 " Vim indent file 4 " What this indent plugin currently does: 5 " - If no other rule matches copy indent from previous non-empty, 9 " - If the current line ends with ':' indent at the same level as the 13 " - If there is an opening+unclosed parenthesis on previous line indent to that 41 return indent(opening_lnum) 49 return indent(blockbegin) 55 …while prev_lnum > 0 && synIDattr(synID(prev_lnum, indent(prev_lnum)+1, 0), "name") =? "string\|com… 58 " Hit the start of the file, use zero indent. 63 let ind = indent(prev_lnum)
|
| /llvm-project-15.0.7/clang/tools/scan-build-py/lib/libscanbuild/ |
| H A D | report.py | 79 indent = 0 113 |</html>""", indent)) 121 indent = 4 132 | <tbody>""", indent)) 163 |</table>""", indent)) 176 indent = 4 194 | <tbody>""", indent)) 210 |</table>""", indent)) 223 indent = 4 248 |</table>""", indent)) [all …]
|
| /llvm-project-15.0.7/clang/utils/ABITest/ |
| H A D | ABITestGen.py | 256 def printSizeOfType(self, prefix, name, t, output=None, indent=2): argument 301 self.printValueOfType(prefix, fname, f, output=output, indent=indent) 303 … self.printValueOfType(prefix, '(__real %s)'%name, t.elementType, output=output,indent=indent) 304 … self.printValueOfType(prefix, '(__imag %s)'%name, t.elementType, output=output,indent=indent) 310 …fType(prefix, '((%s*) &%s)[%d]'%(t.elementType,name,i), t.elementType, output=output,indent=indent) 312 …self.printValueOfType(prefix, '%s[%d]'%(name,i), t.elementType, output=output,indent=indent) … 329 f, output=output, indent=indent) 333 …ypeValues('(__real %s)'%nameLHS, '(__real %s)'%nameRHS, t.elementType, output=output,indent=indent) 334 …ypeValues('(__imag %s)'%nameLHS, '(__imag %s)'%nameRHS, t.elementType, output=output,indent=indent) 342 t.elementType, output=output,indent=indent) [all …]
|
| /llvm-project-15.0.7/mlir/lib/Pass/ |
| H A D | PassStatistics.cpp | 29 static void printPassEntry(raw_ostream &os, unsigned indent, StringRef pass, in printPassEntry() argument 31 os.indent(indent) << pass << "\n"; in printPassEntry() 51 os.indent(indent + 2) << llvm::format("(S) %*u %-*s - %s\n", largestValue, in printPassEntry() 109 std::function<void(unsigned, Pass *)> printPass = [&](unsigned indent, in printResultsAsPipeline() 116 printPassEntry(os, indent, adaptor->getAdaptorName()); in printResultsAsPipeline() 117 indent += 2; in printResultsAsPipeline() 123 printPassEntry(os, indent, name); in printResultsAsPipeline() 125 printPass(indent + 2, &pass); in printResultsAsPipeline() 134 printPassEntry(os, indent, pass->getName(), stats); in printResultsAsPipeline() 148 os->indent(padding) << kPassStatsDescription << '\n'; in printStatistics()
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | DumpEvaluateExpr.h | 75 indent("vector"); in show() 85 indent("derived constant"); in show() 110 indent("designator"); in show() 116 indent("variable"); in show() 125 indent("procedure ref"); in show() 132 indent("function ref"); in show() 150 indent("implied do"); in show() 166 indent("unary op"); in show() 172 indent("binary op"); in show() 181 indent("expr T"); in show() [all …]
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Module.cpp | 435 OS.indent(Indent); in print() 444 OS.indent(Indent + 2); in print() 454 OS.indent(Indent + 2); in print() 467 OS.indent(Indent + 2); in print() 472 OS.indent(Indent + 2); in print() 479 OS.indent(Indent + 2); in print() 529 OS.indent(Indent + 2); in print() 543 OS.indent(Indent + 2); in print() 556 OS.indent(Indent + 2); in print() 572 OS.indent(Indent + 2); in print() [all …]
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 634 Out.indent(2) in ReadFullVersionInformation() 651 Out.indent(2) << "Language options:\n"; in ReadLanguageOptions() 664 Out.indent(4) << "Module features:\n"; in ReadLanguageOptions() 666 Out.indent(6) << Feature << "\n"; in ReadLanguageOptions() 674 Out.indent(2) << "Target options:\n"; in ReadTargetOptions() 681 Out.indent(4) << "Target features:\n"; in ReadTargetOptions() 693 Out.indent(2) << "Diagnostic options:\n"; in ReadDiagnosticOptions() 701 Out.indent(4) << "Diagnostic flags:\n"; in ReadDiagnosticOptions() 705 Out.indent(6) << "-R" << Remark << "\n"; in ReadDiagnosticOptions() 738 Out.indent(4) << "Predefined macros:\n"; in ReadPreprocessorOptions() [all …]
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopGraphPrinter.cpp | 78 O.indent(2 * depth) << "subgraph cluster_" << static_cast<const void *>(R) in printRegionCluster() 93 O.indent(2 * (depth + 1)) in printRegionCluster() 97 O.indent(2 * (depth + 1)) << "style = filled;\n"; in printRegionCluster() 100 O.indent(2 * (depth + 1)) << "color = 3"; in printRegionCluster() 102 O.indent(2 * (depth + 1)) << "style = solid;\n"; in printRegionCluster() 110 O.indent(2 * (depth + 1)) << "color = " << color << "\n"; in printRegionCluster() 120 O.indent(2 * (depth + 1)) in printRegionCluster() 125 O.indent(2 * depth) << "}\n"; in printRegionCluster()
|