| /llvm-project-15.0.7/mlir/test/Dialect/Arithmetic/ |
| H A D | ops.mlir | 6 %0 = arith.addi %arg0, %arg1 : i64 30 %0 = arith.subi %arg0, %arg1 : i64 54 %0 = arith.muli %arg0, %arg1 : i64 78 %0 = arith.divui %arg0, %arg1 : i64 102 %0 = arith.divsi %arg0, %arg1 : i64 126 %0 = arith.remui %arg0, %arg1 : i64 150 %0 = arith.remsi %arg0, %arg1 : i64 174 %0 = arith.andi %arg0, %arg1 : i64 198 %0 = arith.ori %arg0, %arg1 : i64 222 %0 = arith.xori %arg0, %arg1 : i64 [all …]
|
| H A D | canonicalize.mlir | 88 %0 = arith.cmpi eq, %arg0, %arg0 : i64 89 %1 = arith.cmpi sle, %arg0, %arg0 : i64 90 %2 = arith.cmpi sge, %arg0, %arg0 : i64 91 %3 = arith.cmpi ule, %arg0, %arg0 : i64 92 %4 = arith.cmpi uge, %arg0, %arg0 : i64 93 %5 = arith.cmpi ne, %arg0, %arg0 : i64 94 %6 = arith.cmpi slt, %arg0, %arg0 : i64 95 %7 = arith.cmpi sgt, %arg0, %arg0 : i64 96 %8 = arith.cmpi ult, %arg0, %arg0 : i64 97 %9 = arith.cmpi ugt, %arg0, %arg0 : i64 [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | gl-ops.mlir | 7 func.func @exp(%arg0 : f32) -> () { 9 %2 = spv.GL.Exp %arg0 : f32 21 func.func @exp(%arg0 : i32) -> () { 23 %2 = spv.GL.Exp %arg0 : i32 47 %2 = spv.GL.Exp %arg0 : 119 %2 = spv.GL.Sqrt %arg0 : f32 135 %2 = spv.GL.Cos %arg0 : f32 151 %2 = spv.GL.Sin %arg0 : f32 167 %2 = spv.GL.Tan %arg0 : f32 183 %2 = spv.GL.Acos %arg0 : f32 [all …]
|
| H A D | cast-ops.mlir | 7 func.func @cast1(%arg0 : f32) { 9 %0 = spv.Bitcast %arg0 : f32 to i32 13 func.func @cast2(%arg0 : vector<2xf32>) { 19 func.func @cast3(%arg0 : vector<2xf32>) { 37 func.func @cast6(%arg0 : vector<4xf32>) { 45 func.func @cast1(%arg0 : f32) { 47 %0 = spv.Bitcast %arg0 : f32 to f32 53 func.func @cast1(%arg0 : f32) { 55 %0 = spv.Bitcast %arg0 : f32 to i64 77 func.func @cast3(%arg0 : i64) { [all …]
|
| H A D | ocl-ops.mlir | 7 func.func @exp(%arg0 : f32) -> () { 9 %2 = spv.CL.exp %arg0 : f32 21 func.func @exp(%arg0 : i32) -> () { 23 %2 = spv.CL.exp %arg0 : i32 47 %2 = spv.CL.exp %arg0 : 59 %2 = spv.CL.fabs %arg0 : f32 71 %2 = spv.CL.fabs %arg0 : f64 79 %2 = spv.CL.fabs %arg0 : i32 103 %2 = spv.CL.fabs %arg0 : 133 %2 = spv.CL.s_abs %arg0 : i8 [all …]
|
| H A D | logical-ops.mlir | 9 %0 = spv.IEqual %arg0, %arg1 : i32 41 %0 = spv.IsInf %arg0 : f32 59 %0 = spv.IsNan %arg0 : f32 94 %0 = spv.LogicalAnd %arg0, %arg1 112 %0 = spv.LogicalAnd %arg0 : i1 125 %0 = spv.LogicalNot %arg0 : i1 140 func.func @logicalUnary(%arg0 : i1) 143 %0 = spv.LogicalNot %arg0 149 func.func @logicalUnary(%arg0 : i1) 152 %0 = spv.LogicalNot %arg0 : [all …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/ |
| H A D | comparison-ops-to-llvm.mlir | 10 %0 = spv.IEqual %arg0, %arg1 : i32 17 %0 = spv.IEqual %arg0, %arg1 : vector<4xi64> 28 %0 = spv.INotEqual %arg0, %arg1 : i64 64 %0 = spv.SGreaterThan %arg0, %arg1 : i64 82 %0 = spv.SLessThanEqual %arg0, %arg1 : i64 100 %0 = spv.SLessThan %arg0, %arg1 : i64 136 %0 = spv.UGreaterThan %arg0, %arg1 : i64 172 %0 = spv.ULessThan %arg0, %arg1 : i64 190 %0 = spv.FOrdEqual %arg0, %arg1 : f32 244 %0 = spv.FOrdLessThan %arg0, %arg1 : f64 [all …]
|
| H A D | arithmetic-ops-to-llvm.mlir | 10 %0 = spv.IAdd %arg0, %arg1 : i32 28 %0 = spv.ISub %arg0, %arg1 : i8 46 %0 = spv.IMul %arg0, %arg1 : i32 64 %0 = spv.FAdd %arg0, %arg1 : f16 82 %0 = spv.FSub %arg0, %arg1 : f32 100 %0 = spv.FDiv %arg0, %arg1 : f32 118 %0 = spv.FMul %arg0, %arg1 : f32 136 %0 = spv.FRem %arg0, %arg1 : f32 172 %0 = spv.UDiv %arg0, %arg1 : i32 190 %0 = spv.UMod %arg0, %arg1 : i32 [all …]
|
| H A D | logical-ops-to-llvm.mlir | 10 %0 = spv.LogicalEqual %arg0, %arg0 : i1 17 %0 = spv.LogicalEqual %arg0, %arg0 : vector<4xi1> 28 %0 = spv.LogicalNotEqual %arg0, %arg0 : i1 35 %0 = spv.LogicalNotEqual %arg0, %arg0 : vector<4xi1> 44 spv.func @logical_not_scalar(%arg0: i1) "None" { 47 %0 = spv.LogicalNot %arg0 : i1 55 %0 = spv.LogicalNot %arg0 : vector<4xi1> 66 %0 = spv.LogicalAnd %arg0, %arg0 : i1 73 %0 = spv.LogicalAnd %arg0, %arg0 : vector<4xi1> 84 %0 = spv.LogicalOr %arg0, %arg0 : i1 [all …]
|
| H A D | shift-ops-to-llvm.mlir | 10 %0 = spv.ShiftRightArithmetic %arg0, %arg0 : i32, i32 13 %1 = spv.ShiftRightArithmetic %arg0, %arg1 : i32, si32 17 %2 = spv.ShiftRightArithmetic %arg0, %arg2 : i32, i16 28 %0 = spv.ShiftRightArithmetic %arg0, %arg0 : vector<4xi64>, vector<4xi64> 50 %0 = spv.ShiftRightLogical %arg0, %arg0 : i32, i32 53 %1 = spv.ShiftRightLogical %arg0, %arg1 : i32, si32 57 %2 = spv.ShiftRightLogical %arg0, %arg2 : i32, si16 68 %0 = spv.ShiftRightLogical %arg0, %arg0 : vector<4xi64>, vector<4xi64> 90 %0 = spv.ShiftLeftLogical %arg0, %arg0 : i32, i32 97 %2 = spv.ShiftLeftLogical %arg0, %arg2 : i32, i16 [all …]
|
| H A D | cast-ops-to-llvm.mlir | 10 %0 = spv.Bitcast %arg0: f32 to i32 17 %0 = spv.Bitcast %arg0: vector<3xf32> to vector<3xi32> 24 %0 = spv.Bitcast %arg0: vector<2xf32> to i64 31 %0 = spv.Bitcast %arg0: f64 to vector<2xi32> 56 %0 = spv.ConvertFToS %arg0: f32 to i32 74 %0 = spv.ConvertFToU %arg0: f32 to i32 92 %0 = spv.ConvertSToF %arg0: i32 to f32 110 %0 = spv.ConvertUToF %arg0: i32 to f32 128 %0 = spv.FConvert %arg0: f32 to f64 152 %0 = spv.SConvert %arg0: i32 to i64 [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/Async/ |
| H A D | runtime.mlir | 46 async.runtime.set_error %arg0 : !async.token 79 func.func @await_token(%arg0: !async.token) { 81 async.runtime.await %arg0 : !async.token 93 func.func @await_group(%arg0: !async.group) { 95 async.runtime.await %arg0 : !async.group 125 // CHECK: async.runtime.resume %arg0 126 async.runtime.resume %arg0 133 async.runtime.store %arg0, %arg1 : <f32> 141 %0 = async.runtime.load %arg0 : <f32> 156 func.func @add_ref(%arg0: !async.token) { [all …]
|
| H A D | async-runtime-ref-counting-opt.mlir | 3 func.func private @consume_token(%arg0: !async.token) 6 func.func @cancellable_operations_0(%arg0: !async.token) { 16 func.func @cancellable_operations_1(%arg0: !async.token) { 20 call @consume_token(%arg0): (!async.token) -> () 34 async.runtime.await %arg0 : !async.token 36 async.runtime.await %arg0 : !async.token 38 async.runtime.await %arg0 : !async.token 48 call @consume_token(%arg0): (!async.token) -> () 52 async.runtime.await %arg0 : !async.token 62 call @consume_token(%arg0): (!async.token) -> () [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/Tosa/ |
| H A D | tosa-infer-shapes.mlir | 4 func.func @test_return(%arg0 : tensor<4xf32>) -> tensor<*xf32> { 7 %0 = "tosa.log"(%arg0) : (tensor<4xf32>) -> tensor<*xf32> 29 func.func @test_unary_f32(%arg0 : tensor<4xf32>) -> () { 77 func.func @test_unary_i32(%arg0 : tensor<4xi32>) -> () { 110 func.func @test_unary_i1(%arg0 : tensor<4xi1>) -> () { 549 func.func @test_slice(%arg0 : tensor<?xi32>) -> () { 1062 %0 = "tosa.cond_if"(%arg2, %arg0, %arg1) ({ 1077 %0 = "tosa.cond_if"(%arg2, %arg0, %arg1) ({ 1092 %0 = "tosa.cond_if"(%arg2, %arg0, %arg1) ({ 1110 %0 = "tosa.add"(%arg0, %arg0) : (tensor<i32>, tensor<i32>) -> tensor<*xi32> [all …]
|
| H A D | ops.mlir | 7 func.func @test_argmax(%arg0: tensor<14x19xf32>) -> tensor<14xi32> { 91 func.func @test_relu(%arg0: tensor<13x21x3xf32>) -> tensor<13x21x3xf32> { 106 func.func @test_tanh(%arg0: tensor<13x21x3xf32>) -> tensor<13x21x3xf32> { 107 %0 = "tosa.tanh"(%arg0) : (tensor<13x21x3xf32>) -> tensor<13x21x3xf32> 233 %0 = "tosa.abs"(%arg0) : (tensor<13x21x3xf32>) -> tensor<13x21x3xf32> 254 %0 = "tosa.clz"(%arg0) : (tensor<13x21x3xi32>) -> tensor<13x21x3xi32> 261 %0 = "tosa.exp"(%arg0) : (tensor<13x21x3xf32>) -> tensor<13x21x3xf32> 275 %0 = "tosa.log"(%arg0) : (tensor<13x21x3xf32>) -> tensor<13x21x3xf32> 493 func.func @test_const(%arg0 : index) -> tensor<4xi32> { 508 %0 = "tosa.cond_if"(%arg2, %arg0, %arg1) ({ [all …]
|
| H A D | canonicalize.mlir | 21 // CHECK: return %arg0 30 // CHECK: return %arg0 51 // CHECK: return %arg0 59 // CHECK: return %arg0 67 // CHECK: return %arg0 75 // CHECK: return %arg0 91 // CHECK: return %arg0 139 // CHECK: return %arg0 146 // CHECK: return %arg0 189 // CHECK: return %arg0 [all …]
|
| H A D | broadcast.mlir | 24 // CHECK: %[[VAR1:.*]] = "tosa.add"(%arg0, %[[VAR0]]) 33 // CHECK: %[[VAR1:.*]] = "tosa.add"(%arg0, %[[VAR0]]) 42 // CHECK: %[[VAR1:.*]] = "tosa.add"(%arg0, %[[VAR0]]) 51 // CHECK: %[[VAR1:.*]] = "tosa.add"(%arg0, %[[VAR0]]) 60 // CHECK: %[[VAR1:.*]] = "tosa.add"(%arg0, %[[VAR0]]) 69 // CHECK: %[[VAR1:.*]] = "tosa.add"(%arg0, %[[VAR0]]) 78 // CHECK: %[[VAR1:.*]] = "tosa.add"(%arg0, %[[VAR0]]) 87 // CHECK: %[[VAR1:.*]] = "tosa.add"(%arg0, %[[VAR0]]) 96 // CHECK: %[[VAR1:.*]] = "tosa.add"(%arg0, %[[VAR0]]) 149 // CHECK: %[[VAR1:.*]] = "tosa.add"(%arg0, %arg1) [all …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/MathToLLVM/ |
| H A D | math-to-llvm.mlir | 6 %13 = math.exp %arg0 : f32 8 %14 = math.exp2 %arg0 : f32 10 %19 = math.sqrt %arg0 : f32 20 func.func @log1p(%arg0 : f32) { 24 %0 = math.log1p %arg0 : f32 49 %0 = math.expm1 %arg0 : f32 71 %0 = math.sin %arg0 : f32 82 %0 = math.ctlz %arg0 : i32 93 %0 = math.cttz %arg0 : i32 170 // CHECK: %[[POWF:.*]] = "llvm.intr.pow"(%arg0, %arg0) : (f64, f64) -> f64 [all …]
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | arithmetic-ops.mlir | 4 spv.func @fmul(%arg0 : f32, %arg1 : f32) "None" { 6 %0 = spv.FMul %arg0, %arg1 : f32 11 %0 = spv.FAdd %arg0, %arg1 : vector<4xf32> 16 %0 = spv.FDiv %arg0, %arg1 : vector<4xf32> 21 %0 = spv.FMod %arg0, %arg1 : vector<4xf32> 26 %0 = spv.FNegate %arg0 : vector<4xf32> 31 %0 = spv.FSub %arg0, %arg1 : vector<4xf32> 36 %0 = spv.FRem %arg0, %arg1 : vector<4xf32> 41 %0 = spv.IAdd %arg0, %arg1 : vector<4xi32> 46 %0 = spv.ISub %arg0, %arg1 : vector<4xi32> [all …]
|
| H A D | logical-ops.mlir | 6 %0 = spv.IEqual %arg0, %arg1 : i32 11 %0 = spv.INotEqual %arg0, %arg1 : vector<4xi32> 56 %1 = spv.FOrdEqual %arg0, %arg1 : f32 58 %2 = spv.FOrdGreaterThan %arg0, %arg1 : f32 62 %4 = spv.FOrdLessThan %arg0, %arg1 : f32 66 %6 = spv.FOrdNotEqual %arg0, %arg1 : f32 68 %7 = spv.FUnordEqual %arg0, %arg1 : f32 74 %10 = spv.FUnordLessThan %arg0, %arg1 : f32 80 %13 = spv.Ordered %arg0, %arg1 : f32 82 %14 = spv.Unordered %arg0, %arg1 : f32 [all …]
|
| H A D | gl-ops.mlir | 6 %0 = spv.GL.Exp %arg0 : f32 8 %2 = spv.GL.Sqrt %arg0 : f32 10 %3 = spv.GL.Cos %arg0 : f32 12 %4 = spv.GL.Sin %arg0 : f32 14 %5 = spv.GL.Tan %arg0 : f32 16 %6 = spv.GL.Acos %arg0 : f32 18 %7 = spv.GL.Asin %arg0 : f32 20 %8 = spv.GL.Atan %arg0 : f32 22 %9 = spv.GL.Sinh %arg0 : f32 24 %10 = spv.GL.Cosh %arg0 : f32 [all …]
|
| /llvm-project-15.0.7/mlir/test/IR/ |
| H A D | operand.mlir | 7 func.func @correct_variadic_operand(%arg0: tensor<f32>, %arg1: f32) { 9 …"test.mixed_normal_variadic_operand"(%arg0, %arg0, %arg0, %arg0, %arg0) : (tensor<f32>, tensor<f32… 15 func.func @error_in_first_variadic_operand(%arg0: tensor<f32>, %arg1: f32) { 17 …"test.mixed_normal_variadic_operand"(%arg0, %arg1, %arg0, %arg0, %arg0) : (tensor<f32>, f32, tenso… 23 func.func @error_in_normal_operand(%arg0: tensor<f32>, %arg1: f32) { 25 …"test.mixed_normal_variadic_operand"(%arg0, %arg0, %arg1, %arg0, %arg0) : (tensor<f32>, tensor<f32… 31 func.func @error_in_second_variadic_operand(%arg0: tensor<f32>, %arg1: f32) { 33 …"test.mixed_normal_variadic_operand"(%arg0, %arg0, %arg0, %arg1, %arg0) : (tensor<f32>, tensor<f32… 39 func.func @testfunc(%arg0: i32) {
|
| /llvm-project-15.0.7/mlir/test/Conversion/ArithmeticToSPIRV/ |
| H A D | arithmetic-to-spirv.mlir | 103 %0 = arith.divsi %arg0, %arg0: vector<2xi8> 126 %0 = arith.addf %arg0, %arg0: vector<2xf16> 135 %0 = arith.addi %arg0, %arg0: vector<1xi32> 142 %1 = arith.subi %arg0, %arg0: vector<5xi32> 149 %2 = arith.muli %arg0, %arg0: vector<2x2xi32> 165 %0 = arith.divsi %arg0, %arg0: vector<2xi8> 174 %0 = arith.addf %arg0, %arg0: f16 192 %0 = arith.divui %arg0, %arg0: vector<4xi64> 1080 %0 = arith.divsi %arg0, %arg0: vector<2xi8> 1103 %0 = arith.addf %arg0, %arg0: vector<2xf16> [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/PreISelIntrinsicLowering/ |
| H A D | objc-arc.ll | 9 define i8* @test_objc_autorelease(i8* %arg0) { 15 %0 = call i8* @llvm.objc.autorelease(i8* %arg0) 59 define void @test_objc_destroyWeak(i8** %arg0) { 65 call void @llvm.objc.destroyWeak(i8** %arg0) 79 define i8* @test_objc_loadWeak(i8** %arg0) { 85 %0 = call i8* @llvm.objc.loadWeak(i8** %arg0) 109 define void @test_objc_release(i8* %arg0) { 115 call void @llvm.objc.release(i8* %arg0) 119 define i8* @test_objc_retain(i8* %arg0) { 125 %0 = call i8* @llvm.objc.retain(i8* %arg0) [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/Affine/ |
| H A D | affine-loop-invariant-code-motion.mlir | 287 // CHECK-NEXT: affine.if #set(%arg0, %arg0) { 315 // CHECK-NEXT: affine.if #set(%arg0, %arg0) { 346 // CHECK-NEXT: affine.if #set(%arg0, %arg0) { 349 // CHECK-NEXT: affine.if #set(%arg0, %arg0) { 382 // CHECK-NEXT: affine.if #set(%arg0, %arg0) { 385 // CHECK-NEXT: affine.if #set(%arg0, %arg0) { 423 // CHECK-NEXT: affine.if #set(%arg0, %arg0) { 426 // CHECK-NEXT: affine.if #set(%arg0, %arg0) { 459 // CHECK-NEXT: affine.if #set(%arg0, %arg0) { 462 // CHECK-NEXT: affine.if #set(%arg0, %arg0) { [all …]
|