Home
last modified time | relevance | path

Searched refs:s128 (Results 1 – 25 of 56) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/GlobalISel/
Dlegalize-fmul-scalar.mir37 ; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
38 ; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
39 ; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
40 ; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
42 ; CHECK: [[ANYEXT:%[0-9]+]]:_(s128) = G_ANYEXT [[FMUL]](s32)
43 ; CHECK: $xmm0 = COPY [[ANYEXT]](s128)
45 %2:_(s128) = COPY $xmm0
46 %0:_(s32) = G_TRUNC %2(s128)
47 %3:_(s128) = COPY $xmm1
48 %1:_(s32) = G_TRUNC %3(s128)
[all …]
Dlegalize-fadd-scalar.mir37 ; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
38 ; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
39 ; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
40 ; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
42 ; CHECK: [[ANYEXT:%[0-9]+]]:_(s128) = G_ANYEXT [[FADD]](s32)
43 ; CHECK: $xmm0 = COPY [[ANYEXT]](s128)
45 %2:_(s128) = COPY $xmm0
46 %0:_(s32) = G_TRUNC %2(s128)
47 %3:_(s128) = COPY $xmm1
48 %1:_(s32) = G_TRUNC %3(s128)
[all …]
Dlegalize-fdiv-scalar.mir37 ; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
38 ; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
39 ; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
40 ; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
42 ; CHECK: [[ANYEXT:%[0-9]+]]:_(s128) = G_ANYEXT [[FDIV]](s32)
43 ; CHECK: $xmm0 = COPY [[ANYEXT]](s128)
45 %2:_(s128) = COPY $xmm0
46 %0:_(s32) = G_TRUNC %2(s128)
47 %3:_(s128) = COPY $xmm1
48 %1:_(s32) = G_TRUNC %3(s128)
[all …]
Dlegalize-fsub-scalar.mir37 ; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
38 ; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
39 ; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
40 ; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
42 ; CHECK: [[ANYEXT:%[0-9]+]]:_(s128) = G_ANYEXT [[FSUB]](s32)
43 ; CHECK: $xmm0 = COPY [[ANYEXT]](s128)
45 %2:_(s128) = COPY $xmm0
46 %0:_(s32) = G_TRUNC %2(s128)
47 %3:_(s128) = COPY $xmm1
48 %1:_(s32) = G_TRUNC %3(s128)
[all …]
Dx86_64-legalize-sitofp.mir96 ; CHECK: [[ANYEXT:%[0-9]+]]:_(s128) = G_ANYEXT [[SITOFP]](s32)
97 ; CHECK: $xmm0 = COPY [[ANYEXT]](s128)
102 %3:_(s128) = G_ANYEXT %2(s32)
103 $xmm0 = COPY %3(s128)
128 ; CHECK: [[ANYEXT:%[0-9]+]]:_(s128) = G_ANYEXT [[SITOFP]](s32)
129 ; CHECK: $xmm0 = COPY [[ANYEXT]](s128)
134 %3:_(s128) = G_ANYEXT %2(s32)
135 $xmm0 = COPY %3(s128)
155 ; CHECK: [[ANYEXT:%[0-9]+]]:_(s128) = G_ANYEXT [[SITOFP]](s32)
156 ; CHECK: $xmm0 = COPY [[ANYEXT]](s128)
[all …]
Dlegalize-fpext-scalar.mir27 ; ALL: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
28 ; ALL: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
30 ; ALL: [[ANYEXT:%[0-9]+]]:_(s128) = G_ANYEXT [[FPEXT]](s64)
31 ; ALL: $xmm0 = COPY [[ANYEXT]](s128)
33 %1:_(s128) = COPY $xmm0
34 %0:_(s32) = G_TRUNC %1(s128)
36 %3:_(s128) = G_ANYEXT %2(s64)
37 $xmm0 = COPY %3(s128)
Dregbankselect-X86_64.mir483 ; FAST: [[COPY:%[0-9]+]]:vecr(s128) = COPY $xmm0
484 ; FAST: [[TRUNC:%[0-9]+]]:vecr(s32) = G_TRUNC [[COPY]](s128)
485 ; FAST: [[COPY1:%[0-9]+]]:vecr(s128) = COPY $xmm1
486 ; FAST: [[TRUNC1:%[0-9]+]]:vecr(s32) = G_TRUNC [[COPY1]](s128)
488 ; FAST: [[ANYEXT:%[0-9]+]]:vecr(s128) = G_ANYEXT [[FADD]](s32)
489 ; FAST: $xmm0 = COPY [[ANYEXT]](s128)
493 ; GREEDY: [[COPY:%[0-9]+]]:vecr(s128) = COPY $xmm0
494 ; GREEDY: [[TRUNC:%[0-9]+]]:vecr(s32) = G_TRUNC [[COPY]](s128)
495 ; GREEDY: [[COPY1:%[0-9]+]]:vecr(s128) = COPY $xmm1
496 ; GREEDY: [[TRUNC1:%[0-9]+]]:vecr(s32) = G_TRUNC [[COPY1]](s128)
[all …]
Dselect-fsub-scalar.mir78 %2:vecr(s128) = COPY $xmm0
79 %0:vecr(s32) = G_TRUNC %2(s128)
80 %3:vecr(s128) = COPY $xmm1
81 %1:vecr(s32) = G_TRUNC %3(s128)
83 %5:vecr(s128) = G_ANYEXT %4(s32)
84 $xmm0 = COPY %5(s128)
147 %2:vecr(s128) = COPY $xmm0
148 %0:vecr(s64) = G_TRUNC %2(s128)
149 %3:vecr(s128) = COPY $xmm1
150 %1:vecr(s64) = G_TRUNC %3(s128)
[all …]
Dselect-fadd-scalar.mir78 %2:vecr(s128) = COPY $xmm0
79 %0:vecr(s32) = G_TRUNC %2(s128)
80 %3:vecr(s128) = COPY $xmm1
81 %1:vecr(s32) = G_TRUNC %3(s128)
83 %5:vecr(s128) = G_ANYEXT %4(s32)
84 $xmm0 = COPY %5(s128)
147 %2:vecr(s128) = COPY $xmm0
148 %0:vecr(s64) = G_TRUNC %2(s128)
149 %3:vecr(s128) = COPY $xmm1
150 %1:vecr(s64) = G_TRUNC %3(s128)
[all …]
Dselect-fdiv-scalar.mir78 %2:vecr(s128) = COPY $xmm0
79 %0:vecr(s32) = G_TRUNC %2(s128)
80 %3:vecr(s128) = COPY $xmm1
81 %1:vecr(s32) = G_TRUNC %3(s128)
83 %5:vecr(s128) = G_ANYEXT %4(s32)
84 $xmm0 = COPY %5(s128)
147 %2:vecr(s128) = COPY $xmm0
148 %0:vecr(s64) = G_TRUNC %2(s128)
149 %3:vecr(s128) = COPY $xmm1
150 %1:vecr(s64) = G_TRUNC %3(s128)
[all …]
Dselect-fmul-scalar.mir78 %2:vecr(s128) = COPY $xmm0
79 %0:vecr(s32) = G_TRUNC %2(s128)
80 %3:vecr(s128) = COPY $xmm1
81 %1:vecr(s32) = G_TRUNC %3(s128)
83 %5:vecr(s128) = G_ANYEXT %4(s32)
84 $xmm0 = COPY %5(s128)
147 %2:vecr(s128) = COPY $xmm0
148 %0:vecr(s64) = G_TRUNC %2(s128)
149 %3:vecr(s128) = COPY $xmm1
150 %1:vecr(s64) = G_TRUNC %3(s128)
[all …]
Dlegalize-phi.mir480 ; ALL: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm0
481 ; ALL: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
482 ; ALL: [[COPY2:%[0-9]+]]:_(s128) = COPY $xmm1
483 ; ALL: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY2]](s128)
491 ; ALL: [[ANYEXT:%[0-9]+]]:_(s128) = G_ANYEXT [[PHI]](s32)
492 ; ALL: $xmm0 = COPY [[ANYEXT]](s128)
499 %3:_(s128) = COPY $xmm0
500 %1:_(s32) = G_TRUNC %3(s128)
501 %4:_(s128) = COPY $xmm1
502 %2:_(s32) = G_TRUNC %4(s128)
[all …]
Dx86_64-select-sitofp.mir70 %2:vecr(s128) = G_ANYEXT %1(s32)
71 $xmm0 = COPY %2(s128)
98 %2:vecr(s128) = G_ANYEXT %1(s32)
99 $xmm0 = COPY %2(s128)
126 %2:vecr(s128) = G_ANYEXT %1(s64)
127 $xmm0 = COPY %2(s128)
154 %2:vecr(s128) = G_ANYEXT %1(s64)
155 $xmm0 = COPY %2(s128)
Dselect-fpext-scalar.mir37 %1:vecr(s128) = COPY $xmm0
38 %0:vecr(s32) = G_TRUNC %1(s128)
40 %3:vecr(s128) = G_ANYEXT %2(s64)
41 $xmm0 = COPY %3(s128)
Dselect-phi.mir394 %3:vecr(s128) = COPY $xmm0
395 %1:vecr(s32) = G_TRUNC %3(s128)
396 %4:vecr(s128) = COPY $xmm1
397 %2:vecr(s32) = G_TRUNC %4(s128)
407 %8:vecr(s128) = G_ANYEXT %7(s32)
408 $xmm0 = COPY %8(s128)
455 %3:vecr(s128) = COPY $xmm0
456 %1:vecr(s64) = G_TRUNC %3(s128)
457 %4:vecr(s128) = COPY $xmm1
458 %2:vecr(s64) = G_TRUNC %4(s128)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/GlobalISel/
Dlegalize-inserts.mir32 %3:_(s128) = G_LOAD %2(p0) :: (load 16)
33 %4:_(s128) = G_INSERT %3(s128), %0(s64), 0
34 G_STORE %4(s128), %2(p0) :: (store 16)
55 %3:_(s128) = G_LOAD %2(p0) :: (load 16)
56 %4:_(s128) = G_INSERT %3(s128), %0(s64), 0
57 %5:_(s128) = G_INSERT %4(s128), %1(s32), 64
58 G_STORE %5(s128), %2(p0) :: (store 16)
80 %3:_(s128) = G_LOAD %2(p0) :: (load 16)
81 %4:_(s128) = G_INSERT %3(s128), %0(p0), 0
82 G_STORE %4(s128), %2(p0) :: (store 16)
[all …]
Dfp128-legalize-crash-pr35690.mir37 %0:_(s128) = COPY $q0
39 G_STORE %0(s128), %1(p0) :: (store 16 into %ir.a.addr)
40 %2:_(s128) = G_LOAD %1(p0) :: (load 16 from %ir.a.addr)
41 %3:_(s128) = G_FNEG %2
42 $q0 = COPY %3(s128)
Dlegalize-extracts.mir25 %3:_(s128) = G_LOAD %2(p0) :: (load 16)
26 %4:_(s64) = G_EXTRACT %3(s128), 0
53 %3:_(s128) = G_LOAD %2(p0) :: (load 16)
54 %4:_(s64) = G_EXTRACT %3(s128), 0
55 %5:_(s32) = G_EXTRACT %3(s128), 64
78 %2:_(s128) = G_MERGE_VALUES %0, %1
99 %2:_(s128) = G_MERGE_VALUES %0, %1
Dirtranslator-exceptions.ll25 ; CHECK: [[UNDEF:%[0-9]+]]:_(s128) = G_IMPLICIT_DEF
26 ; CHECK: [[VAL_WITH_PTR:%[0-9]+]]:_(s128) = G_INSERT [[UNDEF]], [[PTR]](p0), 0
27 ; CHECK: [[PTR_SEL:%[0-9]+]]:_(s128) = G_INSERT [[VAL_WITH_PTR]], [[SEL]](s32), 64
28 ; CHECK: [[PTR_RET:%[0-9]+]]:_(s64) = G_EXTRACT [[PTR_SEL]](s128), 0
29 ; CHECK: [[SEL_RET:%[0-9]+]]:_(s32) = G_EXTRACT [[PTR_SEL]](s128), 64
35 ; CHECK: {{%[0-9]+}}:_(s128) = G_INSERT {{%[0-9]+}}, [[SEL]](s32), 64
Dcall-translator-ios.ll62 ; CHECK: [[IMPDEF:%[0-9]+]]:_(s128) = G_IMPLICIT_DEF
63 ; CHECK: [[INS1:%[0-9]+]]:_(s128) = G_INSERT [[IMPDEF]], [[LD1]](s64), 0
64 ; CHECK: [[INS2:%[0-9]+]]:_(s128) = G_INSERT [[INS1]], [[LD2]](s64), 64
65 ; CHECK: [[EXT1:%[0-9]+]]:_(s64) = G_EXTRACT [[INS2]](s128), 0
66 ; CHECK: [[EXT2:%[0-9]+]]:_(s64) = G_EXTRACT [[INS2]](s128), 64
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/GlobalISel/
Dlegalize-insert.mir37 ; CHECK: %2:_(s128) = G_INSERT %0, %1(s32), 0
38 %0:_(s128) = COPY $vgpr0_vgpr1_vgpr2_vgpr3
40 %2:_(s128) = G_INSERT %0, %1, 0
51 ; CHECK: %2:_(s128) = G_INSERT %0, %1(s32), 32
52 %0:_(s128) = COPY $vgpr0_vgpr1_vgpr2_vgpr3
54 %2:_(s128) = G_INSERT %0, %1, 32
65 ; CHECK: %2:_(s128) = G_INSERT %0, %1(s32), 64
66 %0:_(s128) = COPY $vgpr0_vgpr1_vgpr2_vgpr3
68 %2:_(s128) = G_INSERT %0, %1, 64
79 ; CHECK: %2:_(s128) = G_INSERT %0, %1(s32), 96
[all …]
Dlegalize-extract.mir55 ; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $vgpr0_vgpr1_vgpr2_vgpr3
56 ; CHECK: [[EXTRACT:%[0-9]+]]:_(s32) = G_EXTRACT [[COPY]](s128), 32
58 %0:_(s128) = COPY $vgpr0_vgpr1_vgpr2_vgpr3
70 ; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $vgpr0_vgpr1_vgpr2_vgpr3
71 ; CHECK: [[EXTRACT:%[0-9]+]]:_(s32) = G_EXTRACT [[COPY]](s128), 64
73 %0:_(s128) = COPY $vgpr0_vgpr1_vgpr2_vgpr3
85 ; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $vgpr0_vgpr1_vgpr2_vgpr3
86 ; CHECK: [[EXTRACT:%[0-9]+]]:_(s32) = G_EXTRACT [[COPY]](s128), 96
88 %0:_(s128) = COPY $vgpr0_vgpr1_vgpr2_vgpr3
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dverifier-generic-extend-truncate.mir32 # CHECK-NEXT: - instruction: %ze_v2i128:_(<4 x p0>) = G_ZEXT %v2i128:_(<2 x s128>)
37 # CHECK-NEXT: - instruction: %ze_v2i128:_(<4 x p0>) = G_ZEXT %v2i128:_(<2 x s128>)
42 # CHECK-NEXT: - instruction: %ze_v2i128:_(<4 x p0>) = G_ZEXT %v2i128:_(<2 x s128>)
48 # CHECK-NEXT: - instruction: %fe_v2f128:_(p0) = G_FPEXT %v2f128:_(<2 x s128>)
53 # CHECK-NEXT: - instruction: %fe_v2f128:_(p0) = G_FPEXT %v2f128:_(<2 x s128>)
66 %v2i128:_(<2 x s128>) = COPY $ymm1
67 %v2f128:_(<2 x s128>) = COPY $ymm2
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp142 APInt s128(128, 2, true); in TEST() local
143 EXPECT_EQ(126u, s128.countLeadingZeros()); in TEST()
144 EXPECT_EQ(0u, s128.countLeadingOnes()); in TEST()
145 EXPECT_EQ(2u, s128.getActiveBits()); in TEST()
146 EXPECT_EQ(1u, s128.countTrailingZeros()); in TEST()
147 EXPECT_EQ(0u, s128.countTrailingOnes()); in TEST()
148 EXPECT_EQ(1u, s128.countPopulation()); in TEST()
149 EXPECT_EQ(2, s128.getSExtValue()); in TEST()
150 EXPECT_EQ(2u, s128.getZExtValue()); in TEST()
153 s128.setBits(42, 42); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86LegalizerInfo.cpp96 const LLT s128 = LLT::scalar(128); in setLegalizerInfo32bit() local
154 setAction({G_ANYEXT, s128}, Legal); in setLegalizerInfo32bit()
184 const LLT s128 = LLT::scalar(128); in setLegalizerInfo64bit() local
189 setAction({G_IMPLICIT_DEF, s128}, Legal); in setLegalizerInfo64bit()
231 setAction({G_MERGE_VALUES, s128}, Legal); in setLegalizerInfo64bit()
232 setAction({G_UNMERGE_VALUES, 1, s128}, Legal); in setLegalizerInfo64bit()
233 setAction({G_MERGE_VALUES, 1, s128}, Legal); in setLegalizerInfo64bit()
234 setAction({G_UNMERGE_VALUES, s128}, Legal); in setLegalizerInfo64bit()

123