/external/clang/test/CodeGenCXX/ |
vtt-layout.cpp | 81 // CHECK: @_ZTTN5Test11BE = unnamed_addr constant [1 x i8*] [i8* bitcast (i8** getelementptr inbounds ([4 x i8*], [4 x i8*]* @_ZTVN5Test11BE, i32 0, i32 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: @_ZTTN5Test21CE = linkonce_odr unnamed_addr constant [2 x i8*] [i8* bitcast (i8** getelementptr inbounds ([5 x i8*], [5 x i8*]* @_ZTVN5Test21CE, i32 0, i32 4) to i8*), i8* bitcast (i8** getelementptr inbounds ([5 x i8*], [5 x i8*]* @_ZTVN5Test21CE, i32 0, i32 4) to i8*)] 85 // CHECK: @_ZTTN5Test31DE = linkonce_odr unnamed_addr constant [13 x i8*] [i8* bitcast (i8** getelementptr inbounds ([19 x i8*], [19 x i8*]* @_ZTVN5Test31DE, i32 0, i32 5) to i8*), i8* (…) [all...] |
lvalue-bitcasts.cpp | 9 // CHECK: bitcast float* 13 // CHECK: {{bitcast.*to i32\*}} 17 // CHECK: {{bitcast.*to float\*}} 21 // CHECK: {{bitcast.*to float\*}} 25 // CHECK: bitcast i32* 29 // CHECK: bitcast float* 35 // CHECK: bitcast i32* 40 // CHECK: bitcast float* 44 // CHECK: bitcast 54 // CHECK: bitcast float [all...] |
/external/llvm/test/Transforms/WholeProgramDevirt/ |
virtual-const-prop-begin.ll | 6 ; CHECK: [[VT1DATA:@[^ ]*]] = private constant { [8 x i8], [3 x i8*], [0 x i8] } { [8 x i8] c"\00\00\00\01\01\00\00\00", [3 x i8*] [i8* bitcast (i1 (i8*)* @vf0i1 to i8*), i8* bitcast (i1 (i8*)* @vf1i1 to i8*), i8* bitcast (i32 (i8*)* @vf1i32 to i8*)], [0 x i8] zeroinitializer }, section "vt1sec", !type [[T8:![0-9]+]] 8 i8* bitcast (i1 (i8*)* @vf0i1 to i8*), 9 i8* bitcast (i1 (i8*)* @vf1i1 to i8*), 10 i8* bitcast (i32 (i8*)* @vf1i32 to i8*) 13 ; CHECK: [[VT2DATA:@[^ ]*]] = private constant { [8 x i8], [3 x i8*], [0 x i8] } { [8 x i8] c"\00\00\00\02\02\00\00\00", [3 x i8*] [i8* bitcast (i1 (i8*)* @vf1i1 to i8*), i8* bitcast (i1 (i8*)* @vf0i1 to i8*), i8* bitcast (i32 (i8*)* @vf2i32 to i8*)], [0 x i8] zeroinitializer }, !type [[T8]] 15 i8* bitcast (i1 (i8*)* @vf1i1 to i8*) [all...] |
virtual-const-prop-check.ll | 11 ; CHECK: [[VT1DATA:@[^ ]*]] = private constant { [8 x i8], [3 x i8*], [0 x i8] } { [8 x i8] c"\00\00\00\01\01\00\00\00", [3 x i8*] [i8* bitcast (i1 (i8*)* @vf0i1 to i8*), i8* bitcast (i1 (i8*)* @vf1i1 to i8*), i8* bitcast (i32 (i8*)* @vf1i32 to i8*)], [0 x i8] zeroinitializer }, section "vt1sec", !type [[T8:![0-9]+]] 13 i8* bitcast (i1 (i8*)* @vf0i1 to i8*), 14 i8* bitcast (i1 (i8*)* @vf1i1 to i8*), 15 i8* bitcast (i32 (i8*)* @vf1i32 to i8*) 18 ; CHECK: [[VT2DATA:@[^ ]*]] = private constant { [8 x i8], [3 x i8*], [0 x i8] } { [8 x i8] c"\00\00\00\02\02\00\00\00", [3 x i8*] [i8* bitcast (i1 (i8*)* @vf1i1 to i8*), i8* bitcast (i1 (i8*)* @vf0i1 to i8*), i8* bitcast (i32 (i8*)* @vf2i32 to i8*)], [0 x i8] zeroinitializer }, !type [[T8]] 20 i8* bitcast (i1 (i8*)* @vf1i1 to i8*) [all...] |
bad-read-from-vtable.ll | 6 @vt = global [2 x i8*] [i8* zeroinitializer, i8* bitcast (void (i8*)* @vf to i8*)], !type !0 14 %vtableptr = bitcast i8* %obj to [1 x i8*]** 16 %vtablei8 = bitcast [1 x i8*]* %vtable to i8* 20 %fptrptr_casted = bitcast i8* %fptrptr to i8** 22 %fptr_casted = bitcast i8* %fptr to void (i8*)* 30 %vtableptr = bitcast i8* %obj to [1 x i8*]** 32 %vtablei8 = bitcast [1 x i8*]* %vtable to i8* 36 %fptrptr_casted = bitcast i8* %fptrptr to i8** 38 %fptr_casted = bitcast i8* %fptr to void (i8*)* 46 %vtableptr = bitcast i8* %obj to [1 x i8*]* [all...] |
virtual-const-prop-end.ll | 6 ; CHECK: [[VT1DATA:@[^ ]*]] = private constant { [0 x i8], [4 x i8*], [8 x i8] } { [0 x i8] zeroinitializer, [4 x i8*] [i8* null, i8* bitcast (i1 (i8*)* @vf0i1 to i8*), i8* bitcast (i1 (i8*)* @vf1i1 to i8*), i8* bitcast (i32 (i8*)* @vf1i32 to i8*)], [8 x i8] c"\01\00\00\00\01\00\00\00" }, !type [[T8:![0-9]+]] 9 i8* bitcast (i1 (i8*)* @vf0i1 to i8*), 10 i8* bitcast (i1 (i8*)* @vf1i1 to i8*), 11 i8* bitcast (i32 (i8*)* @vf1i32 to i8*) 14 ; CHECK: [[VT2DATA:@[^ ]*]] = private constant { [0 x i8], [3 x i8*], [8 x i8] } { [0 x i8] zeroinitializer, [3 x i8*] [i8* bitcast (i1 (i8*)* @vf1i1 to i8*), i8* bitcast (i1 (i8*)* @vf0i1 to i8*), i8* bitcast (i32 (i8*)* @vf2i32 to i8*)], [8 x i8] c"\02\00\00\00\02\00\00\00" }, !type [[T0:![0-9]+]] 16 i8* bitcast (i1 (i8*)* @vf1i1 to i8*) [all...] |
/external/llvm/test/CodeGen/X86/ |
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-intrinsics.ll | 12 %0 = bitcast <1 x i64> %b to <4 x i16> 13 %1 = bitcast <1 x i64> %a to <4 x i16> 14 %2 = bitcast <4 x i16> %1 to x86_mmx 15 %3 = bitcast <4 x i16> %0 to x86_mmx 17 %5 = bitcast x86_mmx %4 to <4 x i16> 18 %6 = bitcast <4 x i16> %5 to <1 x i64> 29 %0 = bitcast <1 x i64> %b to <2 x i32> 30 %1 = bitcast <1 x i64> %a to <2 x i32> 31 %mmx_var.i = bitcast <2 x i32> %1 to x86_mmx 32 %mmx_var1.i = bitcast <2 x i32> %0 to x86_mm [all...] |
mmx-arith.ll | 13 %tmp1a = bitcast x86_mmx %tmp1 to <8 x i8> 14 %tmp3a = bitcast x86_mmx %tmp3 to <8 x i8> 16 %tmp4a = bitcast <8 x i8> %tmp4 to x86_mmx 25 %tmp21a = bitcast x86_mmx %tmp21 to <8 x i8> 26 %tmp27a = bitcast x86_mmx %tmp27 to <8 x i8> 28 %tmp28a = bitcast <8 x i8> %tmp28 to x86_mmx 37 %tmp45a = bitcast x86_mmx %tmp45 to <8 x i8> 38 %tmp51a = bitcast x86_mmx %tmp51 to <8 x i8> 40 %tmp52a = bitcast <8 x i8> %tmp52 to x86_mmx 43 %tmp57a = bitcast x86_mmx %tmp57 to <8 x i8 [all...] |
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
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 | 8 %0 = bitcast <1 x i64> %b to <4 x i16> 9 %1 = bitcast <1 x i64> %a to <4 x i16> 10 %2 = bitcast <4 x i16> %1 to x86_mmx 11 %3 = bitcast <4 x i16> %0 to x86_mmx 13 %5 = bitcast x86_mmx %4 to <4 x i16> 14 %6 = bitcast <4 x i16> %5 to <1 x i64> 24 %0 = bitcast <1 x i64> %b to <2 x i32> 25 %1 = bitcast <1 x i64> %a to <2 x i32> 26 %mmx_var.i = bitcast <2 x i32> %1 to x86_mmx 27 %mmx_var1.i = bitcast <2 x i32> %0 to x86_mm [all...] |
/external/llvm/test/CodeGen/XCore/ |
atomic.ll | 28 %0 = load atomic i32, i32* bitcast (i64* @pool to i32*) acquire, align 4 32 %1 = load atomic i16, i16* bitcast (i64* @pool to i16*) acquire, align 2 36 %2 = load atomic i8, i8* bitcast (i64* @pool to i8*) acquire, align 1 40 %3 = load atomic i32, i32* bitcast (i64* @pool to i32*) seq_cst, align 4 44 %4 = load atomic i16, i16* bitcast (i64* @pool to i16*) seq_cst, align 2 48 %5 = load atomic i8, i8* bitcast (i64* @pool to i8*) seq_cst, align 1 52 store atomic i32 %0, i32* bitcast (i64* @pool to i32*) release, align 4 56 store atomic i16 %1, i16* bitcast (i64* @pool to i16*) release, align 2 60 store atomic i8 %2, i8* bitcast (i64* @pool to i8*) release, align 1 65 store atomic i32 %3, i32* bitcast (i64* @pool to i32*) seq_cst, align [all...] |
/external/llvm/test/Transforms/InstCombine/ |
memmove_chk-1.ll | 20 %dst = bitcast %struct.T1* @t1 to i8* 21 %src = bitcast %struct.T2* @t2 to i8* 23 ; CHECK-NEXT: call void @llvm.memmove.p0i8.p0i8.i64(i8* bitcast (%struct.T1* @t1 to i8*), i8* bitcast (%struct.T2* @t2 to i8*), i64 1824, i32 4, i1 false) 24 ; CHECK-NEXT: ret i8* bitcast (%struct.T1* @t1 to i8*) 31 %dst = bitcast %struct.T1* @t1 to i8* 32 %src = bitcast %struct.T3* @t3 to i8* 34 ; CHECK-NEXT: call void @llvm.memmove.p0i8.p0i8.i64(i8* bitcast (%struct.T1* @t1 to i8*), i8* bitcast (%struct.T3* @t3 to i8*), i64 1824, i32 4, i1 false) 35 ; CHECK-NEXT: ret i8* bitcast (%struct.T1* @t1 to i8* [all...] |
2012-6-7-vselect-bitcast.ll | 2 ; CHECK: bitcast 5 %aa = bitcast <16 x i8> %a to <4 x i32> 6 %bb = bitcast <16 x i8> %b to <4 x i32>
|
apint-cast-and-cast.ll | 1 ; RUN: opt < %s -instcombine -S | not grep bitcast 4 %t1 = bitcast i43 %val to i43 11 %t1 = bitcast i677 %val to i677
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
crash.ll | 35 %tmp8 = bitcast <1 x i64> %tmp to <2 x float> 40 %tmp13 = bitcast <4 x float> %tmp12 to i128 41 %tmp14 = bitcast i128 %tmp13 to <4 x float> 42 %tmp15 = bitcast <4 x float> %tmp14 to i128 43 %tmp16 = bitcast i128 %tmp15 to <4 x float> 44 %tmp17 = bitcast <4 x float> %tmp16 to i128 45 %tmp18 = bitcast i128 %tmp17 to <4 x float> 46 %tmp19 = bitcast <4 x float> %tmp18 to i128 47 %tmp20 = bitcast i128 %tmp19 to <4 x float> 56 %tmp77 = bitcast <1 x i64> %tmp76 to <2 x float [all...] |
/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**
|
fpret.m | 18 // CHECK-X86_32: call float bitcast {{.*}} @objc_msgSend_fpret to 19 // CHECK-X86_32: call double bitcast {{.*}} @objc_msgSend_fpret to 20 // CHECK-X86_32: call x86_fp80 bitcast {{.*}} @objc_msgSend_fpret to 24 // CHECK-X86_64: call float bitcast {{.*}} @objc_msgSend to 25 // CHECK-X86_64: call double bitcast {{.*}} @objc_msgSend to 26 // CHECK-X86_64: call x86_fp80 bitcast {{.*}} @objc_msgSend_fpret to 30 // CHECK-ARMV7: call float bitcast {{.*}} @objc_msgSend to 31 // CHECK-ARMV7: call double bitcast {{.*}} @objc_msgSend to 32 // CHECK-ARMV7: call double bitcast {{.*}} @objc_msgSend to
|
/external/clang/test/SemaObjC/ |
arc-objc-lifetime-conflict.m | 3 // CHECK: bitcast {{.*}} %self_weak_s_w_s 5 // CHECK-NEXT: bitcast {{.*}} %self_strong_w_s 7 // CHECK-NEXT: bitcast {{.*}} %self_weak_s 9 // CHECK-NEXT: bitcast {{.*}} %self_weak_s3 11 // CHECK-NEXT: bitcast {{.*}} %self_strong3 13 // CHECK-NEXT: bitcast {{.*}} %self_strong2 15 // CHECK-NEXT: bitcast {{.*}} %self_strong
|
/external/llvm/test/Assembler/ |
ConstantExprFoldCast.ll | 6 ; CHECK-NOT: bitcast 11 @A = global i32* bitcast (i8* null to i32*) ; Cast null -> fold 12 @B = global i32** bitcast (i32** @A to i32**) ; Cast to same type -> fold 14 @D = global i32* bitcast(float* bitcast (i32* @C to float*) to i32*) ; cast of cast ptr->ptr 27 ; Bitcast -> GEP 29 @K = global i32* bitcast ({ i32 }* @J to i32*)
|
/external/clang/test/CodeGenObjCXX/ |
property-dot-reference.mm | 14 // CHECK: call dereferenceable({{[0-9]+}}) %struct.TFENode* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend 30 // CHECK: [[PRP:%.*]] = call dereferenceable({{[0-9]+}}) %struct.X* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend 34 // CHECK: [[MSG:%.*]] = call dereferenceable({{[0-9]+}}) %struct.X* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend 54 // CHECK: call i32 bitcast 55 // CHECK: call double bitcast 56 // CHECK: call i32 bitcast 57 // CHECK: call double bitcast 58 // CHECK: call i32 bitcast 59 // CHECK: call double bitcast
|
/external/clang/test/CodeGen/ |
arm-neon-directed-rounding.c | 6 // CHECK: [[TMP0:%.*]] = bitcast <2 x float> %a to <8 x i8> 7 // CHECK: [[VRNDA_V_I:%.*]] = bitcast <8 x i8> [[TMP0]] to <2 x float> 9 // CHECK: [[VRNDA_V2_I:%.*]] = bitcast <2 x float> [[VRNDA_V1_I]] to <8 x i8> 10 // CHECK: [[TMP1:%.*]] = bitcast <8 x i8> [[VRNDA_V2_I]] to <2 x float> 17 // CHECK: [[TMP0:%.*]] = bitcast <4 x float> %a to <16 x i8> 18 // CHECK: [[VRNDAQ_V_I:%.*]] = bitcast <16 x i8> [[TMP0]] to <4 x float> 20 // CHECK: [[VRNDAQ_V2_I:%.*]] = bitcast <4 x float> [[VRNDAQ_V1_I]] to <16 x i8> 21 // CHECK: [[TMP1:%.*]] = bitcast <16 x i8> [[VRNDAQ_V2_I]] to <4 x float> 28 // CHECK: [[TMP0:%.*]] = bitcast <2 x float> %a to <8 x i8> 29 // CHECK: [[VRNDM_V_I:%.*]] = bitcast <8 x i8> [[TMP0]] to <2 x float [all...] |
arm-neon-fma.c | 11 // CHECK: [[TMP0:%.*]] = bitcast <2 x float> %accum to <8 x i8> 12 // CHECK: [[TMP1:%.*]] = bitcast <2 x float> %lhs to <8 x i8> 13 // CHECK: [[TMP2:%.*]] = bitcast <2 x float> %rhs to <8 x i8> 14 // CHECK: [[TMP3:%.*]] = bitcast <8 x i8> [[TMP0]] to <2 x float> 15 // CHECK: [[TMP4:%.*]] = bitcast <8 x i8> [[TMP1]] to <2 x float> 16 // CHECK: [[TMP5:%.*]] = bitcast <8 x i8> [[TMP2]] to <2 x float> 24 // CHECK: [[TMP0:%.*]] = bitcast <4 x float> %accum to <16 x i8> 25 // CHECK: [[TMP1:%.*]] = bitcast <4 x float> %lhs to <16 x i8> 26 // CHECK: [[TMP2:%.*]] = bitcast <4 x float> %rhs to <16 x i8> 27 // CHECK: [[TMP3:%.*]] = bitcast <16 x i8> [[TMP0]] to <4 x float [all...] |
2003-07-22-ArrayAccessTypeSafety.c | 1 /* RUN: %clang_cc1 %s -emit-llvm -o - | grep -v alloca | not grep bitcast
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
apint-cast-and-cast.ll | 1 ; RUN: opt < %s -instcombine -S | not grep bitcast
4 %t1 = bitcast i43 %val to i43
11 %t1 = bitcast i677 %val to i677
|