Searched refs:bswap (Results 1 – 25 of 344) sorted by relevance
12345678910>>...14
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/X86/ |
D | bswap.ll | 9 ; Verify the cost of vector bswap instructions. 11 declare <2 x i64> @llvm.bswap.v2i64(<2 x i64>) 12 declare <4 x i32> @llvm.bswap.v4i32(<4 x i32>) 13 declare <8 x i16> @llvm.bswap.v8i16(<8 x i16>) 15 declare <4 x i64> @llvm.bswap.v4i64(<4 x i64>) 16 declare <8 x i32> @llvm.bswap.v8i32(<8 x i32>) 17 declare <16 x i16> @llvm.bswap.v16i16(<16 x i16>) 21 …Cost Model: Found an estimated cost of 7 for instruction: %bswap = call <2 x i64> @llvm.bswap.v2i6… 22 ; SSE2-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <2 x i64> %bswap 25 …Cost Model: Found an estimated cost of 1 for instruction: %bswap = call <2 x i64> @llvm.bswap.v2i6… [all …]
|
D | scalarize.ll | 13 declare %i4 @llvm.bswap.v4i32(%i4) 14 declare %i8 @llvm.bswap.v2i64(%i8) 24 ; CHECK32: cost of 1 {{.*}}bswap.v4i32 25 ; CHECK64: cost of 1 {{.*}}bswap.v4i32 26 %r2 = call %i4 @llvm.bswap.v4i32(%i4 undef) 27 ; CHECK32: cost of 1 {{.*}}bswap.v2i64 28 ; CHECK64: cost of 1 {{.*}}bswap.v2i64 29 %r3 = call %i8 @llvm.bswap.v2i64(%i8 undef)
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/AArch64/ |
D | bswap.ll | 3 ; Verify the cost of bswap instructions. 5 declare i16 @llvm.bswap.i16(i16) 6 declare i32 @llvm.bswap.i32(i32) 7 declare i64 @llvm.bswap.i64(i64) 9 declare <2 x i32> @llvm.bswap.v2i32(<2 x i32>) 10 declare <4 x i16> @llvm.bswap.v4i16(<4 x i16>) 12 declare <2 x i64> @llvm.bswap.v2i64(<2 x i64>) 13 declare <4 x i32> @llvm.bswap.v4i32(<4 x i32>) 14 declare <8 x i16> @llvm.bswap.v8i16(<8 x i16>) 18 ; CHECK: Found an estimated cost of 1 for instruction: %bswap [all …]
|
/external/llvm/test/Analysis/CostModel/X86/ |
D | bswap.ll | 8 ; Verify the cost of vector bswap instructions. 10 declare <2 x i64> @llvm.bswap.v2i64(<2 x i64>) 11 declare <4 x i32> @llvm.bswap.v4i32(<4 x i32>) 12 declare <8 x i16> @llvm.bswap.v8i16(<8 x i16>) 14 declare <4 x i64> @llvm.bswap.v4i64(<4 x i64>) 15 declare <8 x i32> @llvm.bswap.v8i32(<8 x i32>) 16 declare <16 x i16> @llvm.bswap.v16i16(<16 x i16>) 20 ; SSE2: Found an estimated cost of 7 for instruction: %bswap 21 ; SSE42: Found an estimated cost of 1 for instruction: %bswap 22 ; AVX: Found an estimated cost of 1 for instruction: %bswap [all …]
|
D | scalarize.ll | 13 declare %i4 @llvm.bswap.v4i32(%i4) 14 declare %i8 @llvm.bswap.v2i64(%i8) 24 ; CHECK32: cost of 1 {{.*}}bswap.v4i32 25 ; CHECK64: cost of 1 {{.*}}bswap.v4i32 26 %r2 = call %i4 @llvm.bswap.v4i32(%i4 undef) 27 ; CHECK32: cost of 1 {{.*}}bswap.v2i64 28 ; CHECK64: cost of 1 {{.*}}bswap.v2i64 29 %r3 = call %i8 @llvm.bswap.v2i64(%i8 undef)
|
/external/llvm/test/Transforms/InstCombine/ |
D | bswap-fold.ll | 7 %tmp10 = call i16 @llvm.bswap.i16( i16 %tmp2 ) 16 %tmp34 = tail call i32 @llvm.bswap.i32( i32 %tmp ) 25 %tmp34 = tail call i64 @llvm.bswap.i64( i64 %tmp ) 36 %tmp2 = tail call i32 @llvm.bswap.i32( i32 %a ) 45 %tmp2 = tail call i32 @llvm.bswap.i32( i32 %a ) 46 %tmp4 = tail call i32 @llvm.bswap.i32( i32 %tmp2 ) 55 %tmp2 = tail call i32 @llvm.bswap.i32( i32 %a ) 66 %B = tail call i32 @llvm.bswap.i32(i32 %A) nounwind 68 %D = tail call i16 @llvm.bswap.i16(i16 %C) nounwind 77 %B = tail call i64 @llvm.bswap.i64(i64 %A) nounwind [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | movbe.ll | 4 declare i16 @llvm.bswap.i16(i16) nounwind readnone 5 declare i32 @llvm.bswap.i32(i32) nounwind readnone 6 declare i64 @llvm.bswap.i64(i64) nounwind readnone 9 %bswap = call i16 @llvm.bswap.i16(i16 %y) 10 store i16 %bswap, i16* %x, align 2 20 %bswap = call i16 @llvm.bswap.i16(i16 %load) 21 ret i16 %bswap 29 %bswap = call i32 @llvm.bswap.i32(i32 %y) 30 store i32 %bswap, i32* %x, align 4 40 %bswap = call i32 @llvm.bswap.i32(i32 %load) [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | movbe.ll | 4 declare i16 @llvm.bswap.i16(i16) nounwind readnone 5 declare i32 @llvm.bswap.i32(i32) nounwind readnone 6 declare i64 @llvm.bswap.i64(i64) nounwind readnone 9 %bswap = call i16 @llvm.bswap.i16(i16 %y) 10 store i16 %bswap, i16* %x, align 2 20 %bswap = call i16 @llvm.bswap.i16(i16 %load) 21 ret i16 %bswap 29 %bswap = call i32 @llvm.bswap.i32(i32 %y) 30 store i32 %bswap, i32* %x, align 4 40 %bswap = call i32 @llvm.bswap.i32(i32 %load) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | bswap-fold.ll | 11 %tmp2 = tail call i32 @llvm.bswap.i32( i32 %a ) 22 %tmp2 = tail call i32 @llvm.bswap.i32( i32 %a ) 34 %B = tail call i32 @llvm.bswap.i32(i32 %A) nounwind 36 %D = tail call i16 @llvm.bswap.i16(i16 %C) nounwind 46 %B = tail call i64 @llvm.bswap.i64(i64 %A) nounwind 48 %D = tail call i16 @llvm.bswap.i16(i16 %C) nounwind 52 ; Misc: Fold bswap(undef) to undef. 57 %a = call i64 @llvm.bswap.i64(i64 undef) 67 ; CHECK-NEXT: [[TMP2:%.*]] = call i16 @llvm.bswap.i16(i16 [[TMP1]]) 70 %1 = tail call i16 @llvm.bswap.i16(i16 %a) [all …]
|
D | bswap.ll | 7 ; CHECK-NEXT: [[TMP12:%.*]] = call i32 @llvm.bswap.i32(i32 %i) 24 ; CHECK-NEXT: [[TMP14:%.*]] = call i32 @llvm.bswap.i32(i32 %arg) 41 ; CHECK-NEXT: [[TMP5:%.*]] = call i16 @llvm.bswap.i16(i16 %s) 52 ; CHECK-NEXT: [[TMP5:%.*]] = call i16 @llvm.bswap.i16(i16 %s) 63 ; CHECK-NEXT: [[TMP_UPGRD_3:%.*]] = call i16 @llvm.bswap.i16(i16 %a) 83 ; CHECK-NEXT: [[TMP7:%.*]] = call i32 @llvm.bswap.i32(i32 %x) 105 ; CHECK-NEXT: [[BSWAP:%.*]] = call i32 @llvm.bswap.i32(i32 %x) 115 %bswap = or i32 %tshl, %band 116 ret i32 %bswap 119 ; Extra use should not prevent matching to bswap. [all …]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | bswap.ll | 4 declare i32 @llvm.bswap.i32(i32) nounwind readnone 5 declare <2 x i32> @llvm.bswap.v2i32(<2 x i32>) nounwind readnone 6 declare <4 x i32> @llvm.bswap.v4i32(<4 x i32>) nounwind readnone 7 declare <8 x i32> @llvm.bswap.v8i32(<8 x i32>) nounwind readnone 8 declare i64 @llvm.bswap.i64(i64) nounwind readnone 9 declare <2 x i64> @llvm.bswap.v2i64(<2 x i64>) nounwind readnone 10 declare <4 x i64> @llvm.bswap.v4i64(<4 x i64>) nounwind readnone 22 %bswap = call i32 @llvm.bswap.i32(i32 %val) nounwind readnone 23 store i32 %bswap, i32 addrspace(1)* %out, align 4 37 %bswap = call <2 x i32> @llvm.bswap.v2i32(<2 x i32> %val) nounwind readnone [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/ |
D | bswap.ll | 4 declare i16 @llvm.bswap.i16(i16) nounwind readnone 5 declare i32 @llvm.bswap.i32(i32) nounwind readnone 6 declare <2 x i32> @llvm.bswap.v2i32(<2 x i32>) nounwind readnone 7 declare <4 x i32> @llvm.bswap.v4i32(<4 x i32>) nounwind readnone 8 declare <8 x i32> @llvm.bswap.v8i32(<8 x i32>) nounwind readnone 9 declare i64 @llvm.bswap.i64(i64) nounwind readnone 10 declare <2 x i64> @llvm.bswap.v2i64(<2 x i64>) nounwind readnone 11 declare <4 x i64> @llvm.bswap.v4i64(<4 x i64>) nounwind readnone 23 %bswap = call i32 @llvm.bswap.i32(i32 %val) nounwind readnone 24 store i32 %bswap, i32 addrspace(1)* %out, align 4 [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | movbe.ll | 3 declare i32 @llvm.bswap.i32(i32) nounwind readnone 4 declare i64 @llvm.bswap.i64(i64) nounwind readnone 7 %bswap = call i32 @llvm.bswap.i32(i32 %y) 8 store i32 %bswap, i32* %x, align 4 16 %bswap = call i32 @llvm.bswap.i32(i32 %load) 17 ret i32 %bswap 23 %bswap = call i64 @llvm.bswap.i64(i64 %y) 24 store i64 %bswap, i64* %x, align 8 32 %bswap = call i64 @llvm.bswap.i64(i64 %load) 33 ret i64 %bswap
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
D | bswap-fold.ll | 1 ; RUN: opt < %s -instcombine -S | not grep call.*bswap 4 %tmp10 = call i16 @llvm.bswap.i16( i16 %tmp2 ) 10 %tmp34 = tail call i32 @llvm.bswap.i32( i32 %tmp ) 15 declare i32 @llvm.bswap.i32(i32) 18 %tmp34 = tail call i64 @llvm.bswap.i64( i64 %tmp ) 23 declare i64 @llvm.bswap.i64(i64) 25 declare i16 @llvm.bswap.i16(i16) 31 %tmp2 = tail call i32 @llvm.bswap.i32( i32 %a ) 39 %tmp2 = tail call i32 @llvm.bswap.i32( i32 %a ) 40 %tmp4 = tail call i32 @llvm.bswap.i32( i32 %tmp2 ) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SLPVectorizer/X86/ |
D | bswap.ll | 15 declare i64 @llvm.bswap.i64(i64) 16 declare i32 @llvm.bswap.i32(i32) 17 declare i16 @llvm.bswap.i16(i16) 23 ; SSE-NEXT: [[BSWAP0:%.*]] = call i64 @llvm.bswap.i64(i64 [[LD0]]) 24 ; SSE-NEXT: [[BSWAP1:%.*]] = call i64 @llvm.bswap.i64(i64 [[LD1]]) 31 ; AVX-NEXT: [[TMP2:%.*]] = call <2 x i64> @llvm.bswap.v2i64(<2 x i64> [[TMP1]]) 37 %bswap0 = call i64 @llvm.bswap.i64(i64 %ld0) 38 %bswap1 = call i64 @llvm.bswap.i64(i64 %ld1) 50 ; SSE-NEXT: [[BSWAP0:%.*]] = call i64 @llvm.bswap.i64(i64 [[LD0]]) 51 ; SSE-NEXT: [[BSWAP1:%.*]] = call i64 @llvm.bswap.i64(i64 [[LD1]]) [all …]
|
/external/llvm/test/Transforms/SLPVectorizer/X86/ |
D | bswap.ll | 15 declare i64 @llvm.bswap.i64(i64) 16 declare i32 @llvm.bswap.i32(i32) 17 declare i16 @llvm.bswap.i16(i16) 23 ; SSE-NEXT: [[BSWAP0:%.*]] = call i64 @llvm.bswap.i64(i64 [[LD0]]) 24 ; SSE-NEXT: [[BSWAP1:%.*]] = call i64 @llvm.bswap.i64(i64 [[LD1]]) 31 ; AVX-NEXT: [[TMP2:%.*]] = call <2 x i64> @llvm.bswap.v2i64(<2 x i64> [[TMP1]]) 37 %bswap0 = call i64 @llvm.bswap.i64(i64 %ld0) 38 %bswap1 = call i64 @llvm.bswap.i64(i64 %ld1) 50 ; SSE-NEXT: [[BSWAP0:%.*]] = call i64 @llvm.bswap.i64(i64 [[LD0]]) 51 ; SSE-NEXT: [[BSWAP1:%.*]] = call i64 @llvm.bswap.i64(i64 [[LD1]]) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Generic/ |
D | bswap.ll | 1 ; tests lowering of vector bswap 15 declare i16 @llvm.bswap.i16(i16); 16 declare i32 @llvm.bswap.i32(i32); 17 declare i64 @llvm.bswap.i64(i64); 18 declare <4 x i16> @llvm.bswap.v4i16(<4 x i16>); 19 declare <4 x i32> @llvm.bswap.v4i32(<4 x i32>); 20 declare <4 x i64> @llvm.bswap.v4i64(<4 x i64>); 28 %ra = tail call i16 @llvm.bswap.i16(i16 1) 31 %rb = tail call i32 @llvm.bswap.i32(i32 256) 34 %rc = tail call i64 @llvm.bswap.i64(i64 272) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/ |
D | bswap-03.ll | 5 declare i64 @llvm.bswap.i64(i64 %a) 13 %swapped = call i64 @llvm.bswap.i64(i64 %a) 24 %swapped = call i64 @llvm.bswap.i64(i64 %a) 37 %swapped = call i64 @llvm.bswap.i64(i64 %a) 48 %swapped = call i64 @llvm.bswap.i64(i64 %a) 59 %swapped = call i64 @llvm.bswap.i64(i64 %a) 72 %swapped = call i64 @llvm.bswap.i64(i64 %a) 85 %swapped = call i64 @llvm.bswap.i64(i64 %a) 107 %swapped0 = call i64 @llvm.bswap.i64(i64 %val0) 108 %swapped1 = call i64 @llvm.bswap.i64(i64 %val1) [all …]
|
D | bswap-02.ll | 5 declare i32 @llvm.bswap.i32(i32 %a) 13 %swapped = call i32 @llvm.bswap.i32(i32 %a) 24 %swapped = call i32 @llvm.bswap.i32(i32 %a) 37 %swapped = call i32 @llvm.bswap.i32(i32 %a) 48 %swapped = call i32 @llvm.bswap.i32(i32 %a) 59 %swapped = call i32 @llvm.bswap.i32(i32 %a) 72 %swapped = call i32 @llvm.bswap.i32(i32 %a) 85 %swapped = call i32 @llvm.bswap.i32(i32 %a) 107 %swapped0 = call i32 @llvm.bswap.i32(i32 %val0) 108 %swapped1 = call i32 @llvm.bswap.i32(i32 %val1) [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | bswap-02.ll | 5 declare i32 @llvm.bswap.i32(i32 %a) 13 %swapped = call i32 @llvm.bswap.i32(i32 %a) 24 %swapped = call i32 @llvm.bswap.i32(i32 %a) 37 %swapped = call i32 @llvm.bswap.i32(i32 %a) 48 %swapped = call i32 @llvm.bswap.i32(i32 %a) 59 %swapped = call i32 @llvm.bswap.i32(i32 %a) 72 %swapped = call i32 @llvm.bswap.i32(i32 %a) 85 %swapped = call i32 @llvm.bswap.i32(i32 %a) 97 %swapped = call i32 @llvm.bswap.i32(i32 %a) 124 %swapped0 = call i32 @llvm.bswap.i32(i32 %val0) [all …]
|
D | bswap-03.ll | 5 declare i64 @llvm.bswap.i64(i64 %a) 13 %swapped = call i64 @llvm.bswap.i64(i64 %a) 24 %swapped = call i64 @llvm.bswap.i64(i64 %a) 37 %swapped = call i64 @llvm.bswap.i64(i64 %a) 48 %swapped = call i64 @llvm.bswap.i64(i64 %a) 59 %swapped = call i64 @llvm.bswap.i64(i64 %a) 72 %swapped = call i64 @llvm.bswap.i64(i64 %a) 85 %swapped = call i64 @llvm.bswap.i64(i64 %a) 97 %swapped = call i64 @llvm.bswap.i64(i64 %a) 124 %swapped0 = call i64 @llvm.bswap.i64(i64 %val0) [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/SystemZ/ |
D | 11-BSwap.ll | 9 %res = tail call i16 @llvm.bswap.i16(i16 %a) 16 %res = tail call i32 @llvm.bswap.i32(i32 %a) 23 %res = tail call i64 @llvm.bswap.i64(i64 %a) 29 %res = tail call i16 @llvm.bswap.i16(i16 %a) 37 %res = tail call i32 @llvm.bswap.i32(i32 %a) 45 %res = tail call i64 @llvm.bswap.i64(i64 %a) 50 %res = tail call i16 @llvm.bswap.i16(i16 %a) 58 %res = tail call i32 @llvm.bswap.i32(i32 %a) 66 %res = tail call i64 @llvm.bswap.i64(i64 %a) 71 declare i16 @llvm.bswap.i16(i16) nounwind readnone [all …]
|
/external/llvm/test/Transforms/ConstProp/ |
D | bswap.ll | 1 ; bswap should be constant folded when it is passed a constant argument 5 declare i16 @llvm.bswap.i16(i16) 7 declare i32 @llvm.bswap.i32(i32) 9 declare i64 @llvm.bswap.i64(i64) 11 declare i80 @llvm.bswap.i80(i80) 16 %Z = call i16 @llvm.bswap.i16( i16 1 ) ; <i16> [#uses=1] 23 %Z = call i32 @llvm.bswap.i32( i32 1 ) ; <i32> [#uses=1] 30 %Z = call i64 @llvm.bswap.i64( i64 1 ) ; <i64> [#uses=1] 38 %Z = call i80 @llvm.bswap.i80( i80 76151636403560493650080 )
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ConstProp/ |
D | bswap.ll | 1 ; bswap should be constant folded when it is passed a constant argument 5 declare i16 @llvm.bswap.i16(i16) 7 declare i32 @llvm.bswap.i32(i32) 9 declare i64 @llvm.bswap.i64(i64) 11 declare i80 @llvm.bswap.i80(i80) 16 %Z = call i16 @llvm.bswap.i16( i16 1 ) ; <i16> [#uses=1] 23 %Z = call i32 @llvm.bswap.i32( i32 1 ) ; <i32> [#uses=1] 30 %Z = call i64 @llvm.bswap.i64( i64 1 ) ; <i64> [#uses=1] 38 %Z = call i80 @llvm.bswap.i80( i80 76151636403560493650080 )
|
/external/swiftshader/third_party/LLVM/test/Transforms/ConstProp/ |
D | bswap.ll | 1 ; bswap should be constant folded when it is passed a constant argument 5 declare i16 @llvm.bswap.i16(i16) 7 declare i32 @llvm.bswap.i32(i32) 9 declare i64 @llvm.bswap.i64(i64) 12 %Z = call i16 @llvm.bswap.i16( i16 1 ) ; <i16> [#uses=1] 17 %Z = call i32 @llvm.bswap.i32( i32 1 ) ; <i32> [#uses=1] 22 %Z = call i64 @llvm.bswap.i64( i64 1 ) ; <i64> [#uses=1]
|
12345678910>>...14