Home
last modified time | relevance | path

Searched full:cols (Results 1 – 25 of 60) sorted by relevance

123

/llvm-project/polly/test/ScopInfo/
H A Dmultidim_many_references.ll9 ; long cols;
13 ; #define M(m,r,c,d) m->data[(r) * m->cols * mt->mdeps + (c) * m->deps + (d)]
20 ; for(j = 1 ; j < a1->cols-1; j++)
26 ; m->rows, m->cols and m->deps happen before the scop.
104 %a1.cols.ptr = getelementptr inbounds %struct.Mat, ptr %a1, i32 0, i32 2
105 %a1.cols = load i64, ptr %a1.cols.ptr, align 8
110 %a2.cols.ptr = getelementptr inbounds %struct.Mat, ptr %a2, i32 0, i32 2
111 %a2.cols = load i64, ptr %a2.cols
[all...]
/llvm-project/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h127 Matrix(unsigned Rows, unsigned Cols) : in Matrix() argument
128 Rows(Rows), Cols(Cols), Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix()
133 Matrix(unsigned Rows, unsigned Cols, PBQPNum InitVal) in Matrix() argument
134 : Rows(Rows), Cols(Cols), in Matrix()
135 Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix()
136 std::fill(Data.get(), Data.get() + (Rows * Cols), InitVal); in Matrix()
141 : Rows(M.Rows), Cols(M.Cols), in Matrix()
142 Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix()
143 std::copy(M.Data.get(), M.Data.get() + (Rows * Cols), Data.get()); in Matrix()
148 : Rows(M.Rows), Cols(M.Cols), Data(std::move(M.Data)) { in Matrix()
[all …]
/llvm-project/polly/test/DeLICM/
H A Dconfused_order___%for.end103---%for.inc116.jscop.transformed9 …"context" : "[cols, rows] -> { : -2147483648 <= cols <= 2147483647 and -2147483648 <= rows <= 214…
16 … "relation" : "[cols, rows] -> { Stmt_for_end103[] -> MemRef_a_dot_b_domain_0_lcssa__phi[] }"
20 "relation" : "[cols, rows] -> { Stmt_for_end103[] -> MemRef_C[0] }"
24 … "relation" : "[cols, rows] -> { Stmt_for_end103[] -> MemRef_a_dot_b_domain_0_lcssa[] }"
27 "domain" : "[cols, rows] -> { Stmt_for_end103[] }",
29 "schedule" : "[cols, rows] -> { Stmt_for_end103[] -> [0] }"
35 "relation" : "[cols, rows] -> { Stmt_if_then110[] -> MemRef_C[0] }"
39 "relation" : "[cols, rows] -> { Stmt_if_then110[] -> MemRef_C[0] }"
42 "domain" : "[cols, rows] -> { Stmt_if_then110[] : cols > 0 and rows > 0 }",
44 "schedule" : "[cols, rows] -> { Stmt_if_then110[] -> [1] }"
H A Dconfused_order___%for.end103---%for.inc116.jscop9 …"context" : "[cols, rows] -> { : -2147483648 <= cols <= 2147483647 and -2147483648 <= rows <= 214…
16 … "relation" : "[cols, rows] -> { Stmt_for_end103[] -> MemRef_a_dot_b_domain_0_lcssa__phi[] }"
20 "relation" : "[cols, rows] -> { Stmt_for_end103[] -> MemRef_C[0] }"
24 … "relation" : "[cols, rows] -> { Stmt_for_end103[] -> MemRef_a_dot_b_domain_0_lcssa[] }"
27 "domain" : "[cols, rows] -> { Stmt_for_end103[] }",
29 "schedule" : "[cols, rows] -> { Stmt_for_end103[] -> [0] }"
35 "relation" : "[cols, rows] -> { Stmt_if_then110[] -> MemRef_C[0] }"
39 … "relation" : "[cols, rows] -> { Stmt_if_then110[] -> MemRef_a_dot_b_domain_0_lcssa[] }"
42 "domain" : "[cols, rows] -> { Stmt_if_then110[] : cols > 0 and rows > 0 }",
44 "schedule" : "[cols, rows] -> { Stmt_if_then110[] -> [1] }"
H A Dconfused_order.ll12 define void @confused_order(ptr nocapture %C, i32 %rows, i32 %cols) {
14 %0 = sext i32 %cols to i64
/llvm-project/llvm/test/Analysis/Delinearization/
H A Dhimeno_1.ll29 … %a.deps to i64) * (1 + (sext i32 %a.cols to i64))) + %a.base),+,(4 * (sext i32 %a.deps to i64) * …
31 ; CHECK: ArrayDecl[UnknownSize][(sext i32 %a.cols to i64)][(sext i32 %a.deps to i64)] with elements…
42 %p.cols.ptr = getelementptr inbounds %struct.Mat, ptr %p, i64 0, i32 3
43 %p.cols = load i32, ptr %p.cols.ptr
44 %p.cols.sub = add i32 %p.cols, -1
45 %p.cols.sext = sext i32 %p.cols.sub to i64
50 %a.cols.ptr = getelementptr inbounds %struct.Mat, ptr %a, i64 0, i32 3
51 %a.cols = load i32, ptr %a.cols.ptr
63 %a.cols.sext = sext i32 %a.cols to i64
69 %tmp1 = mul nsw i64 %a.cols.sext, %i
[all …]
H A Dhimeno_2.ll29 … %a.deps to i64) * (1 + (sext i32 %a.cols to i64))) + %a.base),+,(4 * (sext i32 %a.deps to i64) * …
31 ; CHECK: ArrayDecl[UnknownSize][(sext i32 %a.cols to i64)][(sext i32 %a.deps to i64)] with elements…
42 %p.cols.ptr = getelementptr inbounds %struct.Mat, ptr %p, i64 0, i32 3
43 %p.cols = load i32, ptr %p.cols.ptr
44 %p.cols.sub = add i32 %p.cols, -1
45 %p.cols.sext = sext i32 %p.cols.sub to i64
50 %a.cols.ptr = getelementptr inbounds %struct.Mat, ptr %a, i64 0, i32 3
51 %a.cols = load i32, ptr %a.cols.ptr
52 %a.cols.sext = sext i32 %a.cols to i64
69 %tmp1 = mul nsw i64 %a.cols.sext, %i
[all …]
/llvm-project/polly/test/CodeGen/OpenMP/
H A Dloop-body-references-outer-values-3.ll11 ; AST: for (int c0 = 0; c0 < cols; c0 += 1)
13 ; AST: if (cols <= 0)
20 define void @foo(i64 %cols, ptr noalias %call) {
30 %cmp = icmp slt i64 %indvar.next, %cols
41 ; AST: for (int c0 = 0; c0 < cols; c0 += 1)
43 ; AST: if (cols <= 0)
48 define void @bar(i64 %cols, ptr noalias %call) {
58 %cmp = icmp slt i64 %indvar.next, %cols
/llvm-project/llvm/test/ObjectYAML/DXContainer/
H A DSigElements.yaml38 Cols: 2
50 Cols: 2
62 Cols: 1
73 Cols: 1
107 # CHECK-NEXT: Cols: 2
119 # CHECK-NEXT: Cols: 2
131 # CHECK-NEXT: Cols: 1
142 # CHECK-NEXT: Cols: 1
H A DDomainMaskVectors.yaml84 Cols: 3
96 Cols: 4
108 Cols: 1
119 Cols: 1
130 Cols: 4
141 Cols: 3
H A DHullMaskVectors.yaml78 Cols: 4
90 Cols: 4
102 Cols: 1
113 Cols: 1
124 Cols: 4
H A DGeometryMaskVectors.yaml76 Cols: 4
87 Cols: 2
98 Cols: 4
110 Cols: 4
121 Cols: 4
/llvm-project/flang/runtime/
H A Dmatmul.cpp60 // matrix(rows,n) * matrix(n,cols) -> matrix(rows,cols)
80 SubscriptValue cols, const XT *RESTRICT x, const YT *RESTRICT y,
84 std::memset(product, 0, rows * cols * sizeof *product); in MatrixTimesMatrix()
88 for (SubscriptValue j{0}; j < cols; ++j) { in MatrixTimesMatrix()
113 SubscriptValue cols, const XT *RESTRICT x, const YT *RESTRICT y, in MatrixTimesMatrix()
119 product, rows, cols, x, y, n); in MatrixTimesMatrixHelper()
122 product, rows, cols, x, y, n, 0, *yColumnByteStride); in MatrixTimesMatrixHelper()
127 product, rows, cols, x, y, n, *xColumnByteStride); in MatrixTimesMatrixHelper()
130 product, rows, cols, in MatrixTimesMatrixHelper()
85 MatrixTimesMatrix(CppTypeFor<RCAT,RKIND> * RESTRICT product,SubscriptValue rows,SubscriptValue cols,const XT * RESTRICT x,const YT * RESTRICT y,SubscriptValue n,std::size_t xColumnByteStride=0,std::size_t yColumnByteStride=0) MatrixTimesMatrix() argument
120 MatrixTimesMatrixHelper(CppTypeFor<RCAT,RKIND> * RESTRICT product,SubscriptValue rows,SubscriptValue cols,const XT * RESTRICT x,const YT * RESTRICT y,SubscriptValue n,Fortran::common::optional<std::size_t> xColumnByteStride,Fortran::common::optional<std::size_t> yColumnByteStride) MatrixTimesMatrixHelper() argument
218 VectorTimesMatrix(CppTypeFor<RCAT,RKIND> * RESTRICT product,SubscriptValue n,SubscriptValue cols,const XT * RESTRICT x,const YT * RESTRICT y,std::size_t yColumnByteStride=0) VectorTimesMatrix() argument
244 VectorTimesMatrixHelper(CppTypeFor<RCAT,RKIND> * RESTRICT product,SubscriptValue n,SubscriptValue cols,const XT * RESTRICT x,const YT * RESTRICT y,Fortran::common::optional<std::size_t> yColumnByteStride) VectorTimesMatrixHelper() argument
[all...]
H A Dmatmul-transpose.cpp36 // TRANSPOSE(matrix(n, rows)) * matrix(n,cols) ->
37 // matrix(rows, n) * matrix(n,cols) -> matrix(rows,cols)
60 SubscriptValue cols, const XT *RESTRICT x, const YT *RESTRICT y,
65 std::memset(product, 0, rows * cols * sizeof *product); in MatrixTransposedTimesMatrix() argument
66 for (SubscriptValue j{0}; j < cols; ++j) { in MatrixTransposedTimesMatrix()
92 SubscriptValue cols, const XT *RESTRICT x, const YT *RESTRICT y, in MatrixTransposedTimesMatrix()
98 product, rows, cols, x, y, n); in MatrixTransposedTimesMatrixHelper()
101 product, rows, cols, x, y, n, 0, *yColumnByteStride); in MatrixTransposedTimesMatrixHelper()
106 product, rows, cols, in MatrixTransposedTimesMatrixHelper()
99 MatrixTransposedTimesMatrixHelper(CppTypeFor<RCAT,RKIND> * RESTRICT product,SubscriptValue rows,SubscriptValue cols,const XT * RESTRICT x,const YT * RESTRICT y,SubscriptValue n,Fortran::common::optional<std::size_t> xColumnByteStride,Fortran::common::optional<std::size_t> yColumnByteStride) MatrixTransposedTimesMatrixHelper() argument
227 const SubscriptValue cols{extent[1]}; DoMatmulTranspose() local
[all...]
/llvm-project/llvm/test/CodeGen/X86/AMX/
H A Damx-low-intrinsics-no-amx-bitcast.ll14 ; CHECK: tileload.scalarize.cols.header:
18 ; CHECK: tileload.scalarize.cols.body:
29 ; CHECK: tileload.scalarize.cols.latch:
46 ; CHECK: tileload.scalarize.cols.header8:
50 ; CHECK: tileload.scalarize.cols.body9:
61 ; CHECK: tileload.scalarize.cols.latch10:
78 ; CHECK: tileload.scalarize.cols.header23:
82 ; CHECK: tileload.scalarize.cols.body24:
93 ; CHECK: tileload.scalarize.cols.latch25:
111 ; CHECK: tiledpbssd.scalarize.cols.header:
[all …]
H A Damx-low-intrinsics.ll16 ; CHECK: tileload.scalarize.cols.header:
20 ; CHECK: tileload.scalarize.cols.body:
31 ; CHECK: tileload.scalarize.cols.latch:
63 ; CHECK: tileload.scalarize.cols.header:
67 ; CHECK: tileload.scalarize.cols.body:
78 ; CHECK: tileload.scalarize.cols.latch:
114 ; CHECK: tiledpbssd.scalarize.cols.header:
121 ; CHECK: tiledpbssd.scalarize.cols.body:
148 ; CHECK: tiledpbssd.scalarize.cols.latch:
189 ; CHECK: tiledpbsud.scalarize.cols.header:
[all …]
/llvm-project/polly/lib/External/isl/
H A Disl_local.c72 isl_size cols = isl_mat_cols(mat); in isl_local_dim() local
73 if (cols < 0) in isl_local_dim()
75 return cols - 2; in isl_local_dim()
130 isl_size n, cols; in isl_local_div_is_known() local
141 cols = isl_mat_cols(mat); in isl_local_div_is_known()
142 if (n < 0 || cols < 0) in isl_local_div_is_known()
144 off = cols - n; in isl_local_div_is_known()
/llvm-project/mlir/lib/ExecutionEngine/
H A DCudaRuntimeWrappers.cpp581 mgpuCreateDnMat(intptr_t rows, intptr_t cols, void *values, int32_t dtp, in mgpuCreateDnMat()
585 CUSPARSE_REPORT_IF_ERROR(cusparseCreateDnMat(&mat, rows, cols, /*ld=*/cols, in mgpuDestroyDnMat()
597 mgpuCreateCoo(intptr_t rows, intptr_t cols, intptr_t nnz, void *rowIdxs, in mgpuCreateCoo()
603 CUSPARSE_REPORT_IF_ERROR(cusparseCreateCoo(&mat, rows, cols, nnz, rowIdxs,
611 mgpuCreateCooAoS(intptr_t rows, intptr_t cols, intptr_t nnz, void *idxs, in mgpuCreateCooAoS()
617 &mat, rows, cols, nnz, idxs, values, iTp, CUSPARSE_INDEX_BASE_ZERO, dTp)) in mgpuCreateCsr()
623 mgpuCreateCsr(intptr_t rows, intptr_t cols, intptr_t nnz, void *rowPos, in mgpuCreateCsr()
630 CUSPARSE_REPORT_IF_ERROR(cusparseCreateCsr(&mat, rows, cols, nnz, rowPos, in mgpuCreateCsc() argument
637 mgpuCreateCsc(intptr_t rows, intptr_t cols, intptr_ in mgpuCreateCsc()
574 mgpuCreateDnMat(intptr_t rows,intptr_t cols,void * values,int32_t dtp,CUstream) mgpuCreateDnMat() argument
590 mgpuCreateCoo(intptr_t rows,intptr_t cols,intptr_t nnz,void * rowIdxs,void * colIdxs,void * values,int32_t itp,int32_t dtp,CUstream) mgpuCreateCoo() argument
604 mgpuCreateCooAoS(intptr_t rows,intptr_t cols,intptr_t nnz,void * idxs,void * values,int32_t itp,int32_t dtp,CUstream) mgpuCreateCooAoS() argument
616 mgpuCreateCsr(intptr_t rows,intptr_t cols,intptr_t nnz,void * rowPos,void * colIdxs,void * values,int32_t ptp,int32_t itp,int32_t dtp,CUstream) mgpuCreateCsr() argument
837 int64_t *cols = reinterpret_cast<int64_t *>(c); mgpuSpMatGetSize() local
894 mgpuCreateCuSparseLtDnMat(void * dh,intptr_t rows,intptr_t cols,void * values,int32_t dtp,CUstream) mgpuCreateCuSparseLtDnMat() argument
914 mgpuCusparseLtCreate2To4SpMat(void * sh,intptr_t rows,intptr_t cols,void * values,int32_t dtp,CUstream) mgpuCusparseLtCreate2To4SpMat() argument
[all...]
/llvm-project/compiler-rt/lib/sanitizer_common/scripts/
H A Dgen_dynamic_list.py101 cols = line.split(" ")
102 if len(cols) == 3 and cols[1] in func_symbols:
103 functions.append(cols[2])
/llvm-project/llvm/utils/lit/lit/
H A DProgressBar.py46 they will be stored in the `COLS` and `LINES` attributes.
74 COLS = None #: Width of the terminal (None for unknown) variable in TerminalController
118 self.COLS = curses.tigetnum("cols")
249 if self.term.COLS:
250 self.width = self.term.COLS
/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp167 IntrinName + ".scalarize.cols", B, ColLoop); in createTileLoadStoreLoops()
178 // *.scalarize.cols.body: in createTileLoadStoreLoops()
196 // tileload.scalarize.cols.header: in createTileLoadStoreLoops()
198 // ], [ %ResVec, %tileload.scalarize.cols.latch ] in createTileLoadStoreLoops()
203 // tileload.scalarize.cols.body: in createTileLoadStoreLoops()
219 // tilestore.scalarize.cols.body: in createTileLoadStoreLoops()
281 IntrinName + ".scalarize.cols", B, ColLoop); in createTileDPLoops()
325 // tiledpbssd.scalarize.cols.header: in createTileDPLoops()
328 // %tiledpbssd.scalarize.cols.latch ] in createTileDPLoops()
332 // %tiledpbssd.scalarize.cols in createTileDPLoops()
[all...]
/llvm-project/llvm/test/CodeGen/ARM/
H A Ddivmod.ll47 define void @do_indent(i32 %cols) nounwind {
62 %4 = srem i32 %cols, %3
63 %5 = sdiv i32 %cols, %3
/llvm-project/llvm/test/Transforms/LowerMatrixIntrinsics/
H A Dmultiply-fused-loops.ll13 ; CHECK: cols.header:
16 ; CHECK: cols.body:
64 ; CHECK: cols.latch:
89 ; CHECK: cols.header:
92 ; CHECK: cols.body:
144 ; CHECK: cols.latch:
175 ; CHECK: cols.header:
178 ; CHECK: cols.body:
230 ; CHECK: cols.latch:
292 ; CHECK: cols
[all...]
/llvm-project/clang/test/SemaTemplate/
H A Dmatrix-type.cpp13 template <unsigned Rows, unsigned Cols>
15 …using matrix1_t = float __attribute__((matrix_type(Rows, Cols))); // expected-error{{zero matrix s… in matrix_template_3()
23 template <int Rows, unsigned Cols>
25 …using matrix1_t = float __attribute__((matrix_type(Rows, Cols))); // expected-error{{matrix row si… in matrix_template_4()
/llvm-project/clang/test/CodeGen/
H A Ddebug-info-matrix-types.c12 // CHECK: [[ELEMENTS]] = !{[[COLS:![0-9]+]], [[ROWS:![0-9]+]]} in load_store_double()
13 // CHECK: [[COLS]] = !DISubrange(count: 3) in load_store_double()

123