Home
last modified time | relevance | path

Searched refs:cst0 (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/CPU/
H A Dsparse_mttkrp.mlir69 %cst0 = arith.constant 0 : index
74 %fileName = call @getTensorFilename(%cst0) : (index) -> (!Filename)
79 %isz = tensor.dim %b, %cst0 : tensor<?x?x?xf64, #SparseTensor>
86 %c = scf.for %k = %cst0 to %ksz step %cst1 iter_args(%c1 = %c0) -> tensor<?x?xf64> {
87 %c2 = scf.for %j = %cst0 to %jsz step %cst1 iter_args(%c3 = %c1) -> tensor<?x?xf64> {
100 %d = scf.for %l = %cst0 to %lsz step %cst1 iter_args(%d1 = %d0) -> tensor<?x?xf64> {
101 %d2 = scf.for %j = %cst0 to %jsz step %cst1 iter_args(%d3 = %d1) -> tensor<?x?xf64> {
114 %a = scf.for %i = %cst0 to %isz step %cst1 iter_args(%a1 = %a0) -> tensor<?x?xf64> {
115 %a2 = scf.for %j = %cst0 to %jsz step %cst1 iter_args(%a3 = %a1) -> tensor<?x?xf64> {
132 %v = vector.transfer_read %0[%cst0, %cst0], %f0
/llvm-project-15.0.7/mlir/test/Dialect/Quant/
H A Dconvert-const.mlir149 // CHECK-DAG: %[[cst0:.*]] = arith.constant dense<0> : tensor<7xi8>
150 // CHECK: "quant.scast"(%[[cst0]]) : (tensor<7xi8>) -> tensor<7x!quant.uniform<i8:f32, 1.000000e+00…
152 // CHECK: "quant.scast"(%[[cst0]]) : (tensor<7xi8>) -> tensor<7x!quant.uniform<u8:f32, 1.000000e+00…
159 %cst0 = arith.constant dense<0.0> : tensor<7xf32>
160 …%3 = "quant.qcast"(%cst0) : (tensor<7xf32>) -> tensor<7x!quant.uniform<i8<-127:127>:f32, 1.0:-127>>
179 // CHECK-DAG: %[[cst0:.*]] = arith.constant dense<{{\[}}[-128, -1, 1], [127, 1, 3]]> : tensor<2x3xi…
182 // CHECK: "quant.scast"(%[[cst0]]) : (tensor<2x3xi8>) -> tensor<2x3x!quant.uniform<i8:f32:1, {7.812…
188 %cst0 = arith.constant dense<[[-2.0, -0.5, 0.0], [0.0, 1.0, 2.0]]> : tensor<2x3xf32>
189 …%3 = "quant.qcast"(%cst0) : (tensor<2x3xf32>) -> tensor<2x3x!quant.uniform<i8:f32:1, {7.812500e-03…
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DLowerToLLVM.cpp157 Value cst0 = builder.create<LLVM::ConstantOp>( in getOrCreateGlobalString() local
163 globalPtr, ArrayRef<Value>({cst0, cst0})); in getOrCreateGlobalString()
/llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/
H A DLowerToLLVM.cpp157 Value cst0 = builder.create<LLVM::ConstantOp>( in getOrCreateGlobalString() local
163 globalPtr, ArrayRef<Value>({cst0, cst0})); in getOrCreateGlobalString()
/llvm-project-15.0.7/mlir/test/Integration/GPU/CUDA/
H A Dall-reduce-max.mlir14 %cst0 = arith.constant 0 : i32
40 memref.store %cst0, %data[%c0, %c0] : memref<2x6xi32>
H A Dall-reduce-and.mlir14 %cst0 = arith.constant 0 : i32
40 memref.store %cst0, %data[%c0, %c0] : memref<2x6xi32>
H A Dall-reduce-or.mlir14 %cst0 = arith.constant 0 : i32
40 memref.store %cst0, %data[%c0, %c0] : memref<2x6xi32>
H A Dall-reduce-xor.mlir14 %cst0 = arith.constant 0 : i32
40 memref.store %cst0, %data[%c0, %c0] : memref<2x6xi32>
H A Dall-reduce-min.mlir14 %cst0 = arith.constant 0 : i32
40 memref.store %cst0, %data[%c0, %c0] : memref<2x6xi32>
H A Dmultiple-all-reduce.mlir15 %cst0 = arith.constant 0.0 : f32
43 memref.store %cst0, %data[%c0, %c0] : memref<2x6xf32>
/llvm-project-15.0.7/mlir/test/Conversion/VectorToGPU/
H A Dvector-to-mma-ops-mma-sync.mlir41 %cst0 = arith.constant 0 : i32
89 …%C = vector.transfer_read %arg2[%c49, %c40], %cst0 {in_bounds = [true, true]} : memref<128x128xi32…
133 %cst0 = arith.constant 0.0 : f64
154 …%C = vector.transfer_read %arg2[%c49, %c40], %cst0 {in_bounds = [true, true]} : memref<128x128xf64…
432 %cst0 = arith.constant 0 : i32
458 …%C = vector.transfer_read %arg2[%c0, %c0], %cst0 {in_bounds = [true, true]} : memref<128x128xi32>,…
503 %cst0 = arith.constant 0 : i32
526 …%C = vector.transfer_read %arg2[%c0, %c0], %cst0 {in_bounds = [true, true]} : memref<128x128xi32>,…
/llvm-project-15.0.7/mlir/test/Transforms/
H A Dsccp-callgraph.mlir268 %cst0 = arith.constant 0 : i32
270 %result = arith.select %true, %cst0, %cst1 : i32
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Utils/
H A DUtils.cpp695 auto cst0 = outsideBuilder.create<arith::ConstantIndexOp>(loc, 0); in collapseParallelLoops() local
703 lowerBounds.push_back(cst0); in collapseParallelLoops()
/llvm-project-15.0.7/mlir/test/Conversion/VectorToSCF/
H A Dvector-to-scf.mlir414 // CHECK-DAG: %[[cst0:.*]] = arith.constant dense<0.000000e+00> : vector<3xf32>
424 // CHECK: memref.store %[[cst0]], %[[cast]][%[[arg1]]] : memref<3xvector<3xf32>>
/llvm-project-15.0.7/mlir/test/Dialect/Affine/SuperVectorize/
H A Dvectorize_reduction.mlir359 %cst0 = arith.constant 0 : i64
362 …%sum, %prod = affine.for %j = 0 to 512 iter_args(%part_sum = %cst0, %part_prod = %cst1) -> (i64, i…
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp2937 Value cst0 = builder.create<LLVM::ConstantOp>( in createGlobalString() local
2942 ValueRange{cst0, cst0}); in createGlobalString()
/llvm-project-15.0.7/mlir/test/Conversion/AffineToStandard/
H A Dlower-affine.mlir258 %cst0 = arith.constant 0 : i64
262 affine.yield %cst0 : i64
/llvm-project-15.0.7/mlir/test/Dialect/Vector/
H A Dcanonicalize.mlir727 %cst0 = arith.constant dense<0.0> : vector<8xf16> // bit pattern: 0x0000
729 %cast0 = vector.bitcast %cst0: vector<8xf16> to vector<4xf32>