/external/clang/test/CodeGenObjC/ |
stret_lookup.m | 22 // HASSTRET: [[T0:%.*]] = call i8* (i8*, i8*, ...)* @objc_msg_lookup_stret(i8* bitcast (i64* @_OBJC_CLASS_Test0 to i8*), 23 // HASSTRET-NEXT: [[T1:%.*]] = bitcast i8* (i8*, i8*, ...)* [[T0]] to void (%struct.test*, i8*, i8*)* 24 // HASSTRET-NEXT: call void [[T1]](%struct.test* sret {{.*}}, i8* bitcast (i64* @_OBJC_CLASS_Test0 to i8*), 28 // NOSTRET-NEXT: [[T1:%.*]] = bitcast i8* (i8*, i8*, ...)* [[T0]] to void (%struct.test*, i8*, i8*)* 29 // NOSTRET-NEXT: call void [[T1]](%struct.test* sret {{.*}}, i8* {{.*}}, i8* bitcast ([2 x { i8*, i8* }]*
|
/external/llvm/test/CodeGen/X86/ |
gcc_except_table_functions.ll | 13 define i32 @main() uwtable personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) { 24 catch i8* bitcast (void ()* @filt0 to i8*) 25 catch i8* bitcast (void ()* @filt1 to i8*) 27 %id0 = call i32 @llvm.eh.typeid.for(i8* bitcast (void ()* @filt0 to i8*)) 32 %id1 = call i32 @llvm.eh.typeid.for(i8* bitcast (void ()* @filt1 to i8*))
|
/external/llvm/test/Feature/ |
varargs.ll | 16 %va.upgrd.1 = bitcast i8** %ap to i8* ; <i8*> [#uses=1] 20 %va0.upgrd.2 = bitcast i8** %aq to i8* ; <i8*> [#uses=1] 21 %va1.upgrd.3 = bitcast i8** %ap to i8* ; <i8*> [#uses=1] 23 %va.upgrd.4 = bitcast i8** %aq to i8* ; <i8*> [#uses=1] 25 %va.upgrd.5 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
|
varargs_new.ll | 20 %va.upgrd.1 = bitcast i8** %ap to i8* ; <i8*> [#uses=1] 28 %va0.upgrd.2 = bitcast i8** %aq to i8* ; <i8*> [#uses=1] 29 %va1.upgrd.3 = bitcast i8* %apv to i8* ; <i8*> [#uses=1] 31 %va.upgrd.4 = bitcast i8** %aq to i8* ; <i8*> [#uses=1] 35 %va.upgrd.5 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
|
/external/llvm/test/Transforms/InstCombine/ |
bitcast-store.ll | 4 ; folding a bitcast into a store. 16 %x.cast = bitcast i32 %x to float 21 ; Check instcombine doesn't try and fold the following bitcast into the store. 26 ; CHECK: %cast = bitcast i8** %b to i8 addrspace(1)** 30 %cast = bitcast i8** %b to i8 addrspace(1)**
|
bitcast-alias-function.ll | 6 ; Cases that should be bitcast 9 @alias_i32_to_f32 = alias float (float), bitcast (i32 (i32)* @func_i32 to float (float)*) 12 @alias_v2i32_to_v2f32 = alias <2 x float> (<2 x float>), bitcast (<2 x i32> (<2 x i32>)* @func_v2i32 to <2 x float> (<2 x float>)*) 15 @alias_v2f32_to_i64 = alias <2 x float> (<2 x float>), bitcast (i64 (i64)* @func_i64 to <2 x float> (<2 x float>)*) 18 @alias_i64_to_v2f32 = alias i64 (i64), bitcast (<2 x float> (<2 x float>)* @func_v2f32 to i64 (i64)*) 21 @alias_v2i32p_to_v2i64p = alias <2 x i64*> (<2 x i64*>), bitcast (<2 x i32*> (<2 x i32*>)* @func_v2i32p to <2 x i64*> (<2 x i64*>)*) 27 @alias_i64_to_f32 = alias float (float), bitcast (i64 (i64)* @func_i64 to float (float)*) 31 @alias_v2i64_to_v2f32 = alias <2 x float> (<2 x float>), bitcast (<2 x i64> (<2 x i64>)* @func_v2i64 to <2 x float> (<2 x float>)*) 35 @alias_v2i32_to_v4f32 = alias <4 x float> (<4 x float>), bitcast (<2 x i32> (<2 x i32>)* @func_v2i32 to <4 x float> (<4 x float>)*) 38 @alias_i64_to_v4f32 = alias i64 (i64), bitcast (<4 x float> (<4 x float>)* @func_v4f32 to i64 (i64)* [all...] |
/external/llvm/test/Transforms/ObjCARC/ |
contract-storestrong-ivar.ll | 20 %tmp = bitcast %0* %self to i8* 22 %tmp1 = bitcast i8* %add.ptr to %1** 24 %tmp3 = bitcast %1* %preferencesController to i8* 26 %tmp5 = bitcast %1* %tmp2 to i8* 28 %tmp6 = bitcast i8* %tmp4 to %1*
|
/external/llvm/test/Transforms/WholeProgramDevirt/ |
devirt-single-impl-check.ll | 9 @vt1 = constant [1 x i8*] [i8* bitcast (void (i8*)* @vf to i8*)], !type !0 10 @vt2 = constant [1 x i8*] [i8* bitcast (void (i8*)* @vf to i8*)], !type !0 18 %vtableptr = bitcast i8* %obj to [1 x i8*]** 20 %vtablei8 = bitcast [1 x i8*]* %vtable to i8* 28 %fptr_casted = bitcast i8* %fptr to void (i8*)*
|
uniform-retval-invoke.ll | 6 @vt1 = constant [1 x i8*] [i8* bitcast (i32 (i8*)* @vf1 to i8*)], !type !0 7 @vt2 = constant [1 x i8*] [i8* bitcast (i32 (i8*)* @vf2 to i8*)], !type !0 19 %vtableptr = bitcast i8* %obj to [1 x i8*]** 21 %vtablei8 = bitcast [1 x i8*]* %vtable to i8* 26 %fptr_casted = bitcast i8* %fptr to i32 (i8*)*
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
memfunc.ll | 12 call void @llvm.memmove.p0i8.p0i8.i32(i8* bitcast ([500 x i32]* @from to i8*), i8* bitcast ([500 x i32]* @to to i8*), i32 500, i32 0, i1 false)
16 call void @llvm.memcpy.p0i8.p0i8.i32(i8* bitcast ([500 x i32]* @from to i8*), i8* bitcast ([500 x i32]* @to to i8*), i32 500, i32 0, i1 false)
23 call void @llvm.memset.p0i8.i32(i8* bitcast ([500 x i32]* @from to i8*), i8 0, i32 500, i32 0, i1 false)
|
/external/swiftshader/third_party/LLVM/test/Feature/ |
varargs.ll | 16 %va.upgrd.1 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
20 %va0.upgrd.2 = bitcast i8** %aq to i8* ; <i8*> [#uses=1]
21 %va1.upgrd.3 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
23 %va.upgrd.4 = bitcast i8** %aq to i8* ; <i8*> [#uses=1]
25 %va.upgrd.5 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
|
varargs_new.ll | 20 %va.upgrd.1 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
28 %va0.upgrd.2 = bitcast i8** %aq to i8* ; <i8*> [#uses=1]
29 %va1.upgrd.3 = bitcast i8* %apv to i8* ; <i8*> [#uses=1]
31 %va.upgrd.4 = bitcast i8** %aq to i8* ; <i8*> [#uses=1]
35 %va.upgrd.5 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
|
/external/swiftshader/third_party/LLVM/test/Transforms/ObjCARC/ |
contract-storestrong-ivar.ll | 20 %tmp = bitcast %0* %self to i8* 22 %tmp1 = bitcast i8* %add.ptr to %1** 24 %tmp3 = bitcast %1* %preferencesController to i8* 26 %tmp5 = bitcast %1* %tmp2 to i8* 28 %tmp6 = bitcast i8* %tmp4 to %1*
|
/external/llvm/test/CodeGen/AArch64/ |
neon-bitcast.ll | 10 %val = bitcast <8 x i8> %in to <1 x i64> 19 %val = bitcast <8 x i8> %in to <2 x i32> 28 %val = bitcast <8 x i8> %in to <2 x float> 37 %val = bitcast <8 x i8> %in to <4 x i16> 46 %val = bitcast <8 x i8> %in to <8 x i8> 57 %val = bitcast <4 x i16> %in to <1 x i64> 66 %val = bitcast <4 x i16> %in to <2 x i32> 75 %val = bitcast <4 x i16> %in to <2 x float> 84 %val = bitcast <4 x i16> %in to <4 x i16> 93 %val = bitcast <4 x i16> %in to <8 x i8 [all...] |
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
mmx-arith.ll | 10 %tmp1a = bitcast x86_mmx %tmp1 to <8 x i8>
11 %tmp3a = bitcast x86_mmx %tmp3 to <8 x i8>
13 %tmp4a = bitcast <8 x i8> %tmp4 to x86_mmx
22 %tmp21a = bitcast x86_mmx %tmp21 to <8 x i8>
23 %tmp27a = bitcast x86_mmx %tmp27 to <8 x i8>
25 %tmp28a = bitcast <8 x i8> %tmp28 to x86_mmx
34 %tmp45a = bitcast x86_mmx %tmp45 to <8 x i8>
35 %tmp51a = bitcast x86_mmx %tmp51 to <8 x i8>
37 %tmp52a = bitcast <8 x i8> %tmp52 to x86_mmx
40 %tmp57a = bitcast x86_mmx %tmp57 to <8 x i8> [all...] |
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyCFG/ |
branch_fold_dbg.ll | 12 @llvm.dbg.compile_unit = internal constant %llvm.dbg.compile_unit.type { i32 458769, { }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.compile_units to { }*), i32 1, i8* getelementptr ([4 x i8]* @.str, i32 0, i32 0), i8* getelementptr ([6 x i8]* @.str1, i32 0, i32 0), i8* getelementptr ([55 x i8]* @.str2, i32 0, i32 0), i1 true, i1 false, i8* null }, section "llvm.metadata" ; <%llvm.dbg.compile_unit.type*> [#uses=1] 19 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*)) 21 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*)) 24 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*)) 26 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*)) 29 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*)) 32 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*)) 34 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*)) 37 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*)) 40 call void @llvm.dbg.stoppoint(i32 5, i32 0, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*) [all...] |
switch_switch_fold_dbginfo.ll | 17 @llvm.dbg.compile_unit = internal constant %llvm.dbg.compile_unit.type { i32 458769, { }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.compile_units to { }*), i32 1, i8* getelementptr ([10 x i8]* @.str, i32 0, i32 0), i8* getelementptr ([38 x i8]* @.str1, i32 0, i32 0), i8* getelementptr ([52 x i8]* @.str2, i32 0, i32 0), i1 true, i1 false, i8* null, i32 -1 }, section "llvm.metadata" ; <%llvm.dbg.compile_unit.type*> [#uses=1] 19 @llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type { i32 458788, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), i8* getelementptr ([4 x i8]* @.str3, i32 0, i32 0), { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), i32 0, i64 32, i64 32, i64 0, i32 0, i32 5 }, section "llvm.metadata" ; <%llvm.dbg.basictype.type*> [#uses=1] 20 @llvm.dbg.array = internal constant [2 x { }*] [{ }* bitcast (%llvm.dbg.basictype.type* @llvm.dbg.basictype to { }*), { }* bitcast (%llvm.dbg.basictype.type* @llvm.dbg.basictype to { }*)], section "llvm.metadata" ; <[2 x { }*]*> [#uses=1] 21 @llvm.dbg.composite = internal constant %llvm.dbg.composite.type { i32 458773, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), i8* null, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), i32 0, i64 0, i64 0, i64 0, i32 0, { }* null, { }* bitcast ([2 x { }*]* @llvm.dbg.array to { }*), i32 0 }, section "llvm.metadata" ; <%llvm.dbg.composite.type*> [#uses=1] 24 @llvm.dbg.subprogram = internal constant %llvm.dbg.subprogram.type { i32 458798, { }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.subprograms to { }*), { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), i8* getelementptr ([4 x i8]* @.str4 (…) [all...] |
/external/llvm/test/CodeGen/SystemZ/ |
vec-combine-01.ll | 6 ; as a bitcast. 36 %bitcast = bitcast <4 x i32> %shuffle to <8 x i16> 37 %elem1 = extractelement <8 x i16> %bitcast, i32 1 38 %elem2 = extractelement <8 x i16> %bitcast, i32 7 43 ; ...and again in a case where there's also a splat and a bitcast. 55 %splatcast = bitcast <2 x i64> %splat to <4 x i32> 58 %bitcast = bitcast <4 x i32> %shuffle to <8 x i16> 59 %elem1 = extractelement <8 x i16> %bitcast, i32 [all...] |
/external/llvm/test/CodeGen/WebAssembly/ |
vtable.ll | 48 @_ZTV1A = constant [5 x i8*] [i8* null, i8* bitcast ({ i8*, i8* }* @_ZTI1A to i8*), i8* bitcast (%struct.A* (%struct.A*)* @_ZN1AD2Ev to i8*), i8* bitcast (void (%struct.A*)* @_ZN1AD0Ev to i8*), i8* bitcast (void (%struct.A*)* @_ZN1A3fooEv to i8*)], align 4 58 @_ZTV1B = constant [5 x i8*] [i8* null, i8* bitcast ({ i8*, i8*, i8* }* @_ZTI1B to i8*), i8* bitcast (%struct.A* (%struct.A*)* @_ZN1AD2Ev to i8*), i8* bitcast (void (%struct.B*)* @_ZN1BD0Ev to i8*), i8* bitcast (void (%struct.B*)* @_ZN1B3fooEv to i8*)], align 4 68 @_ZTV1C = constant [5 x i8*] [i8* null, i8* bitcast ({ i8*, i8*, i8* }* @_ZTI1C to i8*), i8* bitcast (%struct.A* (%struct.A*)* @_ZN1AD2Ev to i8*), i8* bitcast (void (%struct.C*)* @_ZN1CD0Ev to i8*), (…) [all...] |
/external/clang/test/OpenMP/ |
atomic_write_codegen.c | 126 // CHECK: bitcast float {{.*}} to i32 127 // CHECK: store atomic i32 {{.*}}, i32* bitcast (float* 131 // CHECK: bitcast double {{.*}} to i64 132 // CHECK: store atomic i64 {{.*}}, i64* bitcast (double* 136 // CHECK: [[BITCAST:%.+]] = bitcast x86_fp80* [[LDTEMP:%.*]] to i8* 137 // CHECK: call void @llvm.memset.p0i8.i64(i8* [[BITCAST]], i8 0, i64 16, i32 16, i1 false) 139 // CHECK: [[BITCAST:%.+]] = bitcast x86_fp80* [[LDTEMP:%.*]] to i128* 140 // CHECK: [[LD:%.+]] = load i128, i128* [[BITCAST]] [all...] |
/external/clang/test/CodeGenCXX/ |
microsoft-abi-vftables.cpp | 11 // RTTI-DAG: [[VTABLE_S:@.*]] = private unnamed_addr constant [2 x i8*] [i8* bitcast ({{.*}} @"\01??_R4S@@6B@" to i8*), i8* bitcast ({{.*}} @"\01??_GS@@UAEPAXI@Z" to i8*)], comdat($"\01??_7S@@6B@") 14 // NO-RTTI-DAG: @"\01??_7S@@6B@" = linkonce_odr unnamed_addr constant [1 x i8*] [i8* bitcast ({{.*}} @"\01??_GS@@UAEPAXI@Z" to i8*)] 20 // RTTI-DAG: [[VTABLE_U:@.*]] = private unnamed_addr constant [2 x i8*] [i8* bitcast ({{.*}} @"\01??_R4U@@6B@" to i8*), i8* bitcast ({{.*}} @"\01??_GU@@UAEPAXI@Z" to i8*)] 23 // NO-RTTI-DAG: @"\01??_SU@@6B@" = linkonce_odr unnamed_addr constant [1 x i8*] [i8* bitcast ({{.*}} @"\01??_GU@@UAEPAXI@Z" to i8*)] 29 // RTTI-DAG: [[VTABLE_V:@.*]] = private unnamed_addr constant [2 x i8*] [i8* bitcast ({{.*}} @"\01??_R4V@@6B@" to i8*), i8* bitcast ({{.*}} @"\01??_GV@@UAEPAXI@Z" to i8*)], comdat($"\01??_7V@@6B@") 32 // NO-RTTI-DAG: @"\01??_7V@@6B@" = weak_odr dllexport unnamed_addr constant [1 x i8*] [i8* bitcast ({{.*}} @"\01??_GV@@UAEPAXI@Z" to i8*)] 39 // RTTI-DAG: [[VTABLE_W:@.*]] = private unnamed_addr constant [2 x i8*] [i8* bitcast ({{.*}} @"\01??_R4W@?A@@6B@" to i8*), i8* bitcast ({{.*}} @"\01??_GW@?A@@UAEPAXI@Z" to i8*) [all...] |
microsoft-abi-multiple-nonvirtual-inheritance.cpp | 27 // CHECK: %[[LEFT:.*]] = bitcast %struct.ChildNoOverride* %[[CHILD]] to %struct.Left* 28 // CHECK: %[[VFPTR:.*]] = bitcast %struct.Left* %[[LEFT]] to void (%struct.Left*)*** 45 // CHECK: %[[THIS_i8:.*]] = bitcast %struct.ChildOverride* %[[THIS]] to i8* 55 // CHECK: %[[VFPTR:.*]] = bitcast %struct.ChildOverride* %[[CHILD]] to void (%struct.ChildOverride*)*** 72 // CHECK: %[[CHILD_i8:.*]] = bitcast %struct.ChildNoOverride* %[[CHILD]] to i8* 74 // CHECK: %[[RIGHT:.*]] = bitcast i8* %[[RIGHT_i8]] to %struct.Right* 76 // CHECK: %[[VFPTR:.*]] = bitcast %struct.Right* %[[RIGHT]] to void (%struct.Right*)*** 92 // CHECK: %[[THIS:.*]] = bitcast i8* %[[THIS_i8]] to %struct.ChildOverride* 97 // CHECK: %[[THIS_PARAM:.*]] = bitcast %struct.ChildOverride* %[[THIS]] to i8* 110 // CHECK: %[[CHILD_i8:.*]] = bitcast %struct.ChildOverride* %[[CHILD]] to i8 [all...] |
/external/llvm/test/CodeGen/AMDGPU/ |
schedule-if-2.ll | 11 %5 = bitcast float %4 to i32 14 %8 = bitcast i32 %7 to float 15 %9 = bitcast float %8 to i32 25 %16 = bitcast i32 %15 to float 26 %17 = bitcast float %16 to i32 33 %23 = bitcast i32 %22 to float 34 %24 = bitcast float %23 to i32 37 %26 = bitcast float %. to i32 39 %28 = bitcast float %temp8.0 to i32 52 %38 = bitcast float %37 to i3 [all...] |
/external/llvm/test/CodeGen/Mips/ |
dsp-patterns.ll | 39 %0 = bitcast i32 %a.coerce to <2 x i16> 40 %1 = bitcast i32 %b.coerce to <2 x i16> 42 %2 = bitcast <2 x i16> %add to i32 52 %0 = bitcast i32 %a.coerce to <2 x i16> 53 %1 = bitcast i32 %b.coerce to <2 x i16> 55 %2 = bitcast <2 x i16> %sub to i32 70 %0 = bitcast i32 %a.coerce to <2 x i16> 71 %1 = bitcast i32 %b.coerce to <2 x i16> 73 %2 = bitcast <2 x i16> %mul to i32 83 %0 = bitcast i32 %a.coerce to <4 x i8 [all...] |
/external/llvm/test/CodeGen/ARM/ |
2012-01-26-CopyPropKills.ll | 21 %tmp4 = bitcast <4 x i32> %tmp to <4 x float> 23 %tmp6 = bitcast <4 x i32> zeroinitializer to <4 x float> 25 %tmp8 = bitcast <4 x float> %tmp7 to <2 x i64> 27 %tmp10 = bitcast <1 x i64> %tmp9 to <2 x float> 29 %tmp12 = bitcast <1 x i64> %tmp11 to <2 x float> 32 %tmp15 = bitcast <2 x float> %tmp14 to <1 x i64> 33 %tmp16 = bitcast <4 x i32> zeroinitializer to <2 x i64> 35 %tmp18 = bitcast <1 x i64> %tmp17 to <2 x i32> 37 %tmp20 = bitcast <2 x float> %tmp13 to <2 x i32> 40 %tmp23 = bitcast <2 x i32> %tmp22 to <1 x i64 [all...] |