/external/llvm/test/CodeGen/X86/ |
D | large-gep-chain.ll | 4 %0 = type { i32, float* } 24 %tmp = getelementptr inbounds float, float* null, i64 1 25 %tmp3 = getelementptr inbounds float, float* %tmp, i64 1 26 %tmp4 = getelementptr inbounds float, float* %tmp3, i64 1 27 %tmp5 = getelementptr inbounds float, float* %tmp4, i64 1 28 %tmp6 = getelementptr inbounds float, float* %tmp5, i64 1 29 %tmp7 = getelementptr inbounds float, float* %tmp6, i64 1 30 %tmp8 = getelementptr inbounds float, float* %tmp7, i64 1 31 %tmp9 = getelementptr inbounds float, float* %tmp8, i64 1 32 %tmp10 = getelementptr inbounds float, float* %tmp9, i64 1 [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | large-gep-chain.ll | 4 %0 = type { i32, float* } 24 %tmp = getelementptr inbounds float, float* null, i64 1 25 %tmp3 = getelementptr inbounds float, float* %tmp, i64 1 26 %tmp4 = getelementptr inbounds float, float* %tmp3, i64 1 27 %tmp5 = getelementptr inbounds float, float* %tmp4, i64 1 28 %tmp6 = getelementptr inbounds float, float* %tmp5, i64 1 29 %tmp7 = getelementptr inbounds float, float* %tmp6, i64 1 30 %tmp8 = getelementptr inbounds float, float* %tmp7, i64 1 31 %tmp9 = getelementptr inbounds float, float* %tmp8, i64 1 32 %tmp10 = getelementptr inbounds float, float* %tmp9, i64 1 [all …]
|
/external/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | scratch-simple.ll | 80 define amdgpu_ps float @ps_main(i32 %idx) { 81 …float> <float undef, float undef, float undef, float undef, float undef, float undef, float undef,… 82 …float> <float undef, float undef, float undef, float undef, float undef, float undef, float undef,… 83 %r = fadd float %v1, %v2 84 ret float %r 131 define amdgpu_vs float @vs_main(i32 %idx) { 132 …float> <float undef, float undef, float undef, float undef, float undef, float undef, float undef,… 133 …float> <float undef, float undef, float undef, float undef, float undef, float undef, float undef,… 134 %r = fadd float %v1, %v2 135 ret float %r [all …]
|
D | schedule-regpressure-limit3.ll | 7 define amdgpu_kernel void @load_fma_store(float addrspace(3)* nocapture readonly %arg, float addrsp… 9 %tmp = getelementptr inbounds float, float addrspace(3)* %arg, i32 1 10 %tmp2 = load float, float addrspace(3)* %tmp, align 4 11 %tmp3 = getelementptr inbounds float, float addrspace(3)* %arg, i32 2 12 %tmp4 = load float, float addrspace(3)* %tmp3, align 4 13 %tmp5 = getelementptr inbounds float, float addrspace(3)* %arg, i32 3 14 %tmp6 = load float, float addrspace(3)* %tmp5, align 4 15 %tmp7 = tail call float @llvm.fmuladd.f32(float %tmp2, float %tmp4, float %tmp6) 16 %tmp8 = getelementptr inbounds float, float addrspace(3)* %arg, i32 5 17 %tmp9 = load float, float addrspace(3)* %tmp8, align 4 [all …]
|
D | schedule-regpressure-limit.ll | 8 define amdgpu_kernel void @load_fma_store(float addrspace(3)* nocapture readonly %arg, float addrsp… 10 %tmp = getelementptr inbounds float, float addrspace(3)* %arg, i32 1 11 %tmp2 = load float, float addrspace(3)* %tmp, align 4 12 %tmp3 = getelementptr inbounds float, float addrspace(3)* %arg, i32 2 13 %tmp4 = load float, float addrspace(3)* %tmp3, align 4 14 %tmp5 = getelementptr inbounds float, float addrspace(3)* %arg, i32 3 15 %tmp6 = load float, float addrspace(3)* %tmp5, align 4 16 %tmp7 = tail call float @llvm.fmuladd.f32(float %tmp2, float %tmp4, float %tmp6) 17 %tmp8 = getelementptr inbounds float, float addrspace(3)* %arg, i32 5 18 %tmp9 = load float, float addrspace(3)* %tmp8, align 4 [all …]
|
D | schedule-ilp.ll | 5 define amdgpu_kernel void @load_fma_store(float addrspace(3)* nocapture readonly %arg, float addrsp… 7 %tmp = getelementptr inbounds float, float addrspace(3)* %arg, i32 1 8 %tmp2 = load float, float addrspace(3)* %tmp, align 4 9 %tmp3 = getelementptr inbounds float, float addrspace(3)* %arg, i32 2 10 %tmp4 = load float, float addrspace(3)* %tmp3, align 4 11 %tmp5 = getelementptr inbounds float, float addrspace(3)* %arg, i32 3 12 %tmp6 = load float, float addrspace(3)* %tmp5, align 4 13 %tmp7 = tail call float @llvm.fmuladd.f32(float %tmp2, float %tmp4, float %tmp6) 14 %tmp8 = getelementptr inbounds float, float addrspace(3)* %arg, i32 5 15 %tmp9 = load float, float addrspace(3)* %tmp8, align 4 [all …]
|
D | waitcnt-looptest.ll | 15 …float] [float 0.000000e+00, float 0x3FB99999A0000000, float 0x3FC99999A0000000, float 0x3FD3333340… 16 …float] [float 0.000000e+00, float 0x3FB99999A0000000, float 0x3FC99999A0000000, float 0x3FD3333340… 20 …float> <float 1.000000e+00, float 1.000000e+00>, <2 x float>* bitcast (float* getelementptr ([100 … 21 …float> <float 1.000000e+00, float 1.000000e+00>, <2 x float>* bitcast (float* getelementptr ([100 … 49 …%tmp22 = getelementptr inbounds [100 x float], [100 x float] addrspace(1)* @data_generic, i64 0, i… 50 %tmp23 = load float, float addrspace(1)* %tmp22, align 4 51 …%tmp24 = getelementptr inbounds [100 x float], [100 x float] addrspace(1)* @data_reference, i64 0,… 52 %tmp25 = load float, float addrspace(1)* %tmp24, align 4 53 %tmp26 = fcmp oeq float %tmp23, %tmp25 57 …%tmp30 = getelementptr inbounds [100 x float], [100 x float] addrspace(1)* @data_generic, i64 0, i… [all …]
|
D | schedule-regpressure-limit2.ll | 16 define amdgpu_kernel void @load_fma_store(float addrspace(3)* nocapture readonly %in_arg, float add… 18 %adr.a.0 = getelementptr inbounds float, float addrspace(3)* %in_arg, i32 20004 19 %adr.b.0 = getelementptr inbounds float, float addrspace(3)* %in_arg, i32 20252 20 %adr.c.0 = getelementptr inbounds float, float addrspace(3)* %in_arg, i32 20508 21 %adr.a.1 = getelementptr inbounds float, float addrspace(3)* %in_arg, i32 20772 22 %adr.b.1 = getelementptr inbounds float, float addrspace(3)* %in_arg, i32 21020 23 %adr.c.1 = getelementptr inbounds float, float addrspace(3)* %in_arg, i32 21276 24 %adr.a.2 = getelementptr inbounds float, float addrspace(3)* %in_arg, i32 21540 25 %adr.b.2 = getelementptr inbounds float, float addrspace(3)* %in_arg, i32 21788 26 %adr.c.2 = getelementptr inbounds float, float addrspace(3)* %in_arg, i32 22044 [all …]
|
D | big_alu.ll | 5 …float> inreg %reg0, <4 x float> inreg %reg1, <4 x float> inreg %reg2, <4 x float> inreg %reg3, <4 … 7 %tmp = extractelement <4 x float> %reg0, i32 0 8 %tmp1 = extractelement <4 x float> %reg0, i32 1 9 %tmp2 = extractelement <4 x float> %reg0, i32 2 10 %tmp3 = extractelement <4 x float> %reg0, i32 3 11 %tmp4 = extractelement <4 x float> %reg1, i32 0 12 %tmp5 = extractelement <4 x float> %reg9, i32 0 13 %tmp6 = extractelement <4 x float> %reg8, i32 0 14 %tmp7 = fcmp ugt float %tmp6, 0.000000e+00 15 %tmp8 = select i1 %tmp7, float %tmp4, float %tmp5 [all …]
|
/external/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/ |
D | cubesc.ll | 4 declare float @llvm.amdgcn.cubesc(float, float, float) 6 define void @test(float* %p) { 8 ; CHECK-NEXT: store volatile float 3.000000e+00, float* [[P:%.*]] 9 ; CHECK-NEXT: store volatile float 3.000000e+00, float* [[P]] 10 ; CHECK-NEXT: store volatile float 4.000000e+00, float* [[P]] 11 ; CHECK-NEXT: store volatile float 4.000000e+00, float* [[P]] 12 ; CHECK-NEXT: store volatile float -4.000000e+00, float* [[P]] 13 ; CHECK-NEXT: store volatile float -3.000000e+00, float* [[P]] 14 ; CHECK-NEXT: store volatile float -3.000000e+00, float* [[P]] 15 ; CHECK-NEXT: store volatile float 3.000000e+00, float* [[P]] [all …]
|
D | cubetc.ll | 4 declare float @llvm.amdgcn.cubetc(float, float, float) 6 define void @test(float* %p) { 8 ; CHECK-NEXT: store volatile float -4.000000e+00, float* [[P:%.*]] 9 ; CHECK-NEXT: store volatile float 4.000000e+00, float* [[P]] 10 ; CHECK-NEXT: store volatile float -3.000000e+00, float* [[P]] 11 ; CHECK-NEXT: store volatile float 3.000000e+00, float* [[P]] 12 ; CHECK-NEXT: store volatile float -3.000000e+00, float* [[P]] 13 ; CHECK-NEXT: store volatile float -4.000000e+00, float* [[P]] 14 ; CHECK-NEXT: store volatile float -4.000000e+00, float* [[P]] 15 ; CHECK-NEXT: store volatile float -4.000000e+00, float* [[P]] [all …]
|
D | cubema.ll | 4 declare float @llvm.amdgcn.cubema(float, float, float) 6 define void @test(float* %p) { 8 ; CHECK-NEXT: store volatile float 1.000000e+01, float* [[P:%.*]] 9 ; CHECK-NEXT: store volatile float 1.000000e+01, float* [[P]] 10 ; CHECK-NEXT: store volatile float 1.000000e+01, float* [[P]] 11 ; CHECK-NEXT: store volatile float 1.000000e+01, float* [[P]] 12 ; CHECK-NEXT: store volatile float 1.000000e+01, float* [[P]] 13 ; CHECK-NEXT: store volatile float 1.000000e+01, float* [[P]] 14 ; CHECK-NEXT: store volatile float -1.000000e+01, float* [[P]] 15 ; CHECK-NEXT: store volatile float 1.000000e+01, float* [[P]] [all …]
|
D | cubeid.ll | 4 declare float @llvm.amdgcn.cubeid(float, float, float) 6 define void @test(float* %p) { 8 ; CHECK-NEXT: store volatile float 4.000000e+00, float* [[P:%.*]] 9 ; CHECK-NEXT: store volatile float 2.000000e+00, float* [[P]] 10 ; CHECK-NEXT: store volatile float 4.000000e+00, float* [[P]] 11 ; CHECK-NEXT: store volatile float 2.000000e+00, float* [[P]] 12 ; CHECK-NEXT: store volatile float 0.000000e+00, float* [[P]] 13 ; CHECK-NEXT: store volatile float 0.000000e+00, float* [[P]] 14 ; CHECK-NEXT: store volatile float 5.000000e+00, float* [[P]] 15 ; CHECK-NEXT: store volatile float 2.000000e+00, float* [[P]] [all …]
|
/external/llvm-project/llvm/test/Transforms/InstSimplify/ |
D | fminmax-folds.ll | 4 declare float @llvm.minnum.f32(float, float) 5 declare float @llvm.maxnum.f32(float, float) 6 declare float @llvm.minimum.f32(float, float) 7 declare float @llvm.maximum.f32(float, float) 8 declare <2 x float> @llvm.minnum.v2f32(<2 x float>, <2 x float>) 9 declare <2 x float> @llvm.maxnum.v2f32(<2 x float>, <2 x float>) 10 declare <2 x float> @llvm.minimum.v2f32(<2 x float>, <2 x float>) 11 declare <2 x float> @llvm.maximum.v2f32(<2 x float>, <2 x float>) 22 define float @test_minnum_const_nan(float %x) { 24 ; CHECK-NEXT: ret float [[X:%.*]] [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | minnum.ll | 3 declare float @llvm.minnum.f32(float, float) #0 4 declare float @llvm.minnum.v2f32(<2 x float>, <2 x float>) #0 5 declare <4 x float> @llvm.minnum.v4f32(<4 x float>, <4 x float>) #0 10 declare float @llvm.maxnum.f32(float, float) #0 13 ; CHECK-NEXT: ret float 1.000000e+00 14 define float @constant_fold_minnum_f32() #0 { 15 %x = call float @llvm.minnum.f32(float 1.0, float 2.0) #0 16 ret float %x 20 ; CHECK-NEXT: ret float 1.000000e+00 21 define float @constant_fold_minnum_f32_inv() #0 { [all …]
|
D | x86-sse.ll | 5 define float @test_rcp_ss_0(float %a) { 7 ; CHECK-NEXT: [[TMP1:%.*]] = insertelement <4 x float> undef, float %a, i32 0 8 ; CHECK-NEXT: [[TMP2:%.*]] = tail call <4 x float> @llvm.x86.sse.rcp.ss(<4 x float> [[TMP1]]) 9 ; CHECK-NEXT: [[TMP3:%.*]] = extractelement <4 x float> [[TMP2]], i32 0 10 ; CHECK-NEXT: ret float [[TMP3]] 12 %1 = insertelement <4 x float> undef, float %a, i32 0 13 %2 = insertelement <4 x float> %1, float 1.000000e+00, i32 1 14 %3 = insertelement <4 x float> %2, float 2.000000e+00, i32 2 15 %4 = insertelement <4 x float> %3, float 3.000000e+00, i32 3 16 %5 = tail call <4 x float> @llvm.x86.sse.rcp.ss(<4 x float> %4) [all …]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | local-stack-slot-bug.ll | 16 define amdgpu_ps float @main(i32 %idx) { 18 …float> <float undef, float undef, float undef, float undef, float undef, float undef, float undef,… 19 …float> <float undef, float undef, float undef, float undef, float undef, float undef, float undef,… 20 %r = fadd float %v1, %v2 21 ret float %r
|
D | vgpr-spill-emergency-stack-slot-compute.ll | 46 …void @spill_vgpr_compute(<4 x float> %arg6, float addrspace(1)* %arg, i32 %arg1, i32 %arg2, float … 49 %tmp7 = extractelement <4 x float> %arg6, i32 0 50 %tmp8 = extractelement <4 x float> %arg6, i32 1 51 %tmp9 = extractelement <4 x float> %arg6, i32 2 52 %tmp10 = extractelement <4 x float> %arg6, i32 3 53 %tmp11 = bitcast float %arg5 to i32 57 %tmp13 = phi float [ 0.000000e+00, %bb ], [ %tmp338, %bb145 ] 58 %tmp14 = phi float [ 0.000000e+00, %bb ], [ %tmp337, %bb145 ] 59 %tmp15 = phi float [ 0.000000e+00, %bb ], [ %tmp336, %bb145 ] 60 %tmp16 = phi float [ 0.000000e+00, %bb ], [ %tmp339, %bb145 ] [all …]
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | maximum.ll | 4 declare float @llvm.maximum.f32(float, float) 5 declare <2 x float> @llvm.maximum.v2f32(<2 x float>, <2 x float>) 6 declare <4 x float> @llvm.maximum.v4f32(<4 x float>, <4 x float>) 11 define float @constant_fold_maximum_f32() { 13 ; CHECK-NEXT: ret float 2.000000e+00 15 %x = call float @llvm.maximum.f32(float 1.0, float 2.0) 16 ret float %x 19 define float @constant_fold_maximum_f32_inv() { 21 ; CHECK-NEXT: ret float 2.000000e+00 23 %x = call float @llvm.maximum.f32(float 2.0, float 1.0) [all …]
|
/external/llvm/test/CodeGen/Generic/ |
D | 2003-05-28-ManyArgs.ll | 21 %struct..s_annealing_sched = type { i32, float, float, float, float } 22 %struct..s_chan = type { i32, float, float, float, float } 23 …%struct..s_det_routing_arch = type { i32, float, float, float, i32, i32, i16, i16, i16, float, flo… 24 %struct..s_placer_opts = type { i32, float, i32, i32, i8*, i32, i32 } 25 %struct..s_router_opts = type { float, float, float, float, float, i32, i32, i32, i32 } 26 %struct..s_segment_inf = type { float, i32, i16, i16, float, float, i32, float, float } 27 %struct..s_switch_inf = type { i32, float, float, float, float } 44 … float, float, float, float, float, float, float, float, float, float } ; <{ i32, float, float, f… 50 …2, float, float, float, float, float, float, float, float, float, float }, { i32, float, float, fl… 56 …tr %struct..s_placer_opts, %struct..s_placer_opts* %placer_opts, i64 0, i32 1 ; <float*> [#uses=1] [all …]
|
/external/llvm-project/llvm/test/CodeGen/Generic/ |
D | 2003-05-28-ManyArgs.ll | 21 %struct..s_annealing_sched = type { i32, float, float, float, float } 22 %struct..s_chan = type { i32, float, float, float, float } 23 …%struct..s_det_routing_arch = type { i32, float, float, float, i32, i32, i16, i16, i16, float, flo… 24 %struct..s_placer_opts = type { i32, float, i32, i32, i8*, i32, i32 } 25 %struct..s_router_opts = type { float, float, float, float, float, i32, i32, i32, i32 } 26 %struct..s_segment_inf = type { float, i32, i16, i16, float, float, i32, float, float } 27 %struct..s_switch_inf = type { i32, float, float, float, float } 44 … float, float, float, float, float, float, float, float, float, float } ; <{ i32, float, float, f… 50 …2, float, float, float, float, float, float, float, float, float, float }, { i32, float, float, fl… 56 …tr %struct..s_placer_opts, %struct..s_placer_opts* %placer_opts, i64 0, i32 1 ; <float*> [#uses=1] [all …]
|
/external/llvm-project/llvm/test/CodeGen/Hexagon/ |
D | large-number-of-preds.ll | 6 @g0 = external global void (float*, i32, i32, float*, float*)** 9 define void @f0(float* nocapture %a0, float* nocapture %a1, float* %a2) #0 { 11 %v0 = alloca [64 x float], align 16 12 %v1 = alloca [8 x float], align 8 13 %v2 = bitcast [64 x float]* %v0 to i8* 15 %v3 = load float, float* %a0, align 4, !tbaa !0 16 %v4 = getelementptr inbounds [64 x float], [64 x float]* %v0, i32 0, i32 35 17 store float %v3, float* %v4, align 4, !tbaa !0 18 %v5 = getelementptr inbounds [64 x float], [64 x float]* %v0, i32 0, i32 0 19 store float %v3, float* %v5, align 16, !tbaa !0 [all …]
|
/external/llvm-project/llvm/test/Transforms/InstCombine/X86/ |
D | x86-sse.ll | 5 define float @test_rcp_ss_0(float %a) { 7 ; CHECK-NEXT: [[TMP1:%.*]] = insertelement <4 x float> undef, float [[A:%.*]], i32 0 8 ; CHECK-NEXT: [[TMP2:%.*]] = tail call <4 x float> @llvm.x86.sse.rcp.ss(<4 x float> [[TMP1]]) 9 ; CHECK-NEXT: [[TMP3:%.*]] = extractelement <4 x float> [[TMP2]], i32 0 10 ; CHECK-NEXT: ret float [[TMP3]] 12 %1 = insertelement <4 x float> undef, float %a, i32 0 13 %2 = insertelement <4 x float> %1, float 1.000000e+00, i32 1 14 %3 = insertelement <4 x float> %2, float 2.000000e+00, i32 2 15 %4 = insertelement <4 x float> %3, float 3.000000e+00, i32 3 16 %5 = tail call <4 x float> @llvm.x86.sse.rcp.ss(<4 x float> %4) [all …]
|
/external/llvm-project/llvm/test/Transforms/LoopReroll/ |
D | basic32iters.ll | 5 ; void goo32(float alpha, float *a, float *b) { 43 define void @goo32(float %alpha, float* %a, float* readonly %b) #0 { 49 %arrayidx = getelementptr inbounds float, float* %b, i64 %indvars.iv 50 %0 = load float, float* %arrayidx, align 4 51 %mul = fmul float %0, %alpha 52 %arrayidx2 = getelementptr inbounds float, float* %a, i64 %indvars.iv 53 %1 = load float, float* %arrayidx2, align 4 54 %add = fadd float %1, %mul 55 store float %add, float* %arrayidx2, align 4 57 %arrayidx5 = getelementptr inbounds float, float* %b, i64 %2 [all …]
|
/external/llvm/test/Transforms/LoopReroll/ |
D | basic32iters.ll | 5 ; void goo32(float alpha, float *a, float *b) { 43 define void @goo32(float %alpha, float* %a, float* readonly %b) #0 { 49 %arrayidx = getelementptr inbounds float, float* %b, i64 %indvars.iv 50 %0 = load float, float* %arrayidx, align 4 51 %mul = fmul float %0, %alpha 52 %arrayidx2 = getelementptr inbounds float, float* %a, i64 %indvars.iv 53 %1 = load float, float* %arrayidx2, align 4 54 %add = fadd float %1, %mul 55 store float %add, float* %arrayidx2, align 4 57 %arrayidx5 = getelementptr inbounds float, float* %b, i64 %2 [all …]
|