/external/llvm/test/Feature/ |
fold-fpcast.ll | 1 ; RUN: llvm-as < %s | llvm-dis | not grep bitcast 4 ret i32 bitcast(float 0x400D9999A0000000 to i32) 8 ret float bitcast(i32 17 to float) 12 ret i64 bitcast (double 0x400921FB4D12D84A to i64) 16 ret double bitcast (i64 42 to double)
|
/external/swiftshader/third_party/LLVM/test/Feature/ |
fold-fpcast.ll | 1 ; RUN: llvm-as < %s | llvm-dis | not grep bitcast
4 ret i32 bitcast(float 0x400D9999A0000000 to i32)
8 ret float bitcast(i32 17 to float)
12 ret i64 bitcast (double 0x400921FB4D12D84A to i64)
16 ret double bitcast (i64 42 to double)
|
/external/llvm/test/Transforms/DeadStoreElimination/ |
inst-limits.ll | 20 %0 = bitcast i32 0 to i32 21 %1 = bitcast i32 0 to i32 22 %2 = bitcast i32 0 to i32 23 %3 = bitcast i32 0 to i32 24 %4 = bitcast i32 0 to i32 25 %5 = bitcast i32 0 to i32 26 %6 = bitcast i32 0 to i32 27 %7 = bitcast i32 0 to i32 28 %8 = bitcast i32 0 to i32 29 %9 = bitcast i32 0 to i3 [all...] |
/external/llvm/test/CodeGen/Mips/ |
const4a.ll | 30 call void bitcast (void (...)* @foo to void ()*)() 34 call void bitcast (void (...)* @goo to void ()*)() 38 call void bitcast (void (...)* @hoo to void ()*)() 39 call void bitcast (void (...)* @hoo to void ()*)() 40 call void bitcast (void (...)* @hoo to void ()*)() 41 call void bitcast (void (...)* @hoo to void ()*)() 42 call void bitcast (void (...)* @hoo to void ()*)() 43 call void bitcast (void (...)* @hoo to void ()*)() 44 call void bitcast (void (...)* @hoo to void ()*)() 45 call void bitcast (void (...)* @hoo to void ()*)( [all...] |
const6.ll | 34 call void bitcast (void (...)* @hoo to void ()*)() 35 call void bitcast (void (...)* @hoo to void ()*)() 36 call void bitcast (void (...)* @hoo to void ()*)() 37 call void bitcast (void (...)* @hoo to void ()*)() 38 call void bitcast (void (...)* @hoo to void ()*)() 39 call void bitcast (void (...)* @hoo to void ()*)() 40 call void bitcast (void (...)* @hoo to void ()*)() 41 call void bitcast (void (...)* @hoo to void ()*)() 42 call void bitcast (void (...)* @hoo to void ()*)() 43 call void bitcast (void (...)* @hoo to void ()*)( [all...] |
/external/llvm/test/Assembler/ |
2006-12-09-Cast-To-Bool.ll | 1 ; RUN: llvm-as < %s | llvm-dis | grep bitcast 5 %res = bitcast i1 true to i1
|
/external/swiftshader/third_party/LLVM/test/Assembler/ |
2006-12-09-Cast-To-Bool.ll | 1 ; RUN: llvm-as < %s | llvm-dis | grep bitcast
4 %res = bitcast i1 true to i1
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
bitcast-vec-uniform.ll | 4 ; CHECK-NOT: bitcast
7 %c = bitcast <2 x i64> <i64 0, i64 0> to <4 x i32>
12 ; CHECK-NOT: bitcast
16 %c = bitcast <2 x i64> <i64 -1, i64 -1> to <4 x i32>
21 ; CHECK-NOT: bitcast
26 %cast = bitcast i64 -1 to <2 x float>
32 ; CHECK-NOT: bitcast
35 %cast = bitcast i128 -1 to <2 x double>
40 ; CHECK-NOT: bitcast
43 %cast = bitcast i32 -1 to <1 x float> [all...] |
2008-01-06-BitCastAttributes.ll | 2 ; RUN: opt < %s -instcombine 2> /dev/null -S | not grep bitcast 17 call void bitcast (void ()* @a to void (i32*)*)( i32* noalias %y ) 18 call <2 x i32> bitcast (i32 (i32*)* @b to <2 x i32> (i32*)*)( i32* inreg null ) ; <<2 x i32>>:1 [#uses=0] 19 %x = call i64 bitcast (i32 (i32*)* @b to i64 (i32)*)( i32 0 ) ; <i64> [#uses=0] 20 call void bitcast (void (...)* @c to void (i32)*)( i32 0 ) 21 call void bitcast (void (...)* @c to void (i32)*)( i32 zeroext 0 )
|
2008-01-13-NoBitCastAttributes.ll | 1 ; RUN: opt < %s -instcombine -S | grep bitcast | count 2 12 call i32 bitcast (i32 (i32*)* @b to i32 (i32)*)( i32 zeroext 0 ) ; <i32>:2 [#uses=0] 13 call void bitcast (void (...)* @c to void (i32*)*)( i32* sret null )
|
apint-call-cast-target.ll | 1 ; RUN: opt < %s -instcombine -S | grep call | not grep bitcast
9 %tmp = call i32 bitcast (i7* (i999*)* @ctime to i32 (i99*)*)( i99* null )
15 %tmp = call i7* bitcast (i32 ()* @main to i7* ()*)( )
|
/external/swiftshader/third_party/LLVM/test/Bitcode/ |
2006-12-11-Cast-ConstExpr.ll | 1 ; This test ensures that we get a bitcast constant expression in and out,
4 ; CHECK: bitcast (
9 ret float bitcast( i32 ptrtoint (i32* @G to i32) to float)
|
/external/llvm/test/ThinLTO/X86/Inputs/ |
alias_import.ll | 5 @globalfuncAlias = alias void (...), bitcast (void ()* @globalfunc to void (...)*) 6 @globalfuncWeakAlias = weak alias void (...), bitcast (void ()* @globalfunc to void (...)*) 7 @globalfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @globalfunc to void (...)*) 8 @globalfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @globalfunc to void (...)*) 9 @globalfuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @globalfunc to void (...)*) 15 @internalfuncAlias = alias void (...), bitcast (void ()* @internalfunc to void (...)*) 16 @internalfuncWeakAlias = weak alias void (...), bitcast (void ()* @internalfunc to void (...)*) 17 @internalfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @internalfunc to void (...)*) 18 @internalfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @internalfunc to void (...)*) 19 @internalfuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @internalfunc to void (...)* [all...] |
alias_resolution.ll | 5 @globalfuncAlias = alias void (...), bitcast (void ()* @globalfunc to void (...)*) 6 @globalfuncWeakAlias = weak alias void (...), bitcast (void ()* @globalfunc to void (...)*) 7 @globalfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @globalfunc to void (...)*) 8 @globalfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @globalfunc to void (...)*) 9 @globalfuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @globalfunc to void (...)*) 15 @internalfuncAlias = alias void (...), bitcast (void ()* @internalfunc to void (...)*) 16 @internalfuncWeakAlias = weak alias void (...), bitcast (void ()* @internalfunc to void (...)*) 17 @internalfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @internalfunc to void (...)*) 18 @internalfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @internalfunc to void (...)*) 19 @internalfuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @internalfunc to void (...)* [all...] |
/external/llvm/test/Integer/ |
fold-fpcast_bt.ll | 2 ; CHECK-NOT: bitcast 13 ret i64 bitcast (double 0x400921FB4D12D84A to i64) 17 ret double bitcast (i64 42 to double) 29 ret i64 bitcast (double 0x400921FB4D12D84A to i64) 33 ret double bitcast (i64 42 to double)
|
/external/swiftshader/third_party/LLVM/test/Integer/ |
fold-fpcast_bt.ll | 1 ; RUN: llvm-as < %s | llvm-dis | not grep bitcast
12 ret i64 bitcast (double 0x400921FB4D12D84A to i64)
16 ret double bitcast (i64 42 to double)
28 ret i64 bitcast (double 0x400921FB4D12D84A to i64)
32 ret double bitcast (i64 42 to double)
|
/external/clang/test/CodeGenCXX/ |
dynamic-cast-hint.cpp | 25 // CHECK: i8* bitcast ({ i8*, i8* }* @_ZTI1A to i8*), i8* bitcast ({ i8*, i8*, i32, i32, i8*, i64 }* @_ZTI1C to i8*), i64 -2) 27 // CHECK: i8* bitcast ({ i8*, i8* }* @_ZTI1A to i8*), i8* bitcast ({ i8*, i8*, i8* }* @_ZTI1D to i8*), i64 0) 29 // CHECK: i8* bitcast ({ i8*, i8* }* @_ZTI1A to i8*), i8* bitcast ({ i8*, i8*, i32, i32, i8*, i64, i8*, i64 }* @_ZTI1E to i8*), i64 0) 31 // CHECK: i8* bitcast ({ i8*, i8* }* @_ZTI1A to i8*), i8* bitcast ({ i8*, i8*, i32, i32, i8*, i64 }* @_ZTI1F to i8*), i64 -1) 33 // CHECK: i8* bitcast ({ i8*, i8* }* @_ZTI1A to i8*), i8* bitcast ({ i8*, i8*, i32, i32, i8*, i64 }* @_ZTI1G to i8*), i64 -2 [all...] |
call-with-static-chain.cpp | 24 // CHECK32: call i32 bitcast (i32 (i32, i32, i32, i32, i32, i32, i32, i32)* @f1 to i32 (i8*, i32, i32, i32, i32, i32, i32, i32, i32)*)(i8* nest bitcast (i32 (i32, i32, i32, i32, i32, i32, i32, i32)* @f1 to i8*) 25 // CHECK64: call i32 bitcast (i32 (i64, i64, i64, i64, i64, i64, %struct.A*)* @f1 to i32 (i8*, i64, i64, i64, i64, i64, i64, %struct.A*)*)(i8* nest bitcast (i32 (i64, i64, i64, i64, i64, i64, %struct.A*)* @f1 to i8*) 28 // CHECK32: call void bitcast (void (%struct.B*)* @f2 to void (%struct.B*, i8*)*)(%struct.B* sret %{{[0-9a-z]+}}, i8* nest bitcast (void (%struct.B*)* @f2 to i8*)) 29 // CHECK64: call void bitcast (void (%struct.B*)* @f2 to void (%struct.B*, i8*)*)(%struct.B* sret %{{[0-9a-z]+}}, i8* nest bitcast (void (%struct.B*)* @f2 to i8*)) 32 // CHECK32: call i64 bitcast (i64 ()* @f3 to i64 (i8*)*)(i8* nest bitcast (i64 ()* @f3 to i8*) [all...] |
/external/llvm/test/ThinLTO/X86/ |
alias_resolution.ll | 9 ; NOTPROMOTED: @linkonceODRfuncAlias = alias void (...), bitcast (void ()* @linkonceODRfunc{{.*}} to void (...)*) 10 ; NOTPROMOTED: @linkonceODRfuncWeakAlias = weak alias void (...), bitcast (void ()* @linkonceODRfunc{{.*}} to void (...)*) 11 ; PROMOTE_MOD1: @linkonceODRfuncLinkonceAlias = weak alias void (...), bitcast (void ()* @linkonceODRfunc{{.*}} to void (...)*) 12 ; PROMOTE_MOD2: @linkonceODRfuncLinkonceAlias = linkonce alias void (...), bitcast (void ()* @linkonceODRfunc{{.*}} to void (...)*) 13 ; PROMOTE_MOD1: @linkonceODRfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @linkonceODRfunc.mod1 to void (...)*) 14 ; PROMOTE_MOD2: @linkonceODRfuncWeakODRAlias = weak_odr alias void (...), bitcast (void ()* @linkonceODRfunc to void (...)*) 15 ; PROMOTE_MOD1: @linkonceODRfuncLinkonceODRAlias = weak_odr alias void (...), bitcast (void ()* @linkonceODRfunc.mod1 to void (...)*) 16 ; PROMOTE_MOD2: @linkonceODRfuncLinkonceODRAlias = linkonce_odr alias void (...), bitcast (void ()* @linkonceODRfunc to void (...)*) 18 ; NOTPROMOTED: @weakODRfuncAlias = alias void (...), bitcast (void ()* @weakODRfunc{{.*}} to void (...)*) 19 ; NOTPROMOTED: @weakODRfuncWeakAlias = weak alias void (...), bitcast (void ()* @weakODRfunc{{.*}} to void (...)* [all...] |
/external/llvm/test/CodeGen/PowerPC/ |
Atomics-64.ll | 27 %2 = bitcast i8* bitcast (i16* @ss to i8*) to i16* 29 %4 = bitcast i8* bitcast (i16* @us to i8*) to i16* 31 %6 = bitcast i8* bitcast (i32* @si to i8*) to i32* 33 %8 = bitcast i8* bitcast (i32* @ui to i8*) to i32* 35 %10 = bitcast i8* bitcast (i64* @sl to i8*) to i64 [all...] |
/external/swiftshader/third_party/LLVM/test/CodeGen/PowerPC/ |
Atomics-32.ll | 20 %2 = bitcast i8* bitcast (i16* @ss to i8*) to i16* 22 %4 = bitcast i8* bitcast (i16* @us to i8*) to i16* 24 %6 = bitcast i8* bitcast (i32* @si to i8*) to i32* 26 %8 = bitcast i8* bitcast (i32* @ui to i8*) to i32* 28 %10 = bitcast i8* bitcast (i32* @sl to i8*) to i32 [all...] |
Atomics-64.ll | 27 %2 = bitcast i8* bitcast (i16* @ss to i8*) to i16* 29 %4 = bitcast i8* bitcast (i16* @us to i8*) to i16* 31 %6 = bitcast i8* bitcast (i32* @si to i8*) to i32* 33 %8 = bitcast i8* bitcast (i32* @ui to i8*) to i32* 35 %10 = bitcast i8* bitcast (i64* @sl to i8*) to i64 [all...] |
/external/llvm/test/Transforms/InstCombine/ |
bitcast-bitcast.ll | 6 %bc1 = bitcast i128 %a to fp128 7 %bc2 = bitcast fp128 %bc1 to ppc_fp128 11 ; CHECK-NEXT: %bc2 = bitcast i128 %a to ppc_fp128 16 %bc1 = bitcast i64 %a to double 17 %bc2 = bitcast double %bc1 to <2 x i32> 21 ; CHECK-NEXT: %bc2 = bitcast i64 %a to <2 x i32> 26 %bc1 = bitcast i64 %a to <2 x i32> 27 %bc2 = bitcast <2 x i32> %bc1 to double 31 ; CHECK-NEXT: %bc2 = bitcast i64 %a to double 36 %bc1 = bitcast i64 %a to <4 x i16 [all...] |
2008-01-13-NoBitCastAttributes.ll | 1 ; RUN: opt < %s -instcombine -S | grep bitcast | count 2 12 call i32 bitcast (i32 (i32*)* @b to i32 (i32)*)( i32 zeroext 0 ) ; <i32>:2 [#uses=0] 13 call void bitcast (void (...)* @c to void (i32*)*)( i32* sret null )
|
/external/llvm/test/Bitcode/ |
2006-12-11-Cast-ConstExpr.ll | 1 ; This test ensures that we get a bitcast constant expression in and out, 5 ; CHECK: bitcast ( 10 ret float bitcast( i32 ptrtoint (i32* @G to i32) to float)
|