Home
last modified time | relevance | path

Searched refs:trunc (Results 1 – 25 of 3684) sorted by relevance

12345678910>>...148

/external/swiftshader/third_party/subzero/crosstest/
Dtest_icmp_i1vec.ll3 %a.trunc = trunc <16 x i8> %a to <16 x i1>
4 %b.trunc = trunc <16 x i8> %b to <16 x i1>
5 %cmp = icmp eq <16 x i1> %a.trunc, %b.trunc
12 %a.trunc = trunc <16 x i8> %a to <16 x i1>
13 %b.trunc = trunc <16 x i8> %b to <16 x i1>
14 %cmp = icmp ne <16 x i1> %a.trunc, %b.trunc
21 %a.trunc = trunc <16 x i8> %a to <16 x i1>
22 %b.trunc = trunc <16 x i8> %b to <16 x i1>
23 %cmp = icmp ugt <16 x i1> %a.trunc, %b.trunc
30 %a.trunc = trunc <16 x i8> %a to <16 x i1>
[all …]
Dtest_arith_ll.ll11 %a.trunc = trunc i32 %a to i8
12 %b.trunc = trunc i32 %b to i8
13 %result.trunc = add i8 %a.trunc, %b.trunc
14 %result = zext i8 %result.trunc to i32
19 %a.trunc = trunc i32 %a to i16
20 %b.trunc = trunc i32 %b to i16
21 %result.trunc = add i16 %a.trunc, %b.trunc
22 %result = zext i16 %result.trunc to i32
75 %a.trunc = trunc i32 %a to i8
76 %b.trunc = trunc i32 %b to i8
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Darm64-fold-lsl.ll82 ; when we have a load followed by a trunc
90 %trunc = trunc i64 %x to i32
91 ret i32 %trunc
100 %trunc = trunc i64 %x to i16
101 ret i16 %trunc
110 %trunc = trunc i64 %x to i8
111 ret i8 %trunc
120 %trunc = trunc i32 %x to i16
121 ret i16 %trunc
130 %trunc = trunc i32 %x to i8
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dtrunc.ll11 ; CHECK-NEXT: [[B:%.*]] = trunc i64 %a to i32
16 %b = trunc i64 %a to i32
25 ; CHECK-NEXT: [[B:%.*]] = trunc i64 %a to i32
31 %b = trunc i64 %a to i32
41 ; CHECK-NEXT: [[B:%.*]] = trunc i64 %a to i32
46 %b = trunc i64 %a to i32
55 ; CHECK-NEXT: [[B:%.*]] = trunc i64 %a to i32
61 %b = trunc i64 %a to i32
76 %D = trunc i128 %C to i32
83 ; CHECK-NEXT: [[D:%.*]] = trunc i64 [[C]] to i32
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dpartial-shift-shrink.ll12 %trunc = trunc i64 %shift to i16
13 ret i16 %trunc
22 %trunc = trunc i64 %shift to i16
23 ret i16 %trunc
33 %trunc = trunc i55 %shift to i15
34 %add = add i15 %trunc, 4
44 %trunc = trunc i64 %shift to i16
45 ret i16 %trunc
54 %trunc = trunc i64 %shift to i16
55 ret i16 %trunc
[all …]
Dno-shrink-extloads.ll13 %trunc = trunc i32 %arg to i16
14 store i16 %trunc, i16 addrspace(1)* %out
29 %trunc = trunc i32 %load to i16
30 store i16 %trunc, i16 addrspace(1)* %gep.out
38 %trunc = trunc i32 %arg to i8
39 store i8 %trunc, i8 addrspace(1)* %out
51 %trunc = trunc i32 %load to i8
52 store i8 %trunc, i8 addrspace(1)* %gep.out
60 %trunc = trunc i32 %arg to i1
61 store i1 %trunc, i1 addrspace(1)* %out
[all …]
Dcombine-ftrunc.ll9 %trunc = tail call double @llvm.trunc.f64(double %round)
10 store double %trunc, double addrspace(1)* %p, align 8
20 %trunc = tail call float @llvm.trunc.f32(float %round)
21 store float %trunc, float addrspace(1)* %p, align 4
34 %trunc = tail call <2 x float> @llvm.trunc.v2f32(<2 x float> %round)
35 store <2 x float> %trunc, <2 x float> addrspace(1)* %p, align 8
45 %trunc = tail call float @llvm.trunc.f32(float %round)
46 store float %trunc, float addrspace(1)* %p, align 4
56 %trunc = tail call float @llvm.trunc.f32(float %round)
57 store float %trunc, float addrspace(1)* %p, align 4
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/X86/
Dtrunc.ll16 ; SSE-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %V2i64 = trunc <2 x i64> und…
17 ; SSE-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %V4i64 = trunc <4 x i64> und…
18 ; SSE-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %V8i64 = trunc <8 x i64> und…
22 ; AVX1-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %V2i64 = trunc <2 x i64> un…
23 ; AVX1-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V4i64 = trunc <4 x i64> un…
24 ; AVX1-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V8i64 = trunc <8 x i64> un…
28 ; AVX2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %V2i64 = trunc <2 x i64> un…
29 ; AVX2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %V4i64 = trunc <4 x i64> un…
30 ; AVX2-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V8i64 = trunc <8 x i64> un…
34 ; AVX512-NEXT: Cost Model: Found an estimated cost of 0 for instruction: %V2i64 = trunc <2 x i64> …
[all …]
/external/llvm/test/CodeGen/ARM/
D2013-04-18-load-overlap-PR14824.ll17 %data.i.i677.48.extract.trunc = trunc i512 %data.i.i677.48.extract.shift to i64
18 %s123 = insertelement <8 x i64> undef, i64 %data.i.i677.48.extract.trunc, i32 0
20 %data.i.i677.32.extract.trunc = trunc i512 %data.i.i677.32.extract.shift to i64
21 %s124 = insertelement <8 x i64> %s123, i64 %data.i.i677.32.extract.trunc, i32 1
23 %data.i.i677.16.extract.trunc = trunc i512 %data.i.i677.16.extract.shift to i64
24 %s125 = insertelement <8 x i64> %s124, i64 %data.i.i677.16.extract.trunc, i32 2
26 %data.i.i677.56.extract.trunc = trunc i512 %data.i.i677.56.extract.shift to i64
27 %s126 = insertelement <8 x i64> %s125, i64 %data.i.i677.56.extract.trunc, i32 3
29 %data.i.i677.24.extract.trunc = trunc i512 %data.i.i677.24.extract.shift to i64
30 %s127 = insertelement <8 x i64> %s126, i64 %data.i.i677.24.extract.trunc, i32 4
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
D2013-04-18-load-overlap-PR14824.ll17 %data.i.i677.48.extract.trunc = trunc i512 %data.i.i677.48.extract.shift to i64
18 %s123 = insertelement <8 x i64> undef, i64 %data.i.i677.48.extract.trunc, i32 0
20 %data.i.i677.32.extract.trunc = trunc i512 %data.i.i677.32.extract.shift to i64
21 %s124 = insertelement <8 x i64> %s123, i64 %data.i.i677.32.extract.trunc, i32 1
23 %data.i.i677.16.extract.trunc = trunc i512 %data.i.i677.16.extract.shift to i64
24 %s125 = insertelement <8 x i64> %s124, i64 %data.i.i677.16.extract.trunc, i32 2
26 %data.i.i677.56.extract.trunc = trunc i512 %data.i.i677.56.extract.shift to i64
27 %s126 = insertelement <8 x i64> %s125, i64 %data.i.i677.56.extract.trunc, i32 3
29 %data.i.i677.24.extract.trunc = trunc i512 %data.i.i677.24.extract.shift to i64
30 %s127 = insertelement <8 x i64> %s126, i64 %data.i.i677.24.extract.trunc, i32 4
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPSIntTest.cpp108 EXPECT_TRUE(APSInt::compareValues(S(7).trunc(32), S(8)) < 0); in TEST()
109 EXPECT_TRUE(APSInt::compareValues(S(8).trunc(32), S(7)) > 0); in TEST()
110 EXPECT_TRUE(APSInt::compareValues(S(7).trunc(32), S(7)) == 0); in TEST()
111 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(8)) < 0); in TEST()
112 EXPECT_TRUE(APSInt::compareValues(S(8).trunc(32), S(-7)) > 0); in TEST()
113 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(-7)) == 0); in TEST()
114 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(-8)) > 0); in TEST()
115 EXPECT_TRUE(APSInt::compareValues(S(-8).trunc(32), S(-7)) < 0); in TEST()
116 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(-7)) == 0); in TEST()
117 EXPECT_TRUE(APSInt::compareValues(S(7), S(8).trunc(32)) < 0); in TEST()
[all …]
/external/llvm/unittests/ADT/
DAPSIntTest.cpp108 EXPECT_TRUE(APSInt::compareValues(S(7).trunc(32), S(8)) < 0); in TEST()
109 EXPECT_TRUE(APSInt::compareValues(S(8).trunc(32), S(7)) > 0); in TEST()
110 EXPECT_TRUE(APSInt::compareValues(S(7).trunc(32), S(7)) == 0); in TEST()
111 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(8)) < 0); in TEST()
112 EXPECT_TRUE(APSInt::compareValues(S(8).trunc(32), S(-7)) > 0); in TEST()
113 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(-7)) == 0); in TEST()
114 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(-8)) > 0); in TEST()
115 EXPECT_TRUE(APSInt::compareValues(S(-8).trunc(32), S(-7)) < 0); in TEST()
116 EXPECT_TRUE(APSInt::compareValues(S(-7).trunc(32), S(-7)) == 0); in TEST()
117 EXPECT_TRUE(APSInt::compareValues(S(7), S(8).trunc(32)) < 0); in TEST()
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dno-shrink-extloads.ll13 %trunc = trunc i32 %arg to i16
14 store i16 %trunc, i16 addrspace(1)* %out
29 %trunc = trunc i32 %load to i16
30 store i16 %trunc, i16 addrspace(1)* %gep.out
38 %trunc = trunc i32 %arg to i8
39 store i8 %trunc, i8 addrspace(1)* %out
51 %trunc = trunc i32 %load to i8
52 store i8 %trunc, i8 addrspace(1)* %gep.out
60 %trunc = trunc i32 %arg to i1
61 store i1 %trunc, i1 addrspace(1)* %out
[all …]
Dtrunc-bitcast-vector.ll10 %trunc = trunc i64 %bc to i32
11 store i32 %trunc, i32 addrspace(1)* %out
21 %trunc = trunc i96 %bc to i32
22 store i32 %trunc, i32 addrspace(1)* %out
32 %trunc = trunc i128 %bc to i32
33 store i32 %trunc, i32 addrspace(1)* %out
44 %trunc = trunc i32 %bc to i16
45 store i16 %trunc, i16 addrspace(1)* %out
55 %trunc = trunc i64 %bc to i16
56 store i16 %trunc, i16 addrspace(1)* %out
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dvec-and-03.ll11 %trunc = trunc <16 x i8> %val to <16 x i1>
12 %ret = zext <16 x i1> %trunc to <16 x i8>
22 %trunc = trunc <8 x i16> %val to <8 x i1>
23 %ret = zext <8 x i1> %trunc to <8 x i16>
33 %trunc = trunc <8 x i16> %val to <8 x i8>
34 %ret = zext <8 x i8> %trunc to <8 x i16>
44 %trunc = trunc <4 x i32> %val to <4 x i1>
45 %ret = zext <4 x i1> %trunc to <4 x i32>
55 %trunc = trunc <4 x i32> %val to <4 x i8>
56 %ret = zext <4 x i8> %trunc to <4 x i32>
[all …]
Dvec-move-17.ll8 %trunc = trunc <16 x i8> %val to <16 x i1>
9 store <16 x i1> %trunc, <16 x i1> *%ptr
16 %trunc = trunc <8 x i16> %val to <8 x i1>
17 store <8 x i1> %trunc, <8 x i1> *%ptr
27 %trunc = trunc <8 x i16> %val to <8 x i8>
28 store <8 x i8> %trunc, <8 x i8> *%ptr
35 %trunc = trunc <4 x i32> %val to <4 x i1>
36 store <4 x i1> %trunc, <4 x i1> *%ptr
47 %trunc = trunc <4 x i32> %val to <4 x i8>
48 store <4 x i8> %trunc, <4 x i8> *%ptr
[all …]
Dor-06.ll14 %trunc = trunc i32 %or to i8
15 store i8 %trunc, i8 *%ptr
27 %trunc = trunc i64 %or to i8
28 store i8 %trunc, i8 *%ptr
40 %trunc = trunc i32 %or to i8
41 store i8 %trunc, i8 *%ptr
53 %trunc = trunc i64 %or to i8
54 store i8 %trunc, i8 *%ptr
66 %trunc = trunc i32 %or to i8
67 store i8 %trunc, i8 *%ptr
[all …]
Dand-06.ll14 %trunc = trunc i32 %and to i8
15 store i8 %trunc, i8 *%ptr
27 %trunc = trunc i64 %and to i8
28 store i8 %trunc, i8 *%ptr
40 %trunc = trunc i32 %and to i8
41 store i8 %trunc, i8 *%ptr
53 %trunc = trunc i64 %and to i8
54 store i8 %trunc, i8 *%ptr
66 %trunc = trunc i32 %and to i8
67 store i8 %trunc, i8 *%ptr
[all …]
Dxor-06.ll14 %trunc = trunc i32 %xor to i8
15 store i8 %trunc, i8 *%ptr
27 %trunc = trunc i64 %xor to i8
28 store i8 %trunc, i8 *%ptr
40 %trunc = trunc i32 %xor to i8
41 store i8 %trunc, i8 *%ptr
53 %trunc = trunc i64 %xor to i8
54 store i8 %trunc, i8 *%ptr
66 %trunc = trunc i32 %xor to i8
67 store i8 %trunc, i8 *%ptr
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dvec-and-03.ll11 %trunc = trunc <16 x i8> %val to <16 x i1>
12 %ret = zext <16 x i1> %trunc to <16 x i8>
22 %trunc = trunc <8 x i16> %val to <8 x i1>
23 %ret = zext <8 x i1> %trunc to <8 x i16>
33 %trunc = trunc <8 x i16> %val to <8 x i8>
34 %ret = zext <8 x i8> %trunc to <8 x i16>
44 %trunc = trunc <4 x i32> %val to <4 x i1>
45 %ret = zext <4 x i1> %trunc to <4 x i32>
55 %trunc = trunc <4 x i32> %val to <4 x i8>
56 %ret = zext <4 x i8> %trunc to <4 x i32>
[all …]
Dvec-move-17.ll8 %trunc = trunc <16 x i8> %val to <16 x i1>
9 store <16 x i1> %trunc, <16 x i1> *%ptr
16 %trunc = trunc <8 x i16> %val to <8 x i1>
17 store <8 x i1> %trunc, <8 x i1> *%ptr
27 %trunc = trunc <8 x i16> %val to <8 x i8>
28 store <8 x i8> %trunc, <8 x i8> *%ptr
35 %trunc = trunc <4 x i32> %val to <4 x i1>
36 store <4 x i1> %trunc, <4 x i1> *%ptr
47 %trunc = trunc <4 x i32> %val to <4 x i8>
48 store <4 x i8> %trunc, <4 x i8> *%ptr
[all …]
Dand-06.ll14 %trunc = trunc i32 %and to i8
15 store i8 %trunc, i8 *%ptr
27 %trunc = trunc i64 %and to i8
28 store i8 %trunc, i8 *%ptr
40 %trunc = trunc i32 %and to i8
41 store i8 %trunc, i8 *%ptr
53 %trunc = trunc i64 %and to i8
54 store i8 %trunc, i8 *%ptr
66 %trunc = trunc i32 %and to i8
67 store i8 %trunc, i8 *%ptr
[all …]
Dxor-06.ll14 %trunc = trunc i32 %xor to i8
15 store i8 %trunc, i8 *%ptr
27 %trunc = trunc i64 %xor to i8
28 store i8 %trunc, i8 *%ptr
40 %trunc = trunc i32 %xor to i8
41 store i8 %trunc, i8 *%ptr
53 %trunc = trunc i64 %xor to i8
54 store i8 %trunc, i8 *%ptr
66 %trunc = trunc i32 %xor to i8
67 store i8 %trunc, i8 *%ptr
[all …]
Dor-06.ll14 %trunc = trunc i32 %or to i8
15 store i8 %trunc, i8 *%ptr
27 %trunc = trunc i64 %or to i8
28 store i8 %trunc, i8 *%ptr
40 %trunc = trunc i32 %or to i8
41 store i8 %trunc, i8 *%ptr
53 %trunc = trunc i64 %or to i8
54 store i8 %trunc, i8 *%ptr
66 %trunc = trunc i32 %or to i8
67 store i8 %trunc, i8 *%ptr
[all …]
/external/tcpdump/
Dprint-pim.c173 goto trunc; in pimv1_join_prune_print()
181 goto trunc; in pimv1_join_prune_print()
193 goto trunc; in pimv1_join_prune_print()
204 goto trunc; in pimv1_join_prune_print()
210 goto trunc; in pimv1_join_prune_print()
217 goto trunc; in pimv1_join_prune_print()
232 goto trunc; in pimv1_join_prune_print()
245 trunc: in pimv1_join_prune_print()
323 goto trunc; in pimv1_print()
333 trunc: in pimv1_print()
[all …]

12345678910>>...148