Searched refs:bswap (Results 1 – 25 of 422) sorted by relevance
12345678910>>...17
/external/llvm-project/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-project/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 …]
|
/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 …]
|
/external/llvm-project/llvm/test/Verifier/ |
D | bswap.ll | 2 ; Check handling of bswap with unsupported sizes. 4 declare i8 @llvm.bswap.i8(i8) 5 declare <2 x i8> @llvm.bswap.v2i8(<2 x i8>) 7 declare i12 @llvm.bswap.i12(i12) 8 declare <2 x i12> @llvm.bswap.v2i12(<2 x i12>) 10 declare i18 @llvm.bswap.i18(i18) 11 declare <2 x i18> @llvm.bswap.v2i18(<2 x i18>) 14 ; CHECK: bswap must be an even number of bytes 15 ; CHECK-NEXT: %res = call i8 @llvm.bswap.i8(i8 %arg) 16 %res = call i8 @llvm.bswap.i8(i8 %arg) [all …]
|
/external/llvm-project/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 …]
|
D | combine-bswap.ll | 5 ; These tests just check that the plumbing is in place for @llvm.bswap. The 6 ; actual output is massive at the moment as llvm.bswap is not yet legal. 8 declare i32 @llvm.bswap.i32(i32) readnone 9 declare i32 @llvm.bswap.v4i32(i32) readnone 11 ; fold (bswap undef) -> undef 20 %b = call i32 @llvm.bswap.i32(i32 undef) 24 ; fold (bswap (bswap x)) -> x 35 %b = call i32 @llvm.bswap.i32(i32 %a0) 36 %c = call i32 @llvm.bswap.i32(i32 %b) 55 %c = call i32 @llvm.bswap.i32(i32 %b)
|
/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/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/llvm-project/llvm/test/Transforms/InstCombine/ |
D | bswap-fold.ll | 11 %t2 = tail call i32 @llvm.bswap.i32( i32 %a ) 22 %t2 = 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 <2 x i32> @llvm.bswap.v2i32(<2 x i32> %A) nounwind 48 %D = tail call <2 x i16> @llvm.bswap.v2i16(<2 x i16> %C) nounwind 58 %B = tail call i64 @llvm.bswap.i64(i64 %A) nounwind 60 %D = tail call i16 @llvm.bswap.i16(i16 %C) nounwind 70 %B = tail call <2 x i64> @llvm.bswap.v2i64(<2 x i64> %A) nounwind 72 %D = tail call <2 x i16> @llvm.bswap.v2i16(<2 x i16> %C) nounwind [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/llvm-project/llvm/test/Analysis/CostModel/SystemZ/ |
D | intrinsics.ll | 11 %swp1 = tail call i64 @llvm.bswap.i64(i64 %arg) 12 %swp2 = tail call <2 x i64> @llvm.bswap.v2i64(<2 x i64> %arg2) 13 %swp4 = tail call <4 x i64> @llvm.bswap.v4i64(<4 x i64> undef) 23 %swp1 = tail call i32 @llvm.bswap.i32(i32 %arg) 24 %swp2 = tail call <2 x i32> @llvm.bswap.v2i32(<2 x i32> %arg2) 25 %swp4 = tail call <4 x i32> @llvm.bswap.v4i32(<4 x i32> %arg4) 26 %swp8 = tail call <8 x i32> @llvm.bswap.v8i32(<8 x i32> undef) 33 …el: Found an estimated cost of 1 for instruction: %swp1 = tail call i16 @llvm.bswap.i16(i16 %arg) 34 … estimated cost of 1 for instruction: %swp2 = tail call <2 x i16> @llvm.bswap.v2i16(<2 x i16> %a… 35 … estimated cost of 1 for instruction: %swp4 = tail call <4 x i16> @llvm.bswap.v4i16(<4 x i16> %a… [all …]
|
/external/llvm-project/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/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | vec-bswap-05.ll | 5 declare i16 @llvm.bswap.i16(i16) 6 declare i32 @llvm.bswap.i32(i32) 7 declare i64 @llvm.bswap.i64(i64) 8 declare <8 x i16> @llvm.bswap.v8i16(<8 x i16>) 9 declare <4 x i32> @llvm.bswap.v4i32(<4 x i32>) 10 declare <2 x i64> @llvm.bswap.v2i64(<2 x i64>) 18 %swap = call i16 @llvm.bswap.i16(i16 %val) 23 ; Test VLLEBRZH using a vector bswap. 30 %ret = call <8 x i16> @llvm.bswap.v8i16(<8 x i16> %insert) 40 %swap = call i32 @llvm.bswap.i32(i32 %val) [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 …]
|
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 | vec-bswap-04.ll | 5 declare i16 @llvm.bswap.i16(i16) 6 declare i32 @llvm.bswap.i32(i32) 7 declare i64 @llvm.bswap.i64(i64) 8 declare <8 x i16> @llvm.bswap.v8i16(<8 x i16>) 9 declare <4 x i32> @llvm.bswap.v4i32(<4 x i32>) 10 declare <2 x i64> @llvm.bswap.v2i64(<2 x i64>) 18 %swap = call i16 @llvm.bswap.i16(i16 %element) 29 %swap = call i16 @llvm.bswap.i16(i16 %element) 41 %swap = call i16 @llvm.bswap.i16(i16 %element) 53 %swap = call i16 @llvm.bswap.i16(i16 %element) [all …]
|
D | vec-bswap-06.ll | 5 declare i16 @llvm.bswap.i16(i16) 6 declare i32 @llvm.bswap.i32(i32) 7 declare i64 @llvm.bswap.i64(i64) 8 declare <8 x i16> @llvm.bswap.v8i16(<8 x i16>) 9 declare <4 x i32> @llvm.bswap.v4i32(<4 x i32>) 10 declare <2 x i64> @llvm.bswap.v2i64(<2 x i64>) 18 %swap = call i16 @llvm.bswap.i16(i16 %val) 23 ; Test v8i16 insertion into an undef, using a vector bswap. 30 %ret = call <8 x i16> @llvm.bswap.v8i16(<8 x i16> %insert) 40 %swap = call i32 @llvm.bswap.i32(i32 %val) [all …]
|
/external/llvm-project/llvm/test/Transforms/InstSimplify/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/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/llvm-project/llvm/test/Transforms/SLPVectorizer/AMDGPU/ |
D | bswap.ll | 6 ; GFX7: call i16 @llvm.bswap.i16( 7 ; GFX7: call i16 @llvm.bswap.i16( 9 ; GFX8: call <2 x i16> @llvm.bswap.v2i16( 13 %tmp1 = tail call i16 @llvm.bswap.i16(i16 %tmp) 16 %tmp4 = tail call i16 @llvm.bswap.i16(i16 %tmp3) 22 ; GCN: call i32 @llvm.bswap.i32 23 ; GCN: call i32 @llvm.bswap.i32 27 %tmp1 = tail call i32 @llvm.bswap.i32(i32 %tmp) 30 %tmp4 = tail call i32 @llvm.bswap.i32(i32 %tmp3) 35 declare i16 @llvm.bswap.i16(i16) #0 [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/llvm-project/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/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/llvm-project/llvm/test/CodeGen/VE/Scalar/ |
D | bswap.ll | 3 declare i128 @llvm.bswap.i128(i128) 4 declare i64 @llvm.bswap.i64(i64) 5 declare i32 @llvm.bswap.i32(i32) 6 declare i16 @llvm.bswap.i16(i16) 15 %r = tail call i128 @llvm.bswap.i128(i128 %p) 24 %r = tail call i64 @llvm.bswap.i64(i64 %p) 34 %r = tail call i32 @llvm.bswap.i32(i32 %p) 44 %r = tail call i32 @llvm.bswap.i32(i32 %p) 57 %r = tail call i16 @llvm.bswap.i16(i16 %p) 69 %r = tail call i16 @llvm.bswap.i16(i16 %p) [all …]
|
12345678910>>...17