/external/llvm/test/Transforms/InstCombine/ |
bitcast-vector-fold.ll | 1 ; RUN: opt < %s -instcombine -S | not grep bitcast 6 %tmp3 = bitcast <4 x i32> < i32 0, i32 1, i32 2, i32 3 > to <2 x i64> 11 %tmp3 = bitcast <2 x i64> < i64 0, i64 1 > to <4 x i32> 16 %tmp3 = bitcast <4 x i32> < i32 0, i32 1, i32 2, i32 3 > to <2 x double> 21 %tmp3 = bitcast <2 x i64> < i64 0, i64 1 > to <4 x float> 26 %tmp3 = bitcast <4 x float> <float 0.0, float 1.0, float 2.0, float 3.0> to <2 x i64> 31 %tmp3 = bitcast <2 x double> <double 0.5, double 1.0> to <4 x i32> 36 %tmp3 = bitcast <2 x half> <half 0xH1100, half 0xH0011> to i32
|
bitcast-vec-canon.ll | 4 %c = bitcast <1 x i64> %y to double 8 ; CHECK-NEXT: bitcast <1 x i64> %y to <1 x double> 14 %c = bitcast <1 x i64> %y to i64 23 %c = bitcast double %y to <1 x i64> 27 ; CHECK-NEXT: bitcast double %y to i64 33 %c = bitcast i64 %y to <1 x i64>
|
bitcast.ll | 9 %t1 = bitcast i64 %a to <2 x i32> 10 %t2 = bitcast i64 %a to <2 x i32> 22 %t1 = bitcast <1 x i64> %a to <2 x i32> 23 %t2 = bitcast <1 x i64> %b to <2 x i32> 29 ; CHECK-NEXT: %t3 = bitcast <1 x i64> %t31 to <2 x i32> 33 ; Verify that 'xor' of vector and constant is done as a vector bitwise op before the bitcast. 36 %t1 = bitcast <1 x i64> %a to <2 x i32> 42 ; CHECK-NEXT: %t2 = bitcast <1 x i64> %t21 to <2 x i32> 46 ; Verify that 'and' of integer and constant is done as a vector bitwise op before the bitcast. 49 %t1 = bitcast <2 x i32> %a to i6 [all...] |
/external/swiftshader/third_party/LLVM/test/Assembler/ |
2003-11-12-ConstantExprCast.ll | 1 ; RUN: llvm-as < %s | llvm-dis | not grep { bitcast (}
6 %X = bitcast i8 %Y to i8 ; <i8> [#uses=1]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
bitcast2.ll | 5 %B = bitcast double %A to i64
10 %B = bitcast i64 %A to double
|
avx-logic.ll | 6 %0 = bitcast <4 x double> %x to <4 x i64> 7 %1 = bitcast <4 x double> %y to <4 x i64> 9 %2 = bitcast <4 x i64> %and.i to <4 x double> 16 %0 = bitcast <4 x double> %y to <4 x i64> 18 %1 = bitcast <4 x i64> %and.i to <4 x double> 25 %0 = bitcast <8 x float> %x to <8 x i32> 26 %1 = bitcast <8 x float> %y to <8 x i32> 28 %2 = bitcast <8 x i32> %and.i to <8 x float> 35 %0 = bitcast <8 x float> %y to <8 x i32> 37 %1 = bitcast <8 x i32> %and.i to <8 x float [all...] |
/external/swiftshader/third_party/LLVM/test/Transforms/ConstProp/ |
2006-11-30-vector-cast.ll | 7 %tmp40 = bitcast <2 x i64> bitcast (<4 x i32> < i32 0, i32 0, i32 -1, i32 0 > to <2 x i64>) to <4 x i32>; <<4 x i32>> [#uses=1]
|
/external/swiftshader/third_party/LLVM/test/Transforms/GVN/ |
bitcast-of-call.ll | 7 %tmp1 = bitcast i8* %tmp to i32* ; <i32*> [#uses=0] 8 %tmp2 = bitcast i8* %tmp to i32* ; <i32*> [#uses=0]
|
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/ |
call-cast-target.ll | 2 ; RUN: grep call | not grep bitcast
9 %tmp = call i32 bitcast (i8* (i32*)* @ctime to i32 (i32*)*)( i32* null ) ; <i32> [#uses=1]
|
bitcast-vector-fold.ll | 1 ; RUN: opt < %s -instcombine -S | not grep bitcast 6 %tmp3 = bitcast <4 x i32> < i32 0, i32 1, i32 2, i32 3 > to <2 x i64> 11 %tmp3 = bitcast <2 x i64> < i64 0, i64 1 > to <4 x i32> 16 %tmp3 = bitcast <4 x i32> < i32 0, i32 1, i32 2, i32 3 > to <2 x double> 21 %tmp3 = bitcast <2 x i64> < i64 0, i64 1 > to <4 x float> 26 %tmp3 = bitcast <4 x float> <float 0.0, float 1.0, float 2.0, float 3.0> to <2 x i64> 31 %tmp3 = bitcast <2 x double> <double 0.5, double 1.0> to <4 x i32>
|
/external/swiftshader/third_party/LLVM/test/Transforms/ObjCARC/ |
move-and-form-retain-autorelease.ll | 84 %tmp4 = bitcast %15* %arg to i8* 85 %tmp5 = tail call %18* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to %18* (i8*, i8*)*)(i8* %tmp4, i8* %tmp) 86 %tmp6 = bitcast %18* %tmp5 to i8* 90 %tmp10 = bitcast %2* %tmp8 to i8* 91 %tmp11 = tail call %19* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to %19* (i8*, i8*)*)(i8* %tmp10, i8* %tmp9) 93 %tmp13 = bitcast %19* %tmp11 to i8* 94 %tmp14 = tail call signext i8 bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8 (i8*, i8*, %13*)*)(i8* %tmp13, i8* %tmp12, %13* bitcast (%12* @_unnamed_cfstring_386 to %13*)) 95 %tmp15 = bitcast %16* %arg2 to i8* 96 %tmp16 = load i8** bitcast (%0* @"\01l_objc_msgSend_fixup_count" to i8**), align 1 [all...] |
/external/clang/test/CodeGen/ |
arm-neon-numeric-maxmin.c | 6 // CHECK: [[TMP0:%.*]] = bitcast <2 x float> %a to <8 x i8> 7 // CHECK: [[TMP1:%.*]] = bitcast <2 x float> %b to <8 x i8> 8 // CHECK: [[VMAXNM_V_I:%.*]] = bitcast <8 x i8> [[TMP0]] to <2 x float> 9 // CHECK: [[VMAXNM_V1_I:%.*]] = bitcast <8 x i8> [[TMP1]] to <2 x float> 11 // CHECK: [[VMAXNM_V3_I:%.*]] = bitcast <2 x float> [[VMAXNM_V2_I]] to <8 x i8> 12 // CHECK: [[TMP2:%.*]] = bitcast <8 x i8> [[VMAXNM_V3_I]] to <2 x float> 19 // CHECK: [[TMP0:%.*]] = bitcast <4 x float> %a to <16 x i8> 20 // CHECK: [[TMP1:%.*]] = bitcast <4 x float> %b to <16 x i8> 21 // CHECK: [[VMAXNMQ_V_I:%.*]] = bitcast <16 x i8> [[TMP0]] to <4 x float> 22 // CHECK: [[VMAXNMQ_V1_I:%.*]] = bitcast <16 x i8> [[TMP1]] to <4 x float [all...] |
vla-4.c | 9 // CHECK-NEXT: [[P:%.*]] = call i32 bitcast (i32 (...)* @f to i32 ()*)() 10 // CHECK-NEXT: [[P:%.*]] = call i32 bitcast (i32 (...)* @h to i32 ()*)() 16 // CHECK-NEXT: [[P:%.*]] = call i32 bitcast (i32 (...)* @f to i32 ()*)() 17 // CHECK-NEXT: [[P:%.*]] = call i32 bitcast (i32 (...)* @h to i32 ()*)() 22 // CHECK-NEXT: [[P:%.*]] = call i32 bitcast (i32 (...)* @f to i32 ()*)() 23 // CHECK-NEXT: [[P:%.*]] = call i32 bitcast (i32 (...)* @h to i32 ()*)()
|
aarch64-poly128.c | 16 // CHECK: [[TMP0:%.*]] = bitcast i128* %ptr to i8* 17 // CHECK: [[TMP1:%.*]] = bitcast i8* [[TMP0]] to i128* 26 // CHECK: [[TMP0:%.*]] = bitcast i128* %ptr to i8* 27 // CHECK: [[TMP1:%.*]] = bitcast i8* [[TMP0]] to i128* 36 // CHECK: [[TMP0:%.*]] = bitcast i128* %ptr to i8* 37 // CHECK: [[TMP1:%.*]] = bitcast i8* [[TMP0]] to i128* 40 // CHECK: [[TMP3:%.*]] = bitcast i128* [[ADD_PTR]] to i8* 41 // CHECK: [[TMP4:%.*]] = bitcast i8* [[TMP3]] to i128* 51 // CHECK: [[VMULL_P641_I:%.*]] = bitcast <16 x i8> [[VMULL_P64_I]] to i128 59 // CHECK: [[TMP0:%.*]] = bitcast <1 x i64> [[SHUFFLE_I_I]] to i6 [all...] |
aarch64-neon-intrinsics.c | 410 // CHECK: [[TMP0:%.*]] = bitcast <4 x i16> [[ADD_I]] to <8 x i8> 531 // CHECK: [[TMP0:%.*]] = bitcast <4 x i16> [[SUB_I]] to <8 x i8> 639 // CHECK: [[TMP0:%.*]] = bitcast <2 x float> %v1 to <8 x i8> 640 // CHECK: [[TMP1:%.*]] = bitcast <2 x float> %v2 to <8 x i8> 641 // CHECK: [[TMP2:%.*]] = bitcast <2 x float> %v3 to <8 x i8> 642 // CHECK: [[TMP3:%.*]] = bitcast <8 x i8> [[TMP0]] to <2 x float> 643 // CHECK: [[TMP4:%.*]] = bitcast <8 x i8> [[TMP1]] to <2 x float> 644 // CHECK: [[TMP5:%.*]] = bitcast <8 x i8> [[TMP2]] to <2 x float> 652 // CHECK: [[TMP0:%.*]] = bitcast <4 x float> %v1 to <16 x i8> 653 // CHECK: [[TMP1:%.*]] = bitcast <4 x float> %v2 to <16 x i8 [all...] |
/external/llvm/test/CodeGen/X86/ |
mmx-only.ll | 12 %0 = bitcast <1 x i64> %b to <2 x i32> 13 %1 = bitcast <1 x i64> %a to <2 x i32> 14 %mmx_var.i = bitcast <2 x i32> %1 to x86_mmx 15 %mmx_var1.i = bitcast <2 x i32> %0 to x86_mmx 17 %3 = bitcast x86_mmx %2 to <2 x i32> 18 %4 = bitcast <2 x i32> %3 to <1 x i64>
|
pr21792.ll | 9 %tmp2 = bitcast <4 x float> %vx to <2 x i64> 11 %tmp3 = bitcast <2 x i64> %and.i to <4 x i32> 14 %add.ptr = getelementptr inbounds i8, i8* bitcast ([256 x double]* @stuff to i8*), i64 %idx.ext 15 %tmp4 = bitcast i8* %add.ptr to double* 18 %add.ptr6 = getelementptr inbounds i8, i8* bitcast ([256 x double]* @stuff to i8*), i64 %idx.ext5 19 %tmp5 = bitcast i8* %add.ptr6 to double* 22 %add.ptr15 = getelementptr inbounds i8, i8* bitcast ([256 x double]* @stuff to i8*), i64 %idx.ext14 23 %tmp6 = bitcast i8* %add.ptr15 to double* 26 %add.ptr20 = getelementptr inbounds i8, i8* bitcast ([256 x double]* @stuff to i8*), i64 %idx.ext19 27 %tmp7 = bitcast i8* %add.ptr20 to double [all...] |
/external/llvm/test/Transforms/GlobalOpt/ |
alias-used.ll | 9 @llvm.used = appending global [3 x i8*] [i8* bitcast (void ()* @fa to i8*), i8* bitcast (void ()* @f to i8*), i8* @ca], section "llvm.metadata" 10 ; CHECK-DAG: @llvm.used = appending global [3 x i8*] [i8* @ca, i8* bitcast (void ()* @f to i8*), i8* bitcast (void ()* @fa to i8*)], section "llvm.metadata" 12 @llvm.compiler.used = appending global [4 x i8*] [i8* bitcast (void ()* @fa3 to i8*), i8* bitcast (void ()* @fa to i8*), i8* @ia, i8* @i], section "llvm.metadata" 13 ; CHECK-DAG: @llvm.compiler.used = appending global [2 x i8*] [i8* bitcast (void ()* @fa3 to i8*), i8* @ia], section "llvm.metadata" 15 @sameAsUsed = global [3 x i8*] [i8* bitcast (void ()* @fa to i8*), i8* bitcast (void ()* @f to i8*), i8* @ca] 16 ; CHECK-DAG: @sameAsUsed = local_unnamed_addr global [3 x i8*] [i8* bitcast (void ()* @f to i8*), i8* bitcast (void ()* @f to i8*), i8* @c [all...] |
/external/clang/test/CodeGenObjC/ |
variadic-sends.m | 11 // CHECK-X86-32: call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*)*) 12 // CHECK-X86-64: call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*)*) 17 // CHECK-X86-32: call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*, i32)*) 18 // CHECK-X86-64: call void bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*, i32)*) 23 // CHECK-X86-32: call void (i8*, i8*, i32, ...) bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*, i32, ...)*) 24 // CHECK-X86-64: call void (i8*, i8*, i32, ...) bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to void (i8*, i8*, i32, ...)*) 31 // CHECK-X86-32: call void bitcast (i8* (%struct._objc_super*, i8*, ...)* @objc_msgSendSuper to void (%struct._objc_super*, i8*, i32)*) 32 // CHECK-X86-64: call void bitcast (i8* (%struct._objc_super*, i8*, ...)* @objc_msgSendSuper to void (%struct._objc_super*, i8*, i32)*) 36 // CHECK-X86-32: call void (%struct._objc_super*, i8*, i32, ...) bitcast (i8* (%struct._objc_super*, i8*, ...)* @objc_msgSendSuper to void (%struct._objc_super*, i8*, i32, ...)*) 37 // CHECK-X86-64: call void (%struct._objc_super*, i8*, i32, ...) bitcast (i8* (%struct._objc_super*, i8*, ...)* @objc_msgSendSuper to void (%struct._objc_super*, i8*, i32, (…) [all...] |
arc-precise-lifetime.m | 10 // CHECK-NEXT: [[XPTR1:%.*]] = bitcast i8** [[X]] to i8* 24 // CHECK-NEXT: [[XPTR2:%.*]] = bitcast i8** [[X]] to i8* 42 // CHECK: [[PTRPTR1:%.*]] = bitcast [[PTR_T]]** [[PTR]] to i8* 45 // CHECK-NEXT: [[T1:%.*]] = bitcast [[TEST1]]* [[T0]] to i8* 47 // CHECK-NEXT: [[T3:%.*]] = bitcast i8* [[T2]] to [[TEST1]]* 49 // CHECK-NEXT: [[CPTR1:%.*]] = bitcast i8** [[C]] to i8* 52 // CHECK-NEXT: [[T1:%.*]] = bitcast [[TEST1]]* [[T0]] to i8* 54 // CHECK-NEXT: [[T3:%.*]] = bitcast i8* [[T2]] to [[TEST1]]* 56 // CHECK-NEXT: [[T5:%.*]] = bitcast [[TEST1]]* [[T3]] to i8* 57 // CHECK-NEXT: [[T6:%.*]] = call i8* bitcast [all...] |
/external/llvm/test/CodeGen/Mips/ |
dsp-patterns-cmp-vselect.ll | 9 %0 = bitcast i32 %a0.coerce to <2 x i16> 10 %1 = bitcast i32 %a1.coerce to <2 x i16> 11 %2 = bitcast i32 %a2.coerce to <2 x i16> 12 %3 = bitcast i32 %a3.coerce to <2 x i16> 15 %4 = bitcast <2 x i16> %or to i32 26 %0 = bitcast i32 %a0.coerce to <2 x i16> 27 %1 = bitcast i32 %a1.coerce to <2 x i16> 28 %2 = bitcast i32 %a2.coerce to <2 x i16> 29 %3 = bitcast i32 %a3.coerce to <2 x i16> 32 %4 = bitcast <2 x i16> %or to i3 [all...] |
/external/swiftshader/third_party/LLVM/test/CodeGen/CBackend/ |
2006-12-11-Float-Bitcast.ll | 5 %X = bitcast float %F to i32 ; <i32> [#uses=1]
10 %X = bitcast i32 %I to float ; <float> [#uses=1]
15 %X = bitcast double %D to i64 ; <i64> [#uses=1]
20 %X = bitcast i64 %L to double ; <double> [#uses=1]
25 %X = bitcast double %D to double ; <double> [#uses=1]
27 %Z = bitcast double %Y to i64 ; <i64> [#uses=1]
28 %res = bitcast i64 %Z to double ; <double> [#uses=1]
33 %X = bitcast float %F to float ; <float> [#uses=1]
35 %Z = bitcast float %Y to i32 ; <i32> [#uses=1]
36 %res = bitcast i32 %Z to float ; <float> [#uses=1] [all...] |
/external/llvm/test/CodeGen/AMDGPU/ |
schedule-fs-loop-nested.ll | 9 %3 = bitcast i32 %2 to float 10 %4 = bitcast float %3 to i32 12 %6 = bitcast i32 %5 to float 13 %7 = bitcast float %6 to i32 15 %9 = bitcast i32 %8 to float 16 %10 = bitcast float %9 to i32 18 %12 = bitcast i32 %11 to float 19 %13 = bitcast float %3 to i32 20 %14 = bitcast float %12 to i32 22 %16 = bitcast i32 %15 to floa [all...] |
/external/llvm/test/Transforms/WholeProgramDevirt/ |
unique-retval.ll | 6 @vt1 = constant [1 x i8*] [i8* bitcast (i1 (i8*)* @vf0 to i8*)], !type !0 7 @vt2 = constant [1 x i8*] [i8* bitcast (i1 (i8*)* @vf0 to i8*)], !type !0, !type !1 8 @vt3 = constant [1 x i8*] [i8* bitcast (i1 (i8*)* @vf1 to i8*)], !type !0, !type !1 9 @vt4 = constant [1 x i8*] [i8* bitcast (i1 (i8*)* @vf1 to i8*)], !type !1 21 %vtableptr = bitcast i8* %obj to [1 x i8*]** 23 ; CHECK: [[VT1:%[^ ]*]] = bitcast [1 x i8*]* {{.*}} to i8* 24 %vtablei8 = bitcast [1 x i8*]* %vtable to i8* 29 %fptr_casted = bitcast i8* %fptr to i1 (i8*)* 30 ; CHECK: [[RES1:%[^ ]*]] = icmp eq i8* [[VT1]], bitcast ([1 x i8*]* @vt3 to i8*) 38 %vtableptr = bitcast i8* %obj to [1 x i8*]* [all...] |
/external/swiftshader/third_party/LLVM/test/Transforms/ScalarRepl/ |
debuginfo.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 4, i8* getelementptr ([6 x i8]* @.str, i32 0, i32 0), i8* getelementptr ([5 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] 20 @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]* @.str4, 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] 22 @llvm.dbg.derivedtype = internal constant %llvm.dbg.derivedtype.type { i32 458765, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), i8* getelementptr ([2 x i8]* @.str5, i32 0, i32 0), { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), i32 4, i64 32, i64 32, i64 0, i32 0, { }* bitcast (%llvm.dbg.basictype.type* @llvm.dbg.basictype to { }*) }, section "llvm.metadata" ; <%llvm.dbg.derivedtype.type*> [#uses=1] 24 @llvm.dbg.derivedtype7 = internal constant %llvm.dbg.derivedtype.type { i32 458765, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), i8* getelementptr ([2 x i8]* @.str6, i32 0, i32 0), { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), i32 4, i64 32, i64 32, i64 32, i32 0, { }* bitcast (%llvm.dbg.basictype.type* @llvm.dbg.basictype to { }*) }, section "llvm.metadata" ; <%llvm.dbg.derivedtype.type*> [#uses=1] 26 @llvm.dbg.derivedtype9 = internal constant %llvm.dbg.derivedtype.type { i32 458765, { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), i8* getelementptr ([2 x i8]* @.str8 (…) [all...] |