Home
last modified time | relevance | path

Searched +full:- +full:i1 (Results 1 – 25 of 1215) sorted by relevance

12345678910>>...49

/external/llvm/test/CodeGen/X86/
Davx512bw-mask-op.ll2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s
5 ; CHECK-LABEL: mask32:
7 ; CHECK-NEXT: kmovd %edi, %k0
8 ; CHECK-NEXT: knotd %k0, %k0
9 ; CHECK-NEXT: kmovd %k0, %eax
10 ; CHECK-NEXT: retq
11 %m0 = bitcast i32 %x to <32 x i1>
12 %m1 = xor <32 x i1> %m0, <i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1,
13 i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1,
14 i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1,
[all …]
Dvselect.ll2 ; RUN: llc -mtriple=x86_64-unknown-unknown -mattr=+sse2,-sse4.1 < %s | FileCheck %s
8 ; CHECK-LABEL: test1:
10 ; CHECK-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,2],xmm1[1,3]
11 ; CHECK-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,2,1,3]
12 ; CHECK-NEXT: retq
13 %1 = select <4 x i1> <i1 true, i1 false, i1 true, i1 false>, <4 x float> %a, <4 x float> %b
18 ; CHECK-LABEL: test2:
20 ; CHECK-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
21 ; CHECK-NEXT: movapd %xmm1, %xmm0
22 ; CHECK-NEXT: retq
[all …]
Dxaluo.ll1 ; RUN: llc -mtriple=x86_64-darwin-unknown < %s | FileCheck %s --check-p…
2 ; RUN: llc -mtriple=x86_64-darwin-unknown -fast-isel -fast-isel-abort=1 < %s | FileCheck %s --check
3 ; RUN: llc -mtriple=x86_64-darwin-unknown -mcpu=knl < %s | FileCheck %s --check-prefix=KNL
8 define zeroext i1 @saddo.i8(i8 signext %v1, i8 signext %v2, i8* %res) {
10 ; CHECK-LABEL: saddo.i8
12 ; CHECK-NEXT: seto %al
13 %t = call {i8, i1} @llvm.sadd.with.overflow.i8(i8 %v1, i8 %v2)
14 %val = extractvalue {i8, i1} %t, 0
15 %obit = extractvalue {i8, i1} %t, 1
17 ret i1 %obit
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/X86/
Dvselect-cost.ll2 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-unknown-linux-gnu -mattr=+sse2 | FileCheck %s
3 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-unknown-linux-gnu -mattr=+sse4.1 | FileCheck %…
4 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-unknown-linux-gnu -mattr=+avx | FileCheck %s -
5 ; RUN: opt < %s -cost-model -analyze -mtriple=x86_64-unknown-linux-gnu -mattr=+avx2 | FileCheck %s
14 ; CHECK-LABEL: 'test_2i64'
15 ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %sel = select <2 x i1> <i1
16 ; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <2 x i64> %sel
18 %sel = select <2 x i1> <i1 true, i1 false>, <2 x i64> %a, <2 x i64> %b
23 ; CHECK-LABEL: 'test_2double'
24 ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %sel = select <2 x i1> <i1
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Davx512bw-mask-op.ll2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s
5 ; CHECK-LABEL: mask32:
7 ; CHECK-NEXT: notl %edi
8 ; CHECK-NEXT: movl %edi, %eax
9 ; CHECK-NEXT: retq
10 %m0 = bitcast i32 %x to <32 x i1>
11 %m1 = xor <32 x i1> %m0, <i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1,
12 i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1,
13 i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1,
14 i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1, i1 -1>
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstSimplify/
Dicmp-bool-constant.ll2 ; RUN: opt < %s -instsimplify -S | FileCheck %s
7 define <2 x i1> @eq_t(<2 x i1> %a) {
8 ; CHECK-LABEL: @eq_t(
9 ; CHECK-NEXT: ret <2 x i1> %a
11 %r = icmp eq <2 x i1> %a, <i1 true, i1 true>
12 ret <2 x i1> %r
15 define <2 x i1> @eq_t_undef_elt(<2 x i1> %a) {
16 ; CHECK-LABEL: @eq_t_undef_elt(
17 ; CHECK-NEXT: ret <2 x i1> [[A:%.*]]
19 %r = icmp eq <2 x i1> %a, <i1 undef, i1 true>
[all …]
Dcompare.ll1 ; RUN: opt < %s -instsimplify -S | FileCheck %s
4 define i1 @ptrtoint() {
5 ; CHECK-LABEL: @ptrtoint(
9 ret i1 %r
10 ; CHECK: ret i1 false
13 define i1 @bitcast() {
14 ; CHECK-LABEL: @bitcast(
20 ret i1 %cmp
21 ; CHECK-NEXT: ret i1 false
24 define i1 @gep() {
[all …]
Dicmp-ranges.ll1 ; RUN: opt < %s -instsimplify -S | FileCheck %s
4 ; simplification of range-intersection or range-union.
9 define i1 @and_eq_eq(i8 %x) {
10 ; CHECK-LABEL: @and_eq_eq(
11 ; CHECK-NEXT: ret i1 false
15 %c = and i1 %a, %b
16 ret i1 %c
21 define i1 @and_eq_ne(i8 %x) {
22 ; CHECK-LABEL: @and_eq_ne(
23 ; CHECK-NEXT: [[A:%.*]] = icmp eq i8 %x, 13
[all …]
Dor-icmps-same-ops.ll2 ; RUN: opt < %s -instsimplify -S | FileCheck %s
7 define i1 @eq_eq(i8 %a, i8 %b) {
8 ; CHECK-LABEL: @eq_eq(
9 ; CHECK-NEXT: [[CMP2:%.*]] = icmp eq i8 %a, %b
10 ; CHECK-NEXT: ret i1 [[CMP2]]
14 %or = or i1 %cmp1, %cmp2
15 ret i1 %or
18 define i1 @eq_ne(i8 %a, i8 %b) {
19 ; CHECK-LABEL: @eq_ne(
20 ; CHECK-NEXT: ret i1 true
[all …]
Dand-icmps-same-ops.ll2 ; RUN: opt < %s -instsimplify -S | FileCheck %s
7 define i1 @eq_eq(i8 %a, i8 %b) {
8 ; CHECK-LABEL: @eq_eq(
9 ; CHECK-NEXT: [[CMP1:%.*]] = icmp eq i8 %a, %b
10 ; CHECK-NEXT: ret i1 [[CMP1]]
14 %and = and i1 %cmp1, %cmp2
15 ret i1 %and
18 define i1 @eq_ne(i8 %a, i8 %b) {
19 ; CHECK-LABEL: @eq_ne(
20 ; CHECK-NEXT: ret i1 false
[all …]
Dicmp-constant.ll2 ; RUN: opt < %s -instsimplify -S | FileCheck %s
6 define i1 @tautological_ule(i8 %x) {
7 ; CHECK-LABEL: @tautological_ule(
8 ; CHECK-NEXT: ret i1 true
11 ret i1 %cmp
14 define <2 x i1> @tautological_ule_vec(<2 x i8> %x) {
15 ; CHECK-LABEL: @tautological_ule_vec(
16 ; CHECK-NEXT: ret <2 x i1> <i1 true, i1 true>
19 ret <2 x i1> %cmp
22 define i1 @tautological_ugt(i8 %x) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dicmp-shr-lt-gt.ll1 ; RUN: opt < %s -instcombine -S | FileCheck %s
3 define i1 @lshrugt_01_00(i4 %x) {
4 ; CHECK-LABEL: @lshrugt_01_00(
5 ; CHECK-NEXT: [[C:%.*]] = icmp ugt i4 %x, 1
6 ; CHECK-NEXT: ret i1 [[C]]
10 ret i1 %c
13 define i1 @lshrugt_01_01(i4 %x) {
14 ; CHECK-LABEL: @lshrugt_01_01(
15 ; CHECK-NEXT: [[C:%.*]] = icmp ugt i4 %x, 3
16 ; CHECK-NEXT: ret i1 [[C]]
[all …]
Dand-fcmp.ll2 ; RUN: opt < %s -instcombine -S | FileCheck %s
4 define i1 @PR1738(double %x, double %y) {
5 ; CHECK-LABEL: @PR1738(
6 ; CHECK-NEXT: [[TMP1:%.*]] = fcmp ord double [[X:%.*]], [[Y:%.*]]
7 ; CHECK-NEXT: ret i1 [[TMP1]]
11 %and = and i1 %cmp1, %cmp2
12 ret i1 %and
15 define <2 x i1> @PR1738_vec_undef(<2 x double> %x, <2 x double> %y) {
16 ; CHECK-LABEL: @PR1738_vec_undef(
17 ; CHECK-NEXT: [[TMP1:%.*]] = fcmp ord <2 x double> [[X:%.*]], [[Y:%.*]]
[all …]
Dor-fcmp.ll2 ; RUN: opt < %s -instcombine -S | FileCheck %s
4 define i1 @PR1738(double %x, double %y) {
5 ; CHECK-LABEL: @PR1738(
6 ; CHECK-NEXT: [[TMP1:%.*]] = fcmp uno double [[X:%.*]], [[Y:%.*]]
7 ; CHECK-NEXT: ret i1 [[TMP1]]
11 %or = or i1 %cmp1, %cmp2
12 ret i1 %or
15 define <2 x i1> @PR1738_vec_undef(<2 x double> %x, <2 x double> %y) {
16 ; CHECK-LABEL: @PR1738_vec_undef(
17 ; CHECK-NEXT: [[TMP1:%.*]] = fcmp uno <2 x double> [[X:%.*]], [[Y:%.*]]
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dconvert_const_i1_to_i8.ll1 ; RUN: llc -march=hexagon < %s | FileCheck %s
2 ; CHECK-NOT: .space {{[0-9][0-9][0-9][0-9]}}
3 ; CHECK: q{{[0-3]}} = vand(v{{[0-9]*}},r{{[0-9]*}})
9i1> <i1 false, i1 false, i1 false, i1 false, i1 false, i1 false, i1 false, i1 false, i1 false, i1
15 declare <32 x i32> @llvm.hexagon.V6.vmux.128B(<1024 x i1>, <32 x i32>, <32 x i32>)
17 attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="+hvx,+hvx-length128b" }
/external/llvm/test/Transforms/InstSimplify/
Dcompare.ll1 ; RUN: opt < %s -instsimplify -S | FileCheck %s
4 define i1 @ptrtoint() {
5 ; CHECK-LABEL: @ptrtoint(
9 ret i1 %r
10 ; CHECK: ret i1 false
13 define i1 @bitcast() {
14 ; CHECK-LABEL: @bitcast(
20 ret i1 %cmp
21 ; CHECK-NEXT: ret i1 false
24 define i1 @gep() {
[all …]
/external/llvm/test/Transforms/InstCombine/
Dand-fcmp.ll2 ; RUN: opt < %s -instcombine -S | FileCheck %s
5 define i1 @t8(float %a, double %b) {
6 ; CHECK-LABEL: @t8(
7 ; CHECK-NEXT: [[CMP:%.*]] = fcmp ord float %a, 0.000000e+00
8 ; CHECK-NEXT: [[CMP1:%.*]] = fcmp ord double %b, 0.000000e+00
9 ; CHECK-NEXT: [[AND:%.*]] = and i1 [[CMP]], [[CMP1]]
10 ; CHECK-NEXT: ret i1 [[AND]]
14 %and = and i1 %cmp, %cmp1
15 ret i1 %and
18 define <2 x i1> @t9(<2 x float> %a, <2 x double> %b) {
[all …]
Dor-fcmp.ll2 ; RUN: opt < %s -instcombine -S | FileCheck %s
4 define i1 @auto_gen_0(double %a, double %b) {
5 ; CHECK-LABEL: @auto_gen_0(
6 ; CHECK-NEXT: ret i1 false
10 %retval = or i1 %cmp, %cmp1
11 ret i1 %retval
14 define i1 @auto_gen_1(double %a, double %b) {
15 ; CHECK-LABEL: @auto_gen_1(
16 ; CHECK-NEXT: [[CMP:%.*]] = fcmp oeq double %a, %b
17 ; CHECK-NEXT: ret i1 [[CMP]]
[all …]
Dset.ll3 ; RUN: opt < %s -instcombine -S | FileCheck %s
7 define i1 @test1(i32 %A) {
8 ; CHECK-LABEL: @test1(
9 ; CHECK-NEXT: ret i1 false
14 %D = and i1 %B, %C
15 ret i1 %D
18 define i1 @test2(i32 %A) {
19 ; CHECK-LABEL: @test2(
20 ; CHECK-NEXT: ret i1 true
25 %D = or i1 %B, %C
[all …]
/external/llvm/test/Analysis/CostModel/X86/
Dvselect-cost.ll1 …: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2,-sse4.1 -cost-model -analyz…
2 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -cost-model -analyze | FileCheck %s
3 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7-avx -cost-model -analyze | FileCheck…
4 ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=core-avx2 -cost-model -analyze | FileCheck …
14 ; SSE2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
15 ; SSE41: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
16 ; AVX: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
17 ; AVX2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
18 %sel = select <2 x i1> <i1 true, i1 false>, <2 x i64> %a, <2 x i64> %b
24 ; SSE2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/AArch64/
Dphi.ll1 ; RUN: opt -inline -mtriple=aarch64--linux-gnu -S -o - < %s -inline-threshold=0 | FileCheck %s
3 target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
4 target triple = "aarch64--linux-gnu"
9 define i1 @outer1() {
10 ; CHECK-LABEL: @outer1(
11 ; CHECK-NOT: call i1 @inner1
12 %C = call i1 @inner1()
13 ret i1 %C
16 define i1 @inner1() {
21 %phi = phi i1 [0, %entry], [%phi, %if_true] ; Simplified to 0
[all …]
/external/swiftshader/third_party/subzero/tests_lit/reader_tests/
Dselect.ll3 ; RUN: %p2i -i %s --insts | FileCheck %s
4 ; RUN: %p2i -i %s --args -notranslate -timing | \
5 ; RUN: FileCheck --check-prefix=NOIR %s
9 %vc = trunc i32 %p to i1
10 %vt = trunc i32 %p to i1
11 %ve = trunc i32 %p to i1
12 %r = select i1 %vc, i1 %vt, i1 %ve
17 ; CHECK-NEXT: entry:
18 ; CHECK-NEXT: %vc = trunc i32 %p to i1
19 ; CHECK-NEXT: %vt = trunc i32 %p to i1
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/ConstProp/
Doverflow-ops.ll1 ; RUN: opt < %s -constprop -S | FileCheck %s
4 declare {i8, i1} @llvm.uadd.with.overflow.i8(i8, i8)
5 declare {i8, i1} @llvm.usub.with.overflow.i8(i8, i8)
6 declare {i8, i1} @llvm.umul.with.overflow.i8(i8, i8)
8 declare {i8, i1} @llvm.sadd.with.overflow.i8(i8, i8)
9 declare {i8, i1} @llvm.ssub.with.overflow.i8(i8, i8)
10 declare {i8, i1} @llvm.smul.with.overflow.i8(i8, i8)
12 ;;-----------------------------
14 ;;-----------------------------
16 define {i8, i1} @uadd_1() nounwind {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ConstProp/
Doverflow-ops.ll1 ; RUN: opt < %s -constprop -S | FileCheck %s
4 declare {i8, i1} @llvm.uadd.with.overflow.i8(i8, i8)
5 declare {i8, i1} @llvm.usub.with.overflow.i8(i8, i8)
6 declare {i8, i1} @llvm.umul.with.overflow.i8(i8, i8)
8 declare {i8, i1} @llvm.sadd.with.overflow.i8(i8, i8)
9 declare {i8, i1} @llvm.ssub.with.overflow.i8(i8, i8)
10 declare {i8, i1} @llvm.smul.with.overflow.i8(i8, i8)
12 ;;-----------------------------
14 ;;-----------------------------
16 define {i8, i1} @uadd_1() nounwind {
[all …]
/external/llvm/test/Transforms/ConstProp/
Doverflow-ops.ll1 ; RUN: opt < %s -constprop -S | FileCheck %s
4 declare {i8, i1} @llvm.uadd.with.overflow.i8(i8, i8)
5 declare {i8, i1} @llvm.usub.with.overflow.i8(i8, i8)
6 declare {i8, i1} @llvm.umul.with.overflow.i8(i8, i8)
8 declare {i8, i1} @llvm.sadd.with.overflow.i8(i8, i8)
9 declare {i8, i1} @llvm.ssub.with.overflow.i8(i8, i8)
10 declare {i8, i1} @llvm.smul.with.overflow.i8(i8, i8)
12 ;;-----------------------------
14 ;;-----------------------------
16 define {i8, i1} @uadd_1() nounwind {
[all …]

12345678910>>...49