| /llvm-project/clang/test/CodeGenCXX/ |
| H A D | debug-info-nested-exprs.cpp | 6 // RUN: | FileCheck -check-prefix=COLUMNS %s 11 // RUN: | FileCheck -check-prefix=COLUMNS %s 41 // COLUMNS: call noundef i32 @{{.*}}bar{{.*}}, !dbg ![[BAR:[0-9]+]] in foo() 42 // COLUMNS: call noundef i32 @{{.*}}baz{{.*}}, !dbg ![[BAZ:[0-9]+]] in foo() 43 // COLUMNS: call noundef i32 @{{.*}}qux{{.*}}, !dbg ![[QUX:[0-9]+]] in foo() 44 // COLUMNS: store i32 {{.*}}, ptr %a,{{.*}} !dbg ![[DECLA:[0-9]+]] in foo() 53 // COLUMNS: store i32 1, ptr %i,{{.*}} !dbg ![[ILOC:[0-9]+]] in foo() 54 // COLUMNS: store i32 0, ptr %b,{{.*}} !dbg ![[BLOC:[0-9]+]] in foo() 55 // COLUMNS: store i32 0, ptr %c,{{.*}} !dbg ![[CLOC:[0-9]+]] in foo() 65 // COLUMNS: call noundef i32 @{{.*}}bar{{.*}}, !dbg ![[WHILE1:[0-9]+]] in foo() [all …]
|
| /llvm-project/mlir/include/mlir/Analysis/Presburger/ |
| H A D | Matrix.h | 10 // swapping rows, and swapping columns. It can hold integers (DynamicAPInt) or 32 /// More columns and rows can be reserved than are currently used. The data is 34 /// nReservedColumns columns, stored in row major form. Thus the element at 36 /// columns always have all zero values. The reserved rows are just reserved 49 /// Construct a matrix with the specified number of rows and columns. 50 /// The number of reserved rows and columns will be at least the number 52 /// and columns specified. 55 Matrix(unsigned rows, unsigned columns, unsigned reservedRows = 0, 80 /// Swap the given columns. 90 /// Return the maximum number of rows/columns that can be added without [all …]
|
| H A D | Simplex.h | 59 /// number of constraints and number of columns equal to one plus the number of 63 /// columns equal to _two_ plus the number of variables. For example, instead of 67 /// Every row and column except the first and second columns is associated with 73 /// position as the first and second columns. Additionally, LexSimplexBase 75 /// LexSimplexBase has three fixed columns. Finally, SymbolicLexSimplex has 77 /// columns, viz. the columns [3, 3 + nSymbol). For more information on symbols, 113 /// The association of unknowns to rows and columns can be changed by a process 121 /// The association of unknowns to rows and columns is called the _tableau 212 /// columns. The first overload should be used when there are nosymbols. 217 /// For example, Simplex uses two fixed columns: the denominator and the [all …]
|
| /llvm-project/clang/docs/ |
| H A D | MatrixTypes.rst | 24 number of *rows*, and a constant number of *columns*. Matrix types with the same 25 element type, rows, and columns are the same type. A value of a matrix type 26 includes storage for ``rows * columns`` values of the *element type*. The 29 The maximum of the product of the number of rows and columns is 51 number of rows, and the second specifies the number of columns. The underlying 57 same element type, number of rows, and number of columns. 68 rows and columns are the same and the value's elements can be converted to the 76 If the number of rows or columns differ between the original and resulting 97 of ``M``, and let ``R`` and ``C`` be the number of rows and columns in ``M`` 112 ``postfix-expression [expression]`` to access columns o [all...] |
| /llvm-project/clang/lib/Format/ |
| H A D | FormatToken.cpp | 111 // Find the best ColumnFormat, i.e. the best number of columns to use. in formatAfterToken() 137 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken() 173 // In C++11 braced list style, we should not format in columns unless they in precomputeFormattingInfos() 262 for (unsigned Columns = 1; Columns <= MaxItems; ++Columns) { in precomputeFormattingInfos() local 264 Format.Columns = Columns; in precomputeFormattingInfos() 265 Format.ColumnSizes.resize(Columns); in precomputeFormattingInfos() 266 MinSizeInColumn.assign(Columns, UINT_MA in precomputeFormattingInfos() [all...] |
| /llvm-project/llvm/include/llvm/IR/ |
| H A D | MatrixBuilder.h | 64 /// \p Columns - Number of columns in matrix (must be a constant) 65 /// \p Stride - Space between columns 68 unsigned Columns, const Twine &Name = "") { 69 auto *RetType = FixedVectorType::get(EltTy, Rows * Columns); 72 B.getInt32(Columns)}; 88 /// \p Stride - Space between columns 91 unsigned Rows, unsigned Columns, 95 B.getInt32(Rows), B.getInt32(Columns)}; 109 /// rows and \p Columns column [all...] |
| /llvm-project/mlir/lib/Analysis/Presburger/ |
| H A D | Matrix.cpp | 22 Matrix<T>::Matrix(unsigned rows, unsigned columns, unsigned reservedRows, in Matrix() argument 24 : nRows(rows), nColumns(columns), in Matrix() 169 // Out of bounds columns are zero-initialized. NOLINT because clang-tidy in insertColumns() 172 // TODO: this case can be skipped if the number of reserved columns in insertColumns() 176 // Shift the data occuring after the inserted columns. in insertColumns() 179 // The inserted columns are also zero-initialized. in insertColumns() 182 // The columns before the inserted columns stay at the same (row, col) in insertColumns() 184 // if the number of reserved columns changed. in insertColumns() 257 // moveColumns is implemented by moving the columns adjacen [all...] |
| /llvm-project/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 190 /// A mapping from columns to the byte of the source line that produced the 199 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to 204 /// of the printable representation of the line to the columns those printable 207 /// If a byte 'i' corresponds to multiple columns (e.g. the byte contains a tab 217 /// and instead is the number of columns needed to display the source 223 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to 239 int Columns = 0; in genColumnByteMapping() local 242 ColumnsOut[I] = Columns; in genColumnByteMapping() 243 BytesOut.resize(Columns + 1, -1); in genColumnByteMapping() 247 Columns in genColumnByteMapping() 269 int columns() const { return m_byteToColumn.back(); } columns() function 325 selectInterestingSourceRegion(std::string & SourceLine,std::string & CaretLine,std::string & FixItInsertionLine,unsigned Columns,const SourceColumnMap & map) selectInterestingSourceRegion() argument 545 findEndOfWord(unsigned Start,StringRef Str,unsigned Length,unsigned Column,unsigned Columns) findEndOfWord() argument 608 printWordWrapped(raw_ostream & OS,StringRef Str,unsigned Columns,unsigned Column,bool Bold) printWordWrapped() argument 720 printDiagnosticMessage(raw_ostream & OS,bool IsSupplemental,StringRef Message,unsigned CurrentColumn,unsigned Columns,bool ShowColors) printDiagnosticMessage() argument 1406 unsigned Columns = DiagOpts->MessageLength; emitSnippetAndCaret() local [all...] |
| H A D | DependencyFile.cpp | 368 unsigned Columns = 0; in outputDependencyFile() local 372 if (Columns == 0) { in outputDependencyFile() 373 Columns += N; in outputDependencyFile() 374 } else if (Columns + N + 2 > MaxColumns) { in outputDependencyFile() 375 Columns = N + 2; in outputDependencyFile() 378 Columns += N + 1; in outputDependencyFile() 386 Columns += 1; in outputDependencyFile() 398 if (Columns + (N + 1) + 2 > MaxColumns) { in outputDependencyFile() 400 Columns = 2; in outputDependencyFile() 404 Columns in outputDependencyFile() [all...] |
| /llvm-project/llvm/lib/DebugInfo/CodeView/ |
| H A D | DebugLinesSubsection.cpp | 47 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()() 94 assert(B.Lines.size() == B.Columns.size()); in addLineAndColumnInfo() 100 B.Columns.push_back(CNE); in addLineAndColumnInfo() 115 assert(B.Lines.size() == B.Columns.size() || B.Columns.empty()); in commit() 130 if (auto EC = Writer.writeArray(ArrayRef(B.Columns))) in commit() 143 Size += B.Columns.size() * sizeof(ColumnNumberEntry); in calculateSerializedSize()
|
| /llvm-project/clang/docs/tools/ |
| H A D | dump_format_help.py | 21 def indent(text, columns, indent_first_line=True): 22 indent_str = " " * columns 52 def validate(text, columns): 54 if len(line) > columns: 20 indent(text, columns, indent_first_line=True) global() argument 51 validate(text, columns) global() argument
|
| /llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVMatrixOps.td | 30 Component Type in Result Type. Its number of columns must equal the 31 number of columns in Result Type. Its columns must have the same number 32 of components as the number of columns in LeftMatrix. 127 Vector must be a vector with the same Component Type as the Component Type in Result Type. Its number of components must equal the number of columns in Matrix. 166 Matrix must be an object of type OpTypeMatrix. The number of columns and 217 Type in Result Type. Its number of columns must equal the number of
|
| /llvm-project/llvm/test/CodeGen/Thumb2/ |
| H A D | 2009-09-01-PostRAProlog.ll | 18 @columns = internal global [128 x i32] zeroinitializer ; <ptr> [#uses=18] 40 …%0 = load i32, ptr getelementptr inbounds ([128 x i32], ptr @columns, i32 0, i32 1), align 4 ; <i3… 42 …%2 = load i32, ptr getelementptr inbounds ([128 x i32], ptr @columns, i32 0, i32 2), align 4 ; <i3… 45 …%5 = load i32, ptr getelementptr inbounds ([128 x i32], ptr @columns, i32 0, i32 3), align 4 ; <i3… 47 …%7 = load i32, ptr getelementptr inbounds ([128 x i32], ptr @columns, i32 0, i32 7), align 4 ; <i3… 49 …%9 = load i32, ptr getelementptr inbounds ([128 x i32], ptr @columns, i32 0, i32 6), align 4 ; <i3… 52 …%12 = load i32, ptr getelementptr inbounds ([128 x i32], ptr @columns, i32 0, i32 5), align 4 ; <i… 58 …%.pn3.i = load i32, ptr getelementptr inbounds ([128 x i32], ptr @columns, i32 0, i32 4) ; <i32> […
|
| /llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPT.cpp | 500 SmallVector<StringRef, 2> columns; in GetCPUInfoForLiveProcess() local 501 line.split(columns, StringRef(":"), -1, false); in GetCPUInfoForLiveProcess() 503 if (columns.size() < 2) in GetCPUInfoForLiveProcess() 506 columns[1] = columns[1].trim(" "); in GetCPUInfoForLiveProcess() 507 if (columns[0].contains("cpu family") && in GetCPUInfoForLiveProcess() 508 columns[1].getAsInteger(10, cpu_family)) in GetCPUInfoForLiveProcess() 511 else if (columns[0].contains("model") && columns[1].getAsInteger(10, model)) in GetCPUInfoForLiveProcess() 514 else if (columns[0].contains("stepping") && in GetCPUInfoForLiveProcess() 515 columns[1].getAsInteger(10, stepping)) in GetCPUInfoForLiveProcess() 518 else if (columns[0].contains("vendor_id")) { in GetCPUInfoForLiveProcess() [all …]
|
| /llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | MatrixUtils.h | 35 /// Number of columns of the matrix. 38 /// Number of columns of the first matrix of a multiply / 42 /// Number of rows/columns in a tile. 56 /// The loop iterating on the columns.
|
| /llvm-project/mlir/test/Integration/Dialect/Vector/CPU/ |
| H A D | flat-transpose-row.mlir | 60 %d = vector.flat_transpose %a { rows = 2: i32, columns = 2: i32 } : vector<4xf64> -> vector<4xf64> 61 %e = vector.flat_transpose %b { rows = 2: i32, columns = 2: i32 } : vector<4xf64> -> vector<4xf64> 62 %f = vector.flat_transpose %c { rows = 2: i32, columns = 3: i32 } : vector<6xf64> -> vector<6xf64> 63 %g = vector.flat_transpose %c { rows = 3: i32, columns = 2: i32 } : vector<6xf64> -> vector<6xf64>
|
| H A D | flat-transpose-col.mlir | 60 %d = vector.flat_transpose %a { rows = 2: i32, columns = 2: i32 } : vector<4xf64> -> vector<4xf64> 61 %e = vector.flat_transpose %b { rows = 2: i32, columns = 2: i32 } : vector<4xf64> -> vector<4xf64> 62 %f = vector.flat_transpose %c { rows = 2: i32, columns = 3: i32 } : vector<6xf64> -> vector<6xf64> 63 %g = vector.flat_transpose %c { rows = 3: i32, columns = 2: i32 } : vector<6xf64> -> vector<6xf64>
|
| /llvm-project/llvm/tools/llvm-cov/ |
| H A D | SourceCoverageViewHTML.cpp | 466 SmallVector<std::string, 8> Columns; in emitPrelude() 468 // Format a coverage triple and add the result to the list of columns. in emitTableRow() 470 [&Columns, &Opts](unsigned Hit, unsigned Total, float Pctg) { in emitTableRow() 487 Columns.emplace_back(tag("td", tag("pre", S), CellClass)); in emitTableRow() 490 Columns.emplace_back(tag("td", tag("pre", FirstCol))); in emitTableRow() 515 OS << tag("tr", join(Columns.begin(), Columns.end(), ""), "light-row-bold"); in emitTableRow() 517 OS << tag("tr", join(Columns.begin(), Columns.end(), ""), "light-row"); in emitTableRow() 553 SmallVector<std::string, 4> Columns; in closeViewFile() 471 SmallVector<std::string, 8> Columns; emitTableRow() local 558 SmallVector<std::string, 4> Columns; emitColumnLabelsForIndex() local [all...] |
| /llvm-project/flang/lib/Evaluate/ |
| H A D | fold-matmul.h | 37 ConstantSubscript columns{mb->Rank() == 1 ? 1 : mb->shape()[1]}; in FoldMatmul() 39 elements.reserve(rows * columns); in FoldMatmul() 44 for (ConstantSubscript ci{0}; ci < columns; ++ci) { in FoldMatmul() 107 shape.push_back(columns); in FoldMatmul()
|
| /llvm-project/polly/lib/External/isl/ |
| H A D | isl_tab.h | 77 * The first two columns in the matrix contain the common denominator of 98 * the dead columns are also flagged "is_zero". 113 * Dead columns and redundant rows are detected on the fly. 114 * However, the basic operations do not ensure that all dead columns 117 * to perform an exhaustive search for dead columns and redundant rows.
|
| H A D | isl_factorization.c | 139 int *cnt; /* number of columns in the group */ 192 /* Merge group i with all groups of the subsequent columns 194 * (The previous columns are all zero; otherwise we would have handled 265 * and then grouping columns linked by one or more constraints together, 266 * where a constraints "links" two or more columns if the constraint 267 * has nonzero coefficients in the columns.
|
| /llvm-project/llvm/lib/Support/ |
| H A D | UnicodeNameToCodepoint.cpp | 475 const std::size_t Columns = in nearestMatchesForCodepointName() local 483 Columns * (UnicodeNameToCodepointLargestNameSize + 1), 0); in nearestMatchesForCodepointName() 485 auto Get = [&Distances, Columns](size_t Column, std::size_t Row) -> char & { in nearestMatchesForCodepointName() 486 assert(Column < Columns); in nearestMatchesForCodepointName() 488 return Distances[Row * Columns + Column]; in nearestMatchesForCodepointName() 491 for (std::size_t I = 0; I < Columns; I++) in nearestMatchesForCodepointName() 507 for (std::size_t I = 1; I < Columns; I++) { in nearestMatchesForCodepointName() 520 unsigned Cost = Get(Columns - 1, Row - 1); in nearestMatchesForCodepointName()
|
| /llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | DebugLinesSubsection.h | 50 // ColumnNumberEntry Columns[NumLines]; 68 FixedStreamArray<ColumnNumberEntry> Columns; member 113 std::vector<ColumnNumberEntry> Columns; member
|
| /llvm-project/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.cpp | 207 return key == KeyTy(elementType, rows, columns, scope, use); in construct() 212 columns(std::get<2>(key)), scope(std::get<3>(key)), in operator ==() 217 uint32_t columns; in CooperativeMatrixTypeStorage() 224 uint32_t columns, Scope scope, 226 return Base::get(elementType.getContext(), elementType, rows, columns, scope, 237 return getImpl()->columns; in getElementType() 1113 return emitError() << "matrix can have 2, 3, or 4 columns only"; in getMemberDecorations() 1116 return emitError() << "matrix columns must be vectors of floats"; in getMemberDecorations() 1118 /// The underlying vectors (columns) must be of size 2, 3, or 4 in getMemberDecorations() 1121 return emitError() << "matrix columns mus in getMemberDecorations() 223 uint32_t columns; global() member 230 get(Type elementType,uint32_t rows,uint32_t columns,Scope scope,CooperativeMatrixUseKHR use) get() argument 293 unsigned columns; global() member 299 get(Type elementType,Scope scope,unsigned rows,unsigned columns,MatrixLayout matrixLayout) get() argument [all...] |
| /llvm-project/libc/benchmarks/ |
| H A D | libc-benchmark-analysis.py3 | 54 df = pd.DataFrame(Measurements, index=Index, columns=[getLabel(study)]) 62 for col in df.columns: 81 local = pd.DataFrame(study["Measurements"], columns=["time"])
|