/external/llvm/test/Transforms/ScalarRepl/ |
2008-06-22-LargeArray.ll | 10 %temp1 = bitcast [200 x i8]* %temp to i8* 12 %temp3 = bitcast [200 x i8]* %temp to i8*
|
2011-10-22-VectorCrash.ll | 13 %u164 = bitcast %union.anon* %u to [4 x i32]* 16 %v186 = bitcast %union.anon* %u to <4 x float>*
|
not-a-vector.ll | 8 %C = bitcast [7 x i64]* %ARR to double* 12 %E = bitcast i64* %D to double*
|
union-packed.ll | 4 ; RUN: grep bitcast 10 %X_addr.upgrd.1 = bitcast <4 x float>* %X_addr to <4 x i32>* ; <<4 x i32>*> [#uses=1]
|
/external/llvm/test/Verifier/ |
bitcast-address-space-through-constant-inttoptr.ll | 10 ; Make sure we still reject the bitcast when the source is a inttoptr (constant int) in a global initializer 11 @bitcast_after_constant_inttoptr_initializer = global %struct.Foo { i32 addrspace(1)* bitcast (i32 addrspace(2)* inttoptr (i8 7 to i32 addrspace(2)*) to i32 addrspace(1)*) }
|
bitcast-address-space-through-gep.ll | 12 ; Make sure we still reject the bitcast after the value is accessed through a GEP 13 @bitcast_after_gep = global %struct.Foo { i32 addrspace(1)* bitcast (i32 addrspace(2)* getelementptr ([32 x i32] addrspace(2)* @as2_array, i32 0, i32 8) to i32 addrspace(1)*) }
|
/external/clang/test/CodeGenObjC/ |
arc.m | 108 // CHECK-NEXT: bitcast 109 // CHECK-NEXT: [[ALLOC:%.*]] = call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend 110 // CHECK-NEXT: bitcast 111 // CHECK-NEXT: bitcast 117 // CHECK-NEXT: [[T1:%.*]] = bitcast [[TEST3]]* [[T0]] to i8* 118 // CHECK-NEXT: [[COPY:%.*]] = call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend {{.*}})(i8* [[T1]], 123 // CHECK-NEXT: [[T1:%.*]] = bitcast [[TEST3]]* [[T0]] to i8* 137 // CHECK-NEXT: bitcast 138 // CHECK-NEXT: [[ALLOC:%.*]] = call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend 139 // CHECK-NEXT: bitcast [all...] |
/external/llvm/test/CodeGen/AArch64/ |
ldst-unscaledimm.ll | 84 %addr_sext32 = bitcast i8* %addr8_sext32 to i16* 92 %addr_zext32 = bitcast i8* %addr8_zext32 to i16* 100 %addr_anyext = bitcast i8* %addr8_anyext to i16* 108 %addr_sext64 = bitcast i8* %addr8_sext64 to i16* 118 %addr_zext64 = bitcast i8* %addr8_zext64 to i16* 126 %addr_trunc32 = bitcast i8* %addr8_trunc32 to i16* 134 %addr_trunc64 = bitcast i8* %addr8_trunc64 to i16* 150 %addr32_noext = bitcast i8* %addr32_8_noext to i32* 158 %addr32_zext = bitcast i8* %addr32_8_zext to i32* 167 %addr32_sext = bitcast i8* %addr32_8_sext to i32 [all...] |
arm64-2012-05-22-LdStOptBug.ll | 19 %0 = bitcast %0* %self to i8* 21 %add.ptr10.0 = bitcast i8* %add.ptr to double* 25 %1 = bitcast i8* %add.ptr10.1 to double* 29 %add.ptr4.1.0 = bitcast i8* %add.ptr4.1 to double* 33 %2 = bitcast i8* %add.ptr4.1.1 to double*
|
global-alignment.ll | 10 %addr = bitcast [3 x i32]* @var32 to i64* 24 %addr = bitcast [3 x i64]* @var64 to i64* 38 %addr = bitcast [3 x i32]* @var32_align64 to i64* 52 %addr = bitcast [3 x i32]* @alias to i64* 71 %val = load i64* bitcast({i32, i32}* @yet_another_var to i64*)
|
/external/llvm/test/Transforms/SROA/ |
alignment.ll | 41 %cast1 = bitcast i8* %gep1 to i16* 58 %aptr = bitcast <2 x i64>* %a to i8* 59 %aaptr = bitcast <2 x i64>* %aa to i8* 61 %bptr = bitcast i16* %b to i8* 79 %a_raw = bitcast { i8*, i8*, i8* }* %a to i8* 81 %b_raw = bitcast { i8*, i8*, i8* }* %b to i8* 102 %ptr1 = bitcast i8* %raw1 to double* 105 %weird_cast1 = bitcast i8* %weird_gep1 to i16* 109 %ptr2 = bitcast i8* %raw2 to double* 113 %weird_cast2 = bitcast i8* %weird_gep2 to i16 [all...] |
/external/clang/test/CodeGenCXX/ |
static-member-variable-explicit-specialization.cpp | 16 // CHECK: [{ i32, void ()*, i8* } { i32 65535, void ()* @[[unordered1:[^,]*]], i8* bitcast (i32* @_ZN1AIsE1aE to i8*) }, 17 // CHECK: { i32, void ()*, i8* } { i32 65535, void ()* @[[unordered2:[^,]*]], i8* bitcast (i16* @_Z1xIsE to i8*) }, 18 // CHECK: { i32, void ()*, i8* } { i32 65535, void ()* @[[unordered3:[^,]*]], i8* bitcast (i32* @_ZN2ns1aIiE1iE to i8*) }, 19 // CHECK: { i32, void ()*, i8* } { i32 65535, void ()* @[[unordered4:[^,]*]], i8* bitcast (i32* @_ZN2ns1b1iIiEE to i8*) }, 20 // CHECK: { i32, void ()*, i8* } { i32 65535, void ()* @[[unordered5:[^,]*]], i8* bitcast (i32* @_ZN1AIvE1aE to i8*) },
|
bitfield.cpp | 24 // CHECK-X86-64: %[[ptr:.*]] = bitcast %{{.*}}* %{{.*}} to i64* 30 // CHECK-PPC64: %[[ptr:.*]] = bitcast %{{.*}}* %{{.*}} to i64* 39 // CHECK-X86-64: %[[ptr:.*]] = bitcast %{{.*}}* %{{.*}} to i64* 46 // CHECK-PPC64: %[[ptr:.*]] = bitcast %{{.*}}* %{{.*}} to i64* 56 // CHECK-X86-64: %[[ptr:.*]] = bitcast %{{.*}}* %{{.*}} to i64* 63 // CHECK-PPC64: %[[ptr:.*]] = bitcast %{{.*}}* %{{.*}} to i64* 73 // CHECK-X86-64: %[[ptr:.*]] = bitcast %{{.*}}* %{{.*}} to i64* 80 // CHECK-PPC64: %[[ptr:.*]] = bitcast %{{.*}}* %{{.*}} to i64* 90 // CHECK-X86-64: %[[ptr:.*]] = bitcast %{{.*}}* %{{.*}} to i64* 97 // CHECK-PPC64: %[[ptr:.*]] = bitcast %{{.*}}* %{{.*}} to i64 [all...] |
/external/clang/test/OpenMP/ |
parallel_codegen.cpp | 41 // CHECK-NEXT: [[BITCAST:%.+]] = bitcast %struct.anon* [[AGG_CAPTURED]] to i8* 42 // CHECK-NEXT: call void (%ident_t*, i32, void (i32*, i32*, ...)*, ...)* @__kmpc_fork_call(%ident_t* [[DEF_LOC_2]], i32 1, void (i32*, i32*, ...)* bitcast (void (i32*, i32*, %struct.anon*)* @__captured_stmt to void (i32*, i32*, ...)*), i8* [[BITCAST]]) 50 // CHECK-DEBUG: [[KMPC_LOC_VOIDPTR:%.+]] = bitcast %ident_t* [[LOC_2_ADDR]] to i8* 51 // CHECK-DEBUG-NEXT: [[KMPC_DEFAULT_LOC_VOIDPTR:%.+]] = bitcast %ident_t* [[DEF_LOC_2]] to i8* 57 // CHECK-DEBUG-NEXT: [[BITCAST:%.+]] = bitcast %struct.anon* [[AGG_CAPTURED]] to i8* 58 // CHECK-DEBUG-NEXT: call void (%ident_t*, i32, void (i32*, i32*, ...)*, ...)* @__kmpc_fork_call(%ident_t* [[LOC_2_ADDR]], i32 1, void (i32*, i32*, ...)* bitcast (void (i32*, i32*, %struct.anon*)* @__captured_stmt to void (i32*, i32*, ...)*), i8* [[BITCAST]]) [all...] |
/external/clang/test/Profile/ |
c-linkage.c | 32 // CHECK: @llvm.used = appending global [5 x i8*] [i8* bitcast (i32 ()* @__llvm_profile_runtime_user to i8*), i8* bitcast ({ i32, i32, i64, i8*, i64* }* @__llvm_profile_data_foo to i8*), i8* bitcast ({ i32, i32, i64, i8*, i64* }* @__llvm_profile_data_foo_weak to i8*), i8* bitcast ({ i32, i32, i64, i8*, i64* }* @__llvm_profile_data_main to i8*), i8* bitcast ({ i32, i32, i64, i8*, i64* }* @__llvm_profile_data_foo_internal to i8*)], section "llvm.metadata"
|
cxx-linkage.cpp | 31 // CHECK: @llvm.used = appending global [5 x i8*] [i8* bitcast (i32 ()* @__llvm_profile_runtime_user to i8*), i8* bitcast ({ i32, i32, i64, i8*, i64* }* @__llvm_profile_data__Z3foov to i8*), i8* bitcast ({ i32, i32, i64, i8*, i64* }* @__llvm_profile_data__Z8foo_weakv to i8*), i8* bitcast ({ i32, i32, i64, i8*, i64* }* @__llvm_profile_data_main to i8*), i8* bitcast ({ i32, i32, i64, i8*, i64* }* @__llvm_profile_data__Z10foo_inlinev to i8*)], section "llvm.metadata"
|
/external/llvm/test/CodeGen/ARM/ |
2012-04-24-SplitEHCriticalEdge.ll | 34 %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) 35 catch i8* bitcast ({ i8*, i8* }* @_ZTI13ParseErrorMsg to i8*) 39 invoke void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*, %struct.ParseErrorMsg.0.12.28*)*)(i8* undef, i8* undef, %struct.ParseErrorMsg.0.12.28* undef) optsize 50 %1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) 59 %2 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)
|
dwarf-eh.ll | 14 @_ZTI9exception = linkonce_odr unnamed_addr constant { i8*, i8* } { i8* bitcast (i8** getelementptr inbounds (i8** @_ZTVN10__cxxabiv117__class_type_infoE, i32 2) to i8*), i8* getelementptr inbounds ([11 x i8]* @_ZTS9exception, i32 0, i32 0) } 25 %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) 26 catch i8* bitcast ({ i8*, i8* }* @_ZTI9exception to i8*) 34 %10 = call i32 @llvm.eh.typeid.for(i8* bitcast ({ i8*, i8* }* @_ZTI9exception to i8*)) nounwind 40 %15 = bitcast i8* %14 to %struct.exception*
|
sjlj-prepare-critical-edge.ll | 20 %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) 27 %3 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) 35 %6 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*) 43 %7 = bitcast %struct.__CFString* %call to i8* 48 %8 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*)
|
vld1.ll | 17 %tmp0 = bitcast i16* %A to i8* 27 %tmp0 = bitcast i16* %A to i8* 37 %tmp0 = bitcast i32* %A to i8* 47 %tmp0 = bitcast i32* %A to i8* 57 %tmp0 = bitcast float* %A to i8* 65 %tmp0 = bitcast i64* %A to i8* 93 %tmp0 = bitcast i16* %A to i8* 101 %tmp0 = bitcast i32* %A to i8* 109 %tmp0 = bitcast float* %A to i8* 117 %tmp0 = bitcast i64* %A to i8 [all...] |
/external/llvm/test/CodeGen/Mips/ |
o32_cc_vararg.ll | 21 %ap1 = bitcast i8** %ap to i8* 25 %ap2 = bitcast i8** %ap to i8* 47 %ap1 = bitcast i8** %ap to i8* 51 %ap2 = bitcast i8** %ap to i8* 75 %ap1 = bitcast i8** %ap to i8* 79 %ap2 = bitcast i8** %ap to i8* 98 %ap1 = bitcast i8** %ap to i8* 102 %ap2 = bitcast i8** %ap to i8* 126 %ap1 = bitcast i8** %ap to i8* 130 %ap2 = bitcast i8** %ap to i8 [all...] |
/external/llvm/test/CodeGen/R600/ |
combine_vloads.ll | 24 %arrayidx_v4 = bitcast <8 x i8> addrspace(1)* %src to <32 x i8> addrspace(1)* 25 %0 = bitcast <32 x i8> addrspace(1)* %arrayidx_v4 to <8 x i32> addrspace(1)* 27 %1 = bitcast <8 x i32> %vecload2 to <32 x i8> 36 %2 = bitcast <8 x i8> %tmp17 to <2 x i32> 37 %3 = bitcast <8 x i8> addrspace(1)* %scevgep to <2 x i32> addrspace(1)*
|
/external/llvm/test/CodeGen/X86/ |
legalize-sub-zero.ll | 12 %5 = bitcast <3 x double> %1 to <3 x i64> 13 %6 = bitcast <3 x double> %4 to <3 x i64> 24 %15 = bitcast <2 x i64> %14 to <4 x i32> 27 %17 = bitcast <4 x i32> %16 to <2 x i64> 29 %19 = bitcast <2 x i64> %18 to <4 x i32>
|
/external/llvm/test/Transforms/InstCombine/ |
2011-06-13-nsw-alloca.ll | 19 ; With "nsw", the alloca and its bitcast can be fused: 23 %9 = bitcast i8* %8 to double* 49 ; Without "nsw", the alloca and its bitcast cannot be fused: 53 ; CHECK-NEXT: bitcast i8* 54 %9 = bitcast i8* %8 to double*
|
/external/clang/test/CodeGen/ |
atomics-inlining.c | 37 // ARM: = call arm_aapcscc zeroext i16 @__atomic_load_2(i8* bitcast (i16* @s1 to i8*) 38 // ARM: call arm_aapcscc void @__atomic_store_2(i8* bitcast (i16* @s1 to i8*), i16 zeroext 39 // ARM: = call arm_aapcscc i32 @__atomic_load_4(i8* bitcast (i32* @i1 to i8*) 40 // ARM: call arm_aapcscc void @__atomic_store_4(i8* bitcast (i32* @i1 to i8*), i32 41 // ARM: = call arm_aapcscc i64 @__atomic_load_8(i8* bitcast (i64* @ll1 to i8*) 42 // ARM: call arm_aapcscc void @__atomic_store_8(i8* bitcast (i64* @ll1 to i8*), i64 53 // PPC32: = call i64 @__atomic_load_8(i8* bitcast (i64* @ll1 to i8*) 54 // PPC32: call void @__atomic_store_8(i8* bitcast (i64* @ll1 to i8*), i64 77 // MIPS32: call i64 @__atomic_load_8(i8* bitcast (i64* @ll1 to i8*) 78 // MIPS32: call void @__atomic_store_8(i8* bitcast (i64* @ll1 to i8*), i6 [all...] |