/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/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
|
2009-02-28-CastOpc.ll | 5 bitcast i32* null to i32*
|
/external/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* ()*)( )
|
bitcast-vec-canon.ll | 4 %c = bitcast <1 x i64> %y to double 9 %c = bitcast <1 x i64> %y to i64 14 %c = bitcast double %y to <1 x i64> 19 %c = bitcast i64 %y to <1 x i64>
|
2008-01-06-VoidCast.ll | 1 ; RUN: opt < %s -instcombine -S | not grep bitcast 8 %x = call i32 bitcast (void (i16)* @f to i32 (i32)*)( i32 %y ) ; <i32> [#uses=1]
|
2009-02-04-FPBitcast.ll | 5 %tmp = bitcast i80 0 to x86_fp80 ; <x86_fp80> [#uses=1] 10 %tmp = bitcast x86_fp80 0xK00000000000000000000 to i80 ; <i80> [#uses=1]
|
2012-07-30-addrsp-bitcast.ll | 2 ; CHECK: bitcast 8 call void @foo(i32* getelementptr (i32* bitcast ([16 x i32] addrspace(3)* @base to i32*), i64 2147483647)) nounwind
|
/external/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/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...] |
vtt-layout.cpp | 81 // CHECK: @_ZTTN5Test11BE = unnamed_addr constant [1 x i8*] [i8* bitcast (i8** getelementptr inbounds ([4 x i8*]* @_ZTVN5Test11BE, i64 0, i64 3) to i8*)] 82 // CHECK: @_ZTVN5Test51AE = unnamed_addr constant [4 x i8*] [i8* null, i8* bitcast ({ i8*, i8* }* @_ZTIN5Test51AE to i8*), i8* bitcast (void ()* @__cxa_pure_virtual to i8*), i8* bitcast (void (%"struct.Test5::A"*)* @_ZN5Test51A6anchorEv to i8*)] 83 // CHECK: @_ZTVN5Test61AE = unnamed_addr constant [4 x i8*] [i8* null, i8* bitcast ({ i8*, i8* }* @_ZTIN5Test61AE to i8*), i8* bitcast (void ()* @__cxa_deleted_virtual to i8*), i8* bitcast (void (%"struct.Test6::A"*)* @_ZN5Test61A6anchorEv to i8*)] 84 // CHECK: @_ZTTN5Test41DE = linkonce_odr unnamed_addr constant [19 x i8*] [i8* bitcast (i8** getelementptr inbounds ([25 x i8*]* @_ZTVN5Test41DE, i64 0, i64 6) to i8*), i8* bitcast (i8** getelementptr inbounds ([11 x i8*]* @_ZTCN5Test41DE0_NS_2C1E, i64 0, i64 4) to i8*), i8* bitcast (i8** getelementptr inbounds ([11 x i8*]* @_ZTCN5Test41DE0_NS_2C1E, i64 0, i64 7) to i8*), i8* bit (…) [all...] |
/external/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/CodeGen/Generic/ |
2010-07-27-DAGCombineCrash.ll | 5 ret float extractelement (<2 x float> bitcast (<1 x double> <double 0x3f800000> to <2 x float>), i32 1);
|
/external/llvm/test/CodeGen/X86/ |
Atomics-64.ll | 21 %2 = bitcast i8* bitcast (i16* @ss to i8*) to i16* 23 %4 = bitcast i8* bitcast (i16* @us to i8*) to i16* 25 %6 = bitcast i8* bitcast (i32* @si to i8*) to i32* 27 %8 = bitcast i8* bitcast (i32* @ui to i8*) to i32* 29 %10 = bitcast i8* bitcast (i64* @sl to i8*) to i64 [all...] |
3dnow-intrinsics.ll | 6 %0 = bitcast x86_mmx %a.coerce to <8 x i8> 7 %1 = bitcast x86_mmx %b.coerce to <8 x i8> 8 %2 = bitcast <8 x i8> %0 to x86_mmx 9 %3 = bitcast <8 x i8> %1 to x86_mmx 11 %5 = bitcast x86_mmx %4 to <8 x i8> 20 %0 = bitcast <2 x float> %a to x86_mmx 22 %2 = bitcast x86_mmx %1 to <2 x i32> 31 %0 = bitcast <2 x float> %a to x86_mmx 32 %1 = bitcast <2 x float> %b to x86_mmx 34 %3 = bitcast x86_mmx %2 to <2 x float [all...] |
mmx-builtins.ll | 9 %0 = bitcast <1 x i64> %b to <4 x i16> 10 %1 = bitcast <1 x i64> %a to <4 x i16> 11 %2 = bitcast <4 x i16> %1 to x86_mmx 12 %3 = bitcast <4 x i16> %0 to x86_mmx 14 %5 = bitcast x86_mmx %4 to <4 x i16> 15 %6 = bitcast <4 x i16> %5 to <1 x i64> 25 %0 = bitcast <1 x i64> %b to <2 x i32> 26 %1 = bitcast <1 x i64> %a to <2 x i32> 27 %mmx_var.i = bitcast <2 x i32> %1 to x86_mmx 28 %mmx_var1.i = bitcast <2 x i32> %0 to x86_mm [all...] |
/external/clang/test/CodeGen/ |
2005-12-04-AttributeUsed.c | 3 // CHECK: @llvm.used = appending global [2 x i8*] [i8* bitcast (void ()* @foo to i8*), i8* bitcast (i32* @X to i8*)], section "llvm.metadata"
|
/external/llvm/test/CodeGen/Mips/ |
2008-08-04-Bitconvert.ll | 6 bitcast i32 %u to float 13 bitcast float %u to i32
|
/external/llvm/test/Transforms/GVN/ |
basic.ll | 5 %z1 = bitcast i32 0 to i32 8 %z2 = bitcast i32 0 to i32
|
/external/clang/test/CodeGenObjC/ |
arc-related-result-type.m | 13 // CHECK-NEXT: bitcast 14 // CHECK-NEXT: bitcast 18 // CHECK-NEXT: bitcast 19 // CHECK-NEXT: [[T0:%.*]] = call i8* bitcast ( 21 // CHECK-NEXT: [[T2:%.*]] = bitcast i8* [[T1]] to [[TEST0]]* 23 // CHECK-NEXT: [[T0:%.*]] = bitcast [[TEST0]]** [[X]] to i8** 25 // CHECK-NEXT: [[T0:%.*]] = bitcast [[TEST0]]** [[VAL]] to i8**
|