Home
last modified time | relevance | path

Searched refs:cmpf (Results 1 – 25 of 33) sorted by relevance

12

/external/mesa3d/prebuilt-intermediates/bifrost/
Dbi_generated_pack.h689 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_add_icmpi_s32() local
690 assert(cmpf < 2); in pan_pack_add_icmpi_s32()
692 return 0x7b800 | (src0 << 0) | (src1 << 3) | (result_type << 10) | (cmpf << 6); in pan_pack_add_icmpi_s32()
844 unsigned cmpf = cmpf_table[ins->cond]; in pan_pack_fma_csel_v2f16() local
845 assert(cmpf < 8); in pan_pack_fma_csel_v2f16()
847 if ((cmpf == 4) || (cmpf == 5)) { in pan_pack_fma_csel_v2f16()
849 if (cmpf == 5) cmpf = 2; in pan_pack_fma_csel_v2f16()
850 else if (cmpf == 4) cmpf = 1; in pan_pack_fma_csel_v2f16()
853 if (cmpf == 3) { in pan_pack_fma_csel_v2f16()
855 if (cmpf == 3) cmpf = 0; in pan_pack_fma_csel_v2f16()
[all …]
Dbifrost_gen_disasm.c223 const char *cmpf = cmpf_table[_BITS(bits, 6, 1)]; in bi_disasm_add_icmp_v4i8() local
227 fputs(cmpf, fp); in bi_disasm_add_icmp_v4i8()
321 const char *cmpf = cmpf_table[(_BITS(bits, 12, 1) << 0)]; in bi_disasm_add_icmp_v2s16() local
342 fputs(cmpf, fp); in bi_disasm_add_icmp_v2s16()
716 const char *cmpf = cmpf_table[(_BITS(bits, 12, 2) << 0)]; in bi_disasm_fma_csel_f32() local
718 fputs(cmpf, fp); in bi_disasm_fma_csel_f32()
1027 const char *cmpf = cmpf_table[(_BITS(bits, 6, 2) << 0) | (_BITS(bits, 8, 3) << 2)]; in bi_disasm_add_discard_f32() local
1037 fputs(cmpf, fp); in bi_disasm_add_discard_f32()
1570 …const char *cmpf = ordering ? cmpf_1[(_BITS(bits, 12, 3) << 0) | (_BITS(bits, 9, 3) << 3)] : cmpf_… in bi_disasm_add_branch_f16() local
1579 fputs(cmpf, fp); in bi_disasm_add_branch_f16()
[all …]
/external/llvm-project/mlir/test/Transforms/
Dconstant-fold.mlir597 %0 = cmpf "false", %c42, %cm1 : f32
599 %1 = cmpf "oeq", %c42, %cm1 : f32
601 %2 = cmpf "ogt", %c42, %cm1 : f32
603 %3 = cmpf "oge", %c42, %cm1 : f32
605 %4 = cmpf "olt", %c42, %cm1 : f32
607 %5 = cmpf "ole", %c42, %cm1 : f32
609 %6 = cmpf "one", %c42, %cm1 : f32
611 %7 = cmpf "ord", %c42, %cm1 : f32
613 %8 = cmpf "ueq", %c42, %cm1 : f32
615 %9 = cmpf "ugt", %c42, %cm1 : f32
[all …]
/external/llvm-project/mlir/test/Dialect/GPU/
Dall-reduce-max.mlir47 // CHECK: [[VAL_36:%.*]] = cmpf "ugt", [[VAL_0]], [[VAL_34]] : f32
56 // CHECK: [[VAL_41:%.*]] = cmpf "ugt", [[VAL_38]], [[VAL_39]] : f32
65 // CHECK: [[VAL_46:%.*]] = cmpf "ugt", [[VAL_43]], [[VAL_44]] : f32
74 // CHECK: [[VAL_51:%.*]] = cmpf "ugt", [[VAL_48]], [[VAL_49]] : f32
83 // CHECK: [[VAL_56:%.*]] = cmpf "ugt", [[VAL_53]], [[VAL_54]] : f32
92 // CHECK: [[VAL_61:%.*]] = cmpf "ugt", [[VAL_0]], [[VAL_59]] : f32
95 // CHECK: [[VAL_65:%.*]] = cmpf "ugt", [[VAL_62]], [[VAL_63]] : f32
98 // CHECK: [[VAL_69:%.*]] = cmpf "ugt", [[VAL_66]], [[VAL_67]] : f32
101 // CHECK: [[VAL_73:%.*]] = cmpf "ugt", [[VAL_70]], [[VAL_71]] : f32
104 // CHECK: [[VAL_77:%.*]] = cmpf "ugt", [[VAL_74]], [[VAL_75]] : f32
[all …]
/external/llvm-project/flang/test/Fir/
Dfir-ops.fir449 // CHECK: [[VAL_135:%.*]] = fir.cmpf "false", [[VAL_133]], [[VAL_134]] : !fir.real<16>
450 // CHECK: [[VAL_136:%.*]] = fir.cmpf "oeq", [[VAL_133]], [[VAL_134]] : !fir.real<16>
451 // CHECK: [[VAL_137:%.*]] = fir.cmpf "ogt", [[VAL_133]], [[VAL_134]] : !fir.real<16>
452 // CHECK: [[VAL_138:%.*]] = fir.cmpf "oge", [[VAL_133]], [[VAL_134]] : !fir.real<16>
453 %d0 = fir.cmpf "false", %a, %b : !fir.real<16>
454 %d1 = fir.cmpf "oeq", %a, %b : !fir.real<16>
455 %d2 = fir.cmpf "ogt", %a, %b : !fir.real<16>
456 %d3 = fir.cmpf "oge", %a, %b : !fir.real<16>
458 // CHECK: [[VAL_139:%.*]] = fir.cmpf "olt", [[VAL_133]], [[VAL_134]] : !fir.real<16>
459 // CHECK: [[VAL_140:%.*]] = fir.cmpf "ole", [[VAL_133]], [[VAL_134]] : !fir.real<16>
[all …]
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dnot.ll262 %cmpf = fcmp ugt float %z, %w
263 %sel = select i1 %cond, i1 %cmpt, i1 %cmpf
283 %cmpf = fcmp ugt float %z, %w
284 %sel = select i1 %cond, i1 %cmpt, i1 %cmpf
301 %cmpf = fcmp ugt float %z, %w
302 call void @use1(i1 %cmpf)
303 %sel = select i1 %cond, i1 %cmpt, i1 %cmpf
322 %cmpf = fcmp ugt float %z, %w
323 call void @use1(i1 %cmpf)
324 %sel = select i1 %cond, i1 %cmpt, i1 %cmpf
[all …]
/external/llvm-project/mlir/test/Dialect/Linalg/
Dconvert-elementwise-to-linalg.mlir55 // CHECK-LABEL: func @cmpf(
56 func @cmpf(%arg0: tensor<f32>, %arg1: tensor<f32>) -> tensor<i1> {
57 // CHECK: cmpf "olt", %{{.*}}, %{{.*}} : f32
58 %0 = cmpf "olt", %arg0, %arg1 : tensor<f32>
Daffine.mlir143 // CHECK-NEXT: cmpf
149 // CHECK-NEXT: cmpf
Dvectorization.mlir165 %7 = cmpf "ogt", %arg3, %arg6 : f32
191 // CHECK: %[[CMP:.*]] = cmpf "ogt", %[[V2]], %[[V1]] : vector<4x256xf32>
/external/tensorflow/tensorflow/compiler/mlir/hlo/tests/
Dlegalize-trigonometric-to-approximation.mlir37 // CHECK: %[[VAL_16:.*]] = cmpf olt, %[[VAL_15]], %[[VAL_1]] : f32
38 // CHECK: %[[VAL_17:.*]] = cmpf ule, %[[VAL_0]], %[[VAL_2]] : f32
40 // CHECK: %[[VAL_19:.*]] = cmpf uge, %[[VAL_18]], %[[VAL_3]] : f32
93 // CHECK: %[[VAL_17:.*]] = cmpf olt, %[[VAL_16]], %[[VAL_1]] : f32
94 // CHECK: %[[VAL_18:.*]] = cmpf ule, %[[VAL_15]], %[[VAL_2]] : f32
96 // CHECK: %[[VAL_20:.*]] = cmpf uge, %[[VAL_19]], %[[VAL_3]] : f32
Dlhlo-legalize-to-affine.mlir14 // CHECK-NEXT: %[[MIN_PREDICATE:.*]] = cmpf olt, %[[LHS]], %[[RHS]] : f32
16 // CHECK-NEXT: %[[ISNAN:.*]] = cmpf uno, %[[LHS]], %[[RHS]] : f32
76 // CHECK: %[[CMP:.*]] = cmpf ogt, %[[LHS_IN:.*]], %[[RHS_IN:.*]] : f32
78 // CHECK: %[[ISNAN:.*]] = cmpf uno, %[[LHS_IN]], %[[RHS_IN]] : f32
100 // CHECK: %[[CMP:.*]] = cmpf olt, %[[LHS_IN:.*]], %[[RHS_IN:.*]] : f32
102 // CHECK: %[[ISNAN:.*]] = cmpf uno, %[[LHS_IN]], %[[RHS_IN]] : f32
Dlegalize-to-std.mlir74 // CHECK-NEXT: %0 = cmpf oeq, %arg0, %arg1 : tensor<4xf32>
76 // CHECK-NEXT: %1 = cmpf une, %arg0, %arg1 : tensor<4xf32>
78 // CHECK-NEXT: %2 = cmpf olt, %arg0, %arg1 : tensor<4xf32>
80 // CHECK-NEXT: %3 = cmpf ole, %arg0, %arg1 : tensor<4xf32>
82 // CHECK-NEXT: %4 = cmpf ogt, %arg0, %arg1 : tensor<4xf32>
84 // CHECK-NEXT: %5 = cmpf oge, %arg0, %arg1 : tensor<4xf32>
Dlhlo-legalize-to-linalg.mlir72 // CHECK-NEXT: %[[CMP:.*]] = cmpf olt, %[[LHS_IN]], %[[RHS_IN]] : f32
74 // CHECK-NEXT: %[[ISNAN:.*]] = cmpf uno, %[[LHS_IN]], %[[RHS_IN]] : f32
155 // CHECK-NEXT: %[[RESULT:.+]] = cmpf one, %[[ABS_X]], %[[POS_INF]] : f32
169 // CHECK-NEXT: %[[RESULT:.*]] = cmpf oeq, %[[LHS_IN]], %[[RHS_IN]] : f32
540 // CHECK-NEXT: %[[RESULT:.*]] = cmpf une, %[[OPERAND_IN]], %[[ZERO]] : f32
668 // CHECK-NEXT: %[[NE_0:.*]] = cmpf one, %[[OPERAND_IN]], %[[CST_0]] : f32
671 // CHECK-NEXT: %[[CMP:.*]] = cmpf uno, %[[OPERAND_IN]], %[[OPERAND_IN]] : f32
685 // CHECK-NEXT: %[[NE_0:.*]] = cmpf one, %[[OPERAND_IN]], %[[CST_0]] : bf16
688 // CHECK-NEXT: %[[CMP:.*]] = cmpf uno, %[[OPERAND_IN]], %[[OPERAND_IN]] : bf16
1000 // CHECK: cmpf
Dhlo-legalize-to-linalg.mlir291 // CHECK-NEXT: %[[RESULT:.*]] = cmpf oeq, %[[LHS_IN]], %[[RHS_IN]] : f32
306 // CHECK-NEXT: %[[RESULT:.*]] = cmpf une, %[[LHS_IN]], %[[RHS_IN]] : f32
365 // CHECK-NEXT: %[[RESULT:.+]] = cmpf one, %[[ABS_X]], %[[POS_INF]] : f32
564 // CHECK-NEXT: %[[CMP:.*]] = cmpf olt, %[[LHS_IN]], %[[RHS_IN]] : f32
566 // CHECK-NEXT: %[[ISNAN:.*]] = cmpf uno, %[[LHS_IN]], %[[RHS_IN]] : f32
776 // CHECK-NEXT: %[[RESULT:.*]] = cmpf une, %[[OPERAND_IN]], %[[ZERO]] : f32
1063 // CHECK: cmpf olt
1065 // CHECK: cmpf uno
1067 // CHECK: cmpf ogt
1069 // CHECK: cmpf uno
/external/llvm-project/mlir/test/Conversion/StandardToSPIRV/
Dstd-ops-to-spirv.mlir260 // std.cmpf
263 // CHECK-LABEL: @cmpf
264 func @cmpf(%arg0 : f32, %arg1 : f32) {
266 %1 = cmpf "oeq", %arg0, %arg1 : f32
268 %2 = cmpf "ogt", %arg0, %arg1 : f32
270 %3 = cmpf "oge", %arg0, %arg1 : f32
272 %4 = cmpf "olt", %arg0, %arg1 : f32
274 %5 = cmpf "ole", %arg0, %arg1 : f32
276 %6 = cmpf "one", %arg0, %arg1 : f32
278 %7 = cmpf "ueq", %arg0, %arg1 : f32
[all …]
/external/llvm-project/mlir/test/IR/
Dinvalid-ops.mlir456 %r = "std.cmpf"(%a, %a) {predicate = 42} : (f32, f32) -> i1
463 %r = cmpf "foo", %a, %a : f32
470 %r = cmpf "sge", %a, %a : f32
477 %r = cmpf "eq", %a, %a : f32
483 %r = cmpf %a, %b : f32 // expected-error {{}}
490 %r = "std.cmpf"(%a, %b) {foo = 1} : (f32, f32) -> i1
496 %r = cmpf "oeq", %a, %b : i32 // expected-error {{must be floating-point-like}}
503 %r = "std.cmpf"(%a, %b) {predicate = 0} : (f32, f32) -> f32
509 %r = cmpf "oeq", %a, %b : f32 // expected-note {{prior use here}}
518 %r = "std.cmpf"(%a, %a) {predicate = 0} : (vector<42 x f32>, vector<42 x f32>) -> vector<41 x i1>
[all …]
Dcore-ops.mlir292 // CHECK: %{{[0-9]+}} = cmpf "ogt", %{{[0-9]+}}, %{{[0-9]+}} : f32
293 %65 = cmpf "ogt", %f3, %f4 : f32
296 // CHECK: %{{[0-9]+}} = cmpf "oeq", %{{[0-9]+}}, %{{[0-9]+}} : f32
297 %66 = "std.cmpf"(%f3, %f4) {predicate = 1} : (f32, f32) -> i1
299 // CHECK: %{{[0-9]+}} = cmpf "olt", %cst_8, %cst_8 : vector<4xf32>
300 %67 = cmpf "olt", %vcf32, %vcf32 : vector<4 x f32>
302 // CHECK: %{{[0-9]+}} = cmpf "oeq", %cst_8, %cst_8 : vector<4xf32>
303 …%68 = "std.cmpf"(%vcf32, %vcf32) {predicate = 1} : (vector<4 x f32>, vector<4 x f32>) -> vector<4 …
305 // CHECK: %{{[0-9]+}} = cmpf "oeq", %cst_7, %cst_7 : tensor<42xf32>
306 %69 = cmpf "oeq", %tcf32, %tcf32 : tensor<42 x f32>
[all …]
/external/llvm-project/mlir/test/Dialect/Standard/
Dexpand-tanh.mlir21 // CHECK: %[[COND:.+]] = cmpf "oge", %arg0, %[[ZERO]] : f32
/external/llvm-project/mlir/test/Dialect/Affine/
Dparallelize.mlir28 %4 = cmpf "ogt", %2, %3 : f32
64 // CHECK: %[[res:.*]] = cmpf "ogt", %[[lhs]], %[[rhs]] : f32
/external/llvm-project/mlir/integration_test/Dialect/Linalg/CPU/
Dmatmul-vs-matvec.mlir58 %c = cmpf "oeq", %e1, %e2 : f32
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/
Dimplied-and-or.ll226 %cmpf = icmp eq i32 %f, 0
233 %and5 = and i1 %and4, %cmpf
/external/llvm-project/mlir/test/Dialect/SPIRV/Serialization/
Dlogical-ops.mlir54 spv.func @cmpf(%arg0 : f32, %arg1 : f32) "None" {
/external/llvm-project/mlir/utils/vim/syntax/
Dmlir.vim39 syn keyword mlirOps alloc alloca addf addi and call call_indirect cmpf cmpi
/external/llvm-project/mlir/test/Dialect/SCF/
Dops.mlir212 %cond = cmpf "ugt", %t, %c0 : f32
233 // CHECK-NEXT: %[[COND:.*]] = cmpf "ugt", %[[T]], %[[ZERO]]
/external/llvm-project/mlir/test/Conversion/StandardToLLVM/
Dconvert-to-llvmir.mlir811 %1 = cmpf "oeq", %arg0, %arg1 : f32
812 %2 = cmpf "ogt", %arg0, %arg1 : f32
813 %3 = cmpf "oge", %arg0, %arg1 : f32
814 %4 = cmpf "olt", %arg0, %arg1 : f32
815 %5 = cmpf "ole", %arg0, %arg1 : f32
816 %6 = cmpf "one", %arg0, %arg1 : f32
817 %7 = cmpf "ord", %arg0, %arg1 : f32
818 %8 = cmpf "ueq", %arg0, %arg1 : f32
819 %9 = cmpf "ugt", %arg0, %arg1 : f32
820 %10 = cmpf "uge", %arg0, %arg1 : f32
[all …]

12