Home
last modified time | relevance | path

Searched refs:cst (Results 1 – 25 of 231) sorted by relevance

12345678910

/llvm-project-15.0.7/mlir/test/Dialect/Math/
H A Dcanonicalize.mlir5 // CHECK: return %[[cst]]
14 // CHECK: return %[[cst]]
23 // CHECK: return %[[cst]]
32 // CHECK: return %[[cst]]
51 // CHECK: return %[[cst]]
79 // CHECK: return %[[cst]]
88 // CHECK: return %[[cst]]
97 // CHECK: return %[[cst]]
107 // CHECK: return %[[cst]]
116 // CHECK: return %[[cst]]
[all …]
/llvm-project-15.0.7/mlir/lib/Analysis/Presburger/
H A DUtils.cpp96 assert(ubIneq <= cst.getNumInequalities() && in getDivRepr()
98 assert(lbIneq <= cst.getNumInequalities() && in getDivRepr()
103 divisor = cst.atIneq(lbIneq, pos); in getDivRepr()
109 if (cst.atIneq(ubIneq, i) != -cst.atIneq(lbIneq, i)) in getDivRepr()
118 int64_t constantSum = cst.atIneq(lbIneq, cst.getNumCols() - 1) + in getDivRepr()
119 cst.atIneq(ubIneq, cst.getNumCols() - 1); in getDivRepr()
132 expr[i] = cst.atIneq(ubIneq, i); in getDivRepr()
137 expr.back() = cst.atIneq(ubIneq, cst.getNumCols() - 1) + c; in getDivRepr()
165 int64_t tempDiv = cst.atEq(eqInd, pos); in getDivRepr()
175 expr[i] = -signDiv * cst.atEq(eqInd, i); in getDivRepr()
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/GPU/
H A Doutlining.mlir70 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
72 threads(%tx, %ty, %tz) in (%block_x = %cst, %block_y = %cst,
77 gpu.launch blocks(%bx2, %by2, %bz2) in (%grid_x2 = %cst, %grid_y2 = %cst,
124 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
126 threads(%tx, %ty, %tz) in (%block_x = %cst, %block_y = %cst,
150 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
152 threads(%tx, %ty, %tz) in (%block_x = %cst, %block_y = %cst,
180 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
182 threads(%tx, %ty, %tz) in (%block_x = %cst, %block_y = %cst,
258 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
[all …]
H A Dsink-ops.mlir7 %cst = arith.constant 8 : index
12 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
13 %grid_z = %cst)
14 threads(%tx, %ty, %tz) in (%block_x = %cst, %block_y = %cst,
15 %block_z = %cst) {
33 %cst = arith.constant 8 : index
39 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst,
40 %grid_z = %cst)
41 threads(%tx, %ty, %tz) in (%block_x = %cst, %block_y = %cst,
42 %block_z = %cst) {
H A Dops.mlir115 %cst = arith.constant 8 : index
120 …gpu.launch_func @kernels::@kernel_1 blocks in (%cst, %cst, %cst) threads in (%cst, %cst, %cst) arg…
122 …gpu.launch_func @kernels::@kernel_1 blocks in (%cst, %cst, %cst) threads in (%cst, %cst, %cst) dyn…
125 gpu.launch_func @kernels::@kernel_2 blocks in (%cst, %cst, %cst) threads in (%cst, %cst, %cst)
128 …nch_func async [%t0] @kernels::@kernel_2 blocks in (%cst, %cst, %cst) threads in (%cst, %cst, %cs…
266 %cst = arith.constant 1.000000e+00 : f32
267 // CHECK: %[[cst:.*]] = arith.constant 1.000000e+00 : f32
272 %1 = gpu.subgroup_mma_constant_matrix %cst : !gpu.mma_matrix<16x16xf32, "COp">
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dlegalize-fp16-fconstant.mir11 ; NO-FP16: %cst:_(s16) = G_CONSTANT i16 0
12 ; NO-FP16-NEXT: $h0 = COPY %cst(s16)
16 ; FP16-NEXT: $h0 = COPY %cst(s16)
18 %cst:_(s16) = G_FCONSTANT half 0.0
19 $h0 = COPY %cst
29 ; NO-FP16-NEXT: $h0 = COPY %cst(s16)
33 ; FP16-NEXT: $h0 = COPY %cst(s16)
35 %cst:_(s16) = G_FCONSTANT half 2.0
36 $h0 = COPY %cst
54 %cst:_(s16) = G_FCONSTANT half 0xH7C01
[all …]
H A Dxro-addressing-mode-constant.mir20 ; cst = 0000000111000000
21 ; cst & 000fffffff000000 != 0
48 ; cst = 000000000000f000
49 ; cst & 000fffffff000000 == 0
50 ; cst & ffffffffffff0fff != 0
107 %cst:gpr(s64) = G_CONSTANT i64 16
153 %cst:gpr(s64) = G_CONSTANT i64 0
195 ; cst = 0x0000000000111000
196 ; cst & 000fffffff000000 = 0
197 ; cst & ffffffffff00ffff != 0
[all …]
H A Dprelegalizercombiner-trivial-arith.mir17 %cst:_(s32) = G_CONSTANT i32 0
18 %op:_(s32) = G_SUB %x(s32), %cst
38 %cst:_(s32) = G_CONSTANT i32 0
39 %op:_(s32) = G_ADD %x(s32), %cst
59 %cst:_(s32) = G_CONSTANT i32 0
84 %cst:_(s32) = G_CONSTANT i32 0
106 %cst:_(s32) = G_CONSTANT i32 0
107 %op:_(s32) = G_SDIV %cst, %x
128 %op:_(s32) = G_UDIV %cst, %x
149 %op:_(s32) = G_SREM %cst, %x
[all …]
H A Dprelegalizer-combiner-icmp-to-true-false-known-bits.mir52 %cst:_(s32) = G_CONSTANT i32 1
53 %cmp:_(s1) = G_ICMP intpred(eq), %cst(s32), %cst
95 %cst:_(s32) = G_CONSTANT i32 2
117 %cst:_(s32) = G_CONSTANT i32 3
139 %cst:_(s32) = G_CONSTANT i32 1
184 %cst:_(s32) = G_CONSTANT i32 2
228 %cst:_(s32) = G_CONSTANT i32 1
250 %cst:_(s32) = G_CONSTANT i32 0
272 %cst:_(s32) = G_CONSTANT i32 0
546 %bv:_(<2 x s32>) = G_BUILD_VECTOR %cst, %cst
[all …]
H A Dpostlegalizer-lowering-adjust-icmp-imm.mir38 %cst:_(s32) = G_CONSTANT i32 4097
74 %cst:_(s64) = G_CONSTANT i64 4097
110 %cst:_(s32) = G_CONSTANT i32 4097
146 %cst:_(s64) = G_CONSTANT i64 4097
182 %cst:_(s32) = G_CONSTANT i32 4097
218 %cst:_(s64) = G_CONSTANT i64 4097
254 %cst:_(s32) = G_CONSTANT i32 4097
290 %cst:_(s64) = G_CONSTANT i64 4097
328 %cst:_(s32) = G_CONSTANT i32 8191
636 %cst:_(s64) = G_CONSTANT i64 0
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/Quant/
H A Dconvert-const.mlir14 // CHECK: %cst = arith.constant dense<-64> : tensor<4xi8>
16 %cst = arith.constant dense<0.5> : tensor<4xf32>
26 // CHECK: %cst = arith.constant dense<63> : tensor<4xi8>
28 %cst = arith.constant dense<0.5> : tensor<4xf32>
38 // CHECK: %cst = arith.constant dense<64> : tensor<4xi8>
40 %cst = arith.constant dense<0.5> : tensor<4xf32>
50 // CHECK: %cst = arith.constant dense<-64> : tensor<4xi8>
51 %cst = arith.constant dense<-0.5> : tensor<4xf32>
74 %cst = arith.constant sparse<
88 %cst = arith.constant 0.5 : f32
[all …]
/llvm-project-15.0.7/mlir/test/Conversion/GPUToSPIRV/
H A Dsimple.mlir20 %cst = arith.constant 1 : index
22 blocks in (%cst, %cst, %cst) threads in (%cst, %cst, %cst)
66 %cst = arith.constant 1 : index
68 blocks in (%cst, %cst, %cst) threads in (%cst, %cst, %cst)
124 %cst = arith.constant 1 : index
126 blocks in (%cst, %cst, %cst) threads in (%cst, %cst, %cst)
H A Dmodule-structure-opencl.mlir24 %cst = arith.constant 1 : index
26 blocks in (%cst, %cst, %cst) threads in (%cst, %cst, %cst)
/llvm-project-15.0.7/mlir/test/Dialect/OpenACC/
H A Dinvalid.mlir84 %cst = arith.constant 1 : index
91 %cst = arith.constant 1 : index
98 %cst = arith.constant 1 : index
105 %cst = arith.constant 1 : index
107 acc.wait wait_devnum(%cst: index)
111 %cst = arith.constant 1 : index
164 %cst = arith.constant 1 : index
171 %cst = arith.constant 1 : index
183 %cst = arith.constant 1 : index
190 %cst = arith.constant 1 : index
[all …]
/llvm-project-15.0.7/lld/test/ELF/
H A Dmerge-entsize2.s6 # RUN: llvm-readelf -x .cst %t | FileCheck --check-prefix=HEX %s
10 # RUN: llvm-readelf -x .cst %t1.o | FileCheck --check-prefix=HEX %s
15 ## .cst 0 and .cst 1 are merged (sh_entsize=4). The result and .cst 2 and
18 # SEC: .cst PROGBITS {{.*}} 000020 00 AM 0 0 8
24 .section .cst,"aM",@progbits,4,unique,0
30 .section .cst,"aM",@progbits,4,unique,1
36 .section .cst,"aM",@progbits,8,unique,2
/llvm-project-15.0.7/mlir/test/Integration/GPU/ROCM/
H A Dvector-transferops.mlir14 %cst = arith.constant 1 : index
15 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst, %grid_z = %cst)
16 threads(%tx, %ty, %tz) in (%block_x = %cst, %block_y = %cst, %block_z = %cst) {
34 %cst = arith.constant 1 : index
35 gpu.launch blocks(%bx, %by, %bz) in (%grid_x = %cst, %grid_y = %cst, %grid_z = %cst)
36 threads(%tx, %ty, %tz) in (%block_x = %cst, %block_y = %cst, %block_z = %cst) {
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/ODS/
H A DContext.cpp91 auto printVariableLengthCst = [&](StringRef cst, VariableLengthKind kind) { in print() argument
94 os << "Optional<" << cst << ">"; in print()
97 os << cst; in print()
100 os << "Variadic<" << cst << ">"; in print()
159 printer.startLine() << "AttributeConstraint `" << cst->getDemangledName() in print()
163 printer.startLine() << "Summary: " << cst->getSummary() << "\n"; in print()
164 printer.startLine() << "CppClass: " << cst->getCppClass() << "\n"; in print()
167 for (const TypeConstraint *cst : sortMapByName(typeConstraints)) { in print() local
168 printer.startLine() << "TypeConstraint `" << cst->getDemangledName() in print()
172 printer.startLine() << "Summary: " << cst->getSummary() << "\n"; in print()
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/Affine/
H A Daffine-loop-invariant-code-motion.mlir140 // CHECK-NEXT: %2 = arith.addf %cst, %cst : f32
168 // CHECK-NEXT: %2 = arith.addf %cst, %cst : f32
198 // CHECK-NEXT: %2 = arith.addf %cst, %cst : f32
228 // CHECK-NEXT: %2 = arith.addf %cst, %cst : f32
257 // CHECK-NEXT: %2 = arith.addf %cst, %cst : f32
288 // CHECK-NEXT: %1 = arith.addf %cst, %cst : f32
316 // CHECK-NEXT: %1 = arith.addf %cst, %cst : f32
347 // CHECK-NEXT: %1 = arith.addf %cst, %cst : f32
383 // CHECK-NEXT: %1 = arith.addf %cst, %cst : f32
424 // CHECK-NEXT: %2 = arith.addf %cst, %cst : f32
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Analysis/
H A DUtils.cpp75 if (failed(cst.addAffineForOpDomain(loop))) in getSourceAsConstraints()
93 cst->reset(numDims, numSymbols, 0, values); in getAsConstraints()
414 auto boundPairs = cst.getLowerAndUpperBound( in getLowerAndUpperBound()
554 cst.setDimSymbolSeparation(cst.getNumDimAndSymbolVars() - rank); in compute()
563 cst.getValues(cst.getNumDimVars(), cst.getNumDimAndSymbolVars(), &vars); in compute()
568 cst.projectOut(var); in compute()
574 cst.projectOut(cst.getNumDimAndSymbolVars(), cst.getNumLocalVars()); in compute()
577 cst.constantFoldVarRange(/*pos=*/cst.getNumDimVars(), in compute()
595 cst.removeTrivialRedundancy(); in compute()
598 LLVM_DEBUG(cst.dump()); in compute()
[all …]
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_polynomial.c185 if (!cst) in isl_poly_is_zero()
201 if (!cst) in isl_poly_sgn()
269 r = isl_int_eq(cst->n, cst->d) && isl_int_is_pos(cst->d); in isl_poly_is_one()
740 isl_int_gcd(gcd, cst->n, cst->d); in isl_poly_cst_reduce()
742 isl_int_divexact(cst->n, cst->n, gcd); in isl_poly_cst_reduce()
743 isl_int_divexact(cst->d, cst->d, gcd); in isl_poly_cst_reduce()
939 isl_int_addmul(cst->n, cst->d, v); in isl_poly_cst_add_isl_int()
988 isl_int_mul(cst->n, cst->n, v); in isl_poly_cst_mul_isl_int()
1042 isl_int_mul(cst->n, cst->n, v->n); in isl_poly_cst_scale_val()
1043 isl_int_mul(cst->d, cst->d, v->d); in isl_poly_cst_scale_val()
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/Affine/SuperVectorize/
H A Dvectorize_reduction.mlir6 %cst = arith.constant 0.000000e+00 : f32
33 %cst = arith.constant 0x7F800000 : f32
60 %cst = arith.constant 0xFF800000 : f32
87 %cst = arith.constant 2147483647 : i32
141 %cst = arith.constant -1 : i32
168 %cst = arith.constant 0 : i32
195 %cst = arith.constant -1 : i32
222 %cst = arith.constant 0 : i32
320 …%sum, %prod = affine.for %j = 0 to 512 iter_args(%part_sum = %cst, %part_prod = %cst) -> (f32, f32…
345 // (%cst) since it is not zero.
[all …]
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/CPU/
H A Dsparse_cast.mlir55 linalg.yield %cst : f32
66 linalg.yield %cst : f32
77 linalg.yield %cst : i32
88 linalg.yield %cst : i32
98 %cst = arith.extf %a : f32 to f64
99 linalg.yield %cst : f64
110 linalg.yield %cst : f32
121 linalg.yield %cst : i64
132 linalg.yield %cst : i64
143 linalg.yield %cst : i8
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/CodeGenPrepare/X86/
H A Dext-logicop.ll7 ; ext(and(ld, cst)) -> and(ext(ld), ext(cst))
31 ; ext(or(ld, cst)) -> or(ext(ld), ext(cst))
55 ; ext(and(shl(ld, cst), cst)) -> and(shl(ext(ld), ext(cst)), ext(cst))
81 ; zext(shrl(ld, cst)) -> shrl(zext(ld), zext(cst))
105 ; ext(xor(ld, cst)) -> xor(ext(ld), ext(cst))
/llvm-project-15.0.7/mlir/test/Conversion/VectorToGPU/
H A Dvector-to-mma-ops.mlir18 %cst = arith.constant 0.000000e+00 : f16
19 …%A = vector.transfer_read %arg0[%c0, %c0], %cst {in_bounds = [true, true]} : memref<16x16xf16>, ve…
21 …%C = vector.transfer_read %arg2[%c0, %c0], %cst {in_bounds = [true, true]} : memref<16x16xf16>, ve…
37 %cst = arith.constant 0.000000e+00 : f16
55 %cst = arith.constant 0.000000e+00 : f16
76 %cst = arith.constant 0.000000e+00 : f16
102 %cst = arith.constant 0.000000e+00 : f16
124 %cst = arith.constant 0.000000e+00 : f16
128 %E = vector.transfer_read %arg3[%c0, %c0, %c0, %c0], %cst
146 %cst = arith.constant 0.000000e+00 : f16
[all …]
/llvm-project-15.0.7/mlir/test/Dialect/Tensor/
H A Dfold-constant-extract-slice.mlir9 %cst = arith.constant dense<[[10.0], [11.0]]> : tensor<2x1xf32>
10 %slice = tensor.extract_slice %cst[0, 0] [1, 1] [1, 1] : tensor<2x1xf32> to tensor<1x1xf32>
22 …%cst = arith.constant dense<[[10.0, 9.0, 8.0, 7.0], [11.0, 12.0, 13.0, 14.0], [1.0, 3.0, 5.0, 7.0]…
23 %slice = tensor.extract_slice %cst[0, 0] [2, 2] [1, 1] : tensor<3x4xf32> to tensor<2x2xf32>
35 …%cst = arith.constant dense<[[10.0, 9.0, 8.0, 7.0], [11.0, 12.0, 13.0, 14.0], [1.0, 3.0, 5.0, 7.0]…
36 %slice = tensor.extract_slice %cst[1, 1] [2, 2] [1, 1] : tensor<3x4xf32> to tensor<2x2xf32>

12345678910