| /llvm-project/llvm/tools/llvm-cov/ |
| H A D | CoverageReport.cpp | 27 struct Column { struct 37 Column(StringRef Str, unsigned Width) in Column() function 40 Column &set(TrimKind Value) { in set() argument 45 Column &set(AlignmentKind Value) { in set() argument 76 raw_ostream &operator<<(raw_ostream &OS, const Column &Value) { in operator <<() 81 Column column(StringRef Str, unsigned Width) { return Column(Str, Width); } in column() 84 Column column(StringRef Str, unsigned Width, const T &Value) { in column() 85 return Column(Str, Width).set(Value); in column() 236 OS << column(FileName, FileReportColumns[0], Column::NoTrim); in render() 251 OS << column("-", FileReportColumns[3], Column::RightAlignment); in render() [all …]
|
| /llvm-project/clang/lib/Format/ |
| H A D | FormatToken.cpp | 109 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken() 122 unsigned Column = 0; in formatAfterToken() local 131 ExtraSpaces += Format->ColumnSizes[Column] - ItemLengths[Item]; in formatAfterToken() 132 ++Column; in formatAfterToken() 137 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken() 138 Column = 0; in formatAfterToken() 151 // Formatting with 1 Column isn't really a column layout, so we don't need the in formatFromToken() 187 // Column format doesn't really make sense if we don't align after brackets. in precomputeFormattingInfos() 269 unsigned Column = 0; in precomputeFormattingInfos() local 272 if (MustBreakBeforeItem[i] || Column in precomputeFormattingInfos() [all...] |
| H A D | ContinuationIndenter.cpp | 261 State.Column = FirstStartColumn; in getInitialState() 263 State.Column = FirstIndent; in getInitialState() 270 State.Column = 0; in getInitialState() 341 State.Column < 6) { in canBreak() 346 assert(State.Column >= State.FirstIndent); in canBreak() 347 if (State.Column - State.FirstIndent < 6) in canBreak() 451 getLengthToMatchingParen(Previous, State.Stack) + State.Column - 1 > in mustBreak() 461 (State.Column + State.Line->Last->TotalLength - Previous.TotalLength > in mustBreak() 483 State.Column + getLengthToNextOperator(Current) > Style.ColumnLimit && in mustBreak() 484 (State.Column > NewLineColum in mustBreak() [all...] |
| H A D | ContinuationIndenter.h | 413 unsigned Column; member 465 if (Column != Other.Column) 466 return Column < Other.Column;
|
| /llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.h | 47 u32 Column; variable 50 SourceLocation() : Filename(), Line(), Column() {} in SourceLocation() 51 SourceLocation(const char *Filename, unsigned Line, unsigned Column) in SourceLocation() argument 52 : Filename(Filename), Line(Line), Column(Column) {} in SourceLocation() 61 (__sanitizer::atomic_uint32_t *)&Column, ~u32(0), in acquire() 69 return Column == ~u32(0); in isDisabled() 77 unsigned getColumn() const { return Column; } in getColumn()
|
| /llvm-project/llvm/test/tools/llvm-symbolizer/ |
| H A D | sym-verbose.test | 25 CHECK-NEXT: Column: 7 32 CHECK-NEXT: Column: 0 41 CHECK-NEXT: Column: 17 49 CHECK-NEXT: Column: 0 58 CHECK-NEXT: Column: 30 66 CHECK-NEXT: Column: 0 75 CHECK-NEXT: Column: 7 82 CHECK-NEXT: Column: 0 92 CHECK-NEXT: Column: 17 100 CHECK-NEXT: Column: 0 [all …]
|
| H A D | output-style-json-code.test | 15 # NOT-FOUND:[{"Address":"0x10000000","ModuleName":"{{.*}}/Inputs/addr.exe","Symbol":[{"Column":0,"D… 20 # DISCRIM:[{"Address":"0x400575","ModuleName":"{{.*}}/Inputs/discrim","Symbol":[{"Column":17,"Discr… 30 # NO-INLINES-NEXT:{"Address":"0x40054d","ModuleName":"{{.*}}/Inputs/addr.exe","Symbol":[{"Column":3… 40 …Column":3,"Discriminator":0,"FileName":"/tmp{{/|\\\\}}x.c","FunctionName":"inctwo","Line":3,"Start… 51 …Column":3,"Discriminator":0,"FileName":"/tmp{{/|\\\\}}x.c","FunctionName":"inctwo","Line":3,"Start… 61 …Column":3,"Discriminator":0,"FileName":"/tmp{{/|\\\\}}x.c","FunctionName":"","Line":3,"StartAddres… 68 …Column":24,"Discriminator":0,"FileName":"/tmp/dbginfo{{/|\\\\}}symbols.part3.c","FunctionName":"st…
|
| /llvm-project/llvm/test/tools/llvm-profdata/ |
| H A D | memprof-inline.test | 31 CHECK-NEXT: Column: 23 37 CHECK-NEXT: Column: 18 43 CHECK-NEXT: Column: 19 49 CHECK-NEXT: Column: 3 90 CHECK-NEXT: Column: 23 96 CHECK-NEXT: Column: 18 102 CHECK-NEXT: Column: 19 108 CHECK-NEXT: Column: 3 145 CHECK-NEXT: Column: 23 152 CHECK-NEXT: Column: 18 [all …]
|
| H A D | memprof-basic-histogram.test | 33 CHECK-NEXT: Column: 10 70 CHECK-NEXT: Column: 10 107 CHECK-NEXT: Column: 10 144 CHECK-NEXT: Column: 5 151 CHECK-NEXT: Column: 5 162 CHECK-NEXT: Column: 10 168 CHECK-NEXT: Column: 5 208 CHECK-NEXT: Column: 10 214 CHECK-NEXT: Column: 5
|
| /llvm-project/llvm/lib/Support/ |
| H A D | FormattedStream.cpp | 27 unsigned &Column = Position.first; in UpdatePosition() local 30 auto ProcessUTF8CodePoint = [&Line, &Column](StringRef CP) { in UpdatePosition() 33 Column += Width; in UpdatePosition() 44 Column = 0; in UpdatePosition() 48 Column += (8 - (Column & 0x7)) & 0x7; in UpdatePosition() 81 ++Column; in UpdatePosition()
|
| H A D | YAMLParser.cpp | 179 unsigned Column = 0; member 379 /// This updates Cur and Column while scanning. 384 /// \a Expected. This updates \a Column. 387 /// Skip \a Distance UTF-8 code units. Updates \a Cur and \a Column. 537 unsigned Column; 873 Column = 0; in init() 1002 Column += Final - Current; in advanceWhile() 1022 ++Column; in scan_ns_uri_char() 1041 ++Column; in consume() 1049 Column in skip() 538 unsigned Column; global() member in llvm::yaml::Scanner [all...] |
| H A D | UnicodeNameToCodepoint.cpp | 260 char &PreviousInName, int &Pos, int Column) { in findSyllable() argument 261 assert(Column == 0 || Column == 1 || Column == 2); in findSyllable() 265 for (std::size_t I = 0; I < CountPerColumn[Column]; I++) { in findSyllable() 266 StringRef Syllable(HangulSyllables[I][Column]); in findSyllable() 485 auto Get = [&Distances, Columns](size_t Column, std::size_t Row) -> char & { in nearestMatchesForCodepointName() argument 486 assert(Column < Columns); in nearestMatchesForCodepointName() 488 return Distances[Row * Columns + Column]; in nearestMatchesForCodepointName()
|
| /llvm-project/llvm/test/Transforms/GVN/ |
| H A D | opt-remarks-multiple-users.ll | 7 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 2, Column: 2 } 17 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 1, Column: 1 } 22 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 4, Column: 4 } 30 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 2, Column: 2 } 33 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 3, Column: 3 } 59 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 2, Column: 2 } 69 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 1, Column: 1 } 74 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 4, Column: 4 } 82 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 2, Column: 2 } 85 ; CHECK-NEXT: DebugLoc: { File: '/tmp/s.c', Line: 3, Column: 3 }
|
| /llvm-project/offload/include/Shared/ |
| H A D | SourceInfo.h | 49 const int32_t Column; variable 88 Column(std::stoi(getSubstring(3))) {} in SourceInfo() 93 Column(std::stoi(getSubstring(3))) {} in SourceInfo() 99 int32_t getColumn() const { return Column; } in getColumn() 100 bool isAvailible() const { return (Line || Column); } in isAvailible()
|
| /llvm-project/clang/include/clang/Frontend/ |
| H A D | CommandLineSourceLoc.h | 28 unsigned Column; member 40 if (!ColSplit.second.getAsInteger(10, PSL.Column) && in FromString() 56 Twine(Line) + ":" + Twine(Column)) in ToString() 100 EndColumn = Begin.Column; in fromString() 103 {Begin.Line, Begin.Column}, in fromString()
|
| /llvm-project/clang-tools-extra/modularize/ |
| H A D | PreprocessorTracker.cpp | 290 int &Column) { in getSourceLocationLineAndColumn() argument 294 Column = 0; in getSourceLocationLineAndColumn() 298 Column = PLoc.getColumn(); in getSourceLocationLineAndColumn() 480 getSourceLocationLineAndColumn(PP, Loc, Line, Column); in PPItemKey() 482 PPItemKey(StringHandle Name, HeaderHandle File, int Line, int Column) in PPItemKey() argument 483 : Name(Name), File(File), Line(Line), Column(Column) {} in PPItemKey() 486 Column(Other.Column) {} in PPItemKey() 487 PPItemKey() : File(HeaderHandleInvalid), Line(0), Column(0) {} in PPItemKey() 495 return Column == Other.Column; in operator ==() 510 return Column < Other.Column; in operator <() [all …]
|
| /llvm-project/llvm/include/llvm/MC/ |
| H A D | MCCodeView.h | 43 uint16_t Column; variable 52 Column(column), PrologueEnd(prologueend), IsStmt(isstmt) {} in MCCVLoc() 68 /// Get the Column of this MCCVLoc. 69 unsigned getColumn() const { return Column; } in getColumn() 84 /// Set the Column of this MCCVLoc. 87 Column = column; in setColumn() 177 unsigned FileNo, unsigned Line, unsigned Column,
|
| /llvm-project/clang/test/SemaTemplate/ |
| H A D | temp_arg_nontype_cxx11.cpp | 87 template <const char *, typename T> class Column {}; class 102 Column<kEta, double>().ls(); // expected-error {{<kEta,}} in lookup() 103 Column<kDes, double>().ls(); // expected-error {{<kDes,}} in lookup() 104 Column<nullptr, double>().ls(); // expected-error {{<nullptr,}} in lookup()
|
| /llvm-project/llvm/include/llvm/DebugInfo/ |
| H A D | DIContext.h | 47 uint32_t Column = 0; 60 return Line == RHS.Line && Column == RHS.Column && 69 return std::tie(FileName, FunctionName, StartFileName, Line, Column, 72 RHS.Column, RHS.StartLine, RHS.Discriminator); 84 OS << "column " << Column << ", "; in dump() 46 uint32_t Column = 0; global() member
|
| /llvm-project/llvm/test/Transforms/SampleProfile/ |
| H A D | remarks.ll | 39 ;YAML-NEXT: DebugLoc: { File: remarks.cc, Line: 13, Column: 21 } 44 ;YAML-NEXT: DebugLoc: { File: remarks.cc, Line: 3, Column: 0 } 47 ;YAML-NEXT: DebugLoc: { File: remarks.cc, Line: 13, Column: 0 } 61 ;YAML-NEXT: - Column: '21' 68 ;YAML-NEXT: DebugLoc: { File: remarks.cc, Line: 9, Column: 19 } 73 ;YAML-NEXT: DebugLoc: { File: remarks.cc, Line: 90, Column: 0 } 76 ;YAML-NEXT: DebugLoc: { File: remarks.cc, Line: 13, Column: 0 } 88 ;YAML-NEXT: - Column: '19' 94 ;YAML-NEXT: - Column: '21' 99 ;YAML-NEXT: DebugLoc: { File: remarks.cc, Line: 5, Column: 12 } [all …]
|
| /llvm-project/clang/lib/Frontend/ |
| H A D | LogDiagnosticPrinter.cpp | 55 if (DE.Column != 0) { in EmitDiagEntry() 58 EmitInteger(OS, DE.Column) << '\n'; in EmitDiagEntry() 142 DE.Line = DE.Column = 0; in HandleDiagnostic() 157 DE.Column = PLoc.getColumn(); in HandleDiagnostic()
|
| /llvm-project/llvm/test/CodeGen/AMDGPU/ |
| H A D | resource-optimization-remarks.ll | 18 ; REMARK-NEXT: DebugLoc: { File: foo.cl, Line: 27, Column: 0 } 27 ; REMARK-NEXT: DebugLoc: { File: foo.cl, Line: 27, Column: 0 } 36 ; REMARK-NEXT: DebugLoc: { File: foo.cl, Line: 27, Column: 0 } 45 ; REMARK-NEXT: DebugLoc: { File: foo.cl, Line: 27, Column: 0 } 54 ; REMARK-NEXT: DebugLoc: { File: foo.cl, Line: 27, Column: 0 } 63 ; REMARK-NEXT: DebugLoc: { File: foo.cl, Line: 27, Column: 0 } 72 ; REMARK-NEXT: DebugLoc: { File: foo.cl, Line: 27, Column: 0 } 81 ; REMARK-NEXT: DebugLoc: { File: foo.cl, Line: 27, Column: 0 } 90 ; REMARK-NEXT: DebugLoc: { File: foo.cl, Line: 27, Column: 0 } 99 ; REMARK-NEXT: DebugLoc: { File: foo.cl, Line: 27, Column [all...] |
| /llvm-project/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIALineNumber.cpp | 28 DWORD Column = 0; in getColumnNumber() local 29 return (S_OK == LineNumber->get_columnNumber(&Column)) ? Column : 0; in getColumnNumber()
|
| /llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 469 unsigned Column = D.getColumnNo(); in SrcMgrDiagHandler() 470 B << SourceRange(Loc.getLocWithOffset(Range.first - Column), in SrcMgrDiagHandler() 471 Loc.getLocWithOffset(Range.second - Column)); in SrcMgrDiagHandler() 542 StringRef &Filename, unsigned &Line, unsigned &Column) const { in InlineAsmDiagHandler() 548 D.getLocation(Filename, Line, Column); 554 // If -gcolumn-info was not used, Column will be 0. This upsets the in StackSizeDiagHandler() 555 // source manager, so pass 1 if Column is not set. in StackSizeDiagHandler() 556 DILoc = SourceMgr.translateFileLineCol(*FE, Line, Column ? Column : 1); in StackSizeDiagHandler() 577 << Filename << Line << Column; in ResourceLimitDiagHandler() 508 unsigned Column = D.getColumnNo(); SrcMgrDiagHandler() local 638 unsigned Line, Column; UnsupportedDiagHandler() local 675 unsigned Line, Column; EmitOptimizationMessage() local 786 unsigned Line, Column; MisExpectDiagHandler() local [all...] |
| /llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | DebugLineSectionEmitter.h | 317 unsigned Column = 0; in emitLineTableRows() local 349 if (Column != Row.Column) { in emitLineTableRows() 350 Column = Row.Column; in emitLineTableRows() 352 encodeULEB128(Column, Section.OS); in emitLineTableRows() 407 RowsSinceLastSequence = Column = Discriminator = Isa = 0; in emitLineTableRows()
|