diff options
author | Aaron Watry <awatry@gmail.com> | 2013-05-14 23:39:48 -0500 |
---|---|---|
committer | Aaron Watry <awatry@gmail.com> | 2013-05-14 23:39:48 -0500 |
commit | 9cdaa1d4fd983c716531bb9f8dbbf61a2bb053bd (patch) | |
tree | 0f8859c65350af83a9c23453b69b86d69c414e43 /generic/lib/shared/vload_if.ll | |
parent | 06793105b530842630902ee6afcdc91af30b247e (diff) |
Remove redundant implementations in vload*vload_optimization
Diffstat (limited to 'generic/lib/shared/vload_if.ll')
-rw-r--r-- | generic/lib/shared/vload_if.ll | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/generic/lib/shared/vload_if.ll b/generic/lib/shared/vload_if.ll index a3575e0..2634d37 100644 --- a/generic/lib/shared/vload_if.ll +++ b/generic/lib/shared/vload_if.ll @@ -1,64 +1,60 @@ ;Start int global vload -declare <2 x i32> @__clc_vload2_impl_int__global(i32 %x, i32 %y) +declare <2 x i32> @__clc_vload2_impl_i32__global(i32 %x, i32 %y) +declare <3 x i32> @__clc_vload3_impl_i32__global(i32 %x, i32 %y) +declare <4 x i32> @__clc_vload4_impl_i32__global(i32 %x, i32 %y) +declare <8 x i32> @__clc_vload8_impl_i32__global(i32 %x, i32 %y) +declare <16 x i32> @__clc_vload16_impl_i32__global(i32 %x, i32 %y) + define <2 x i32> @__clc_vload2_int__global(i32 %x, i32 %y) nounwind readonly alwaysinline { - %call = call <2 x i32> @__clc_vload2_impl_int__global(i32 %x, i32 %y) + %call = call <2 x i32> @__clc_vload2_impl_i32__global(i32 %x, i32 %y) ret <2 x i32> %call } -declare <3 x i32> @__clc_vload3_impl_int__global(i32 %x, i32 %y) define <3 x i32> @__clc_vload3_int__global(i32 %x, i32 %y) nounwind readonly alwaysinline { - %call = call <3 x i32> @__clc_vload3_impl_int__global(i32 %x, i32 %y) + %call = call <3 x i32> @__clc_vload3_impl_i32__global(i32 %x, i32 %y) ret <3 x i32> %call } -declare <4 x i32> @__clc_vload4_impl_int__global(i32 %x, i32 %y) define <4 x i32> @__clc_vload4_int__global(i32 %x, i32 %y) nounwind readonly alwaysinline { - %call = call <4 x i32> @__clc_vload4_impl_int__global(i32 %x, i32 %y) + %call = call <4 x i32> @__clc_vload4_impl_i32__global(i32 %x, i32 %y) ret <4 x i32> %call } -declare <8 x i32> @__clc_vload8_impl_int__global(i32 %x, i32 %y) define <8 x i32> @__clc_vload8_int__global(i32 %x, i32 %y) nounwind readonly alwaysinline { - %call = call <8 x i32> @__clc_vload8_impl_int__global(i32 %x, i32 %y) + %call = call <8 x i32> @__clc_vload8_impl_i32__global(i32 %x, i32 %y) ret <8 x i32> %call } -declare <16 x i32> @__clc_vload16_impl_int__global(i32 %x, i32 %y) define <16 x i32> @__clc_vload16_int__global(i32 %x, i32 %y) nounwind readonly alwaysinline { - %call = call <16 x i32> @__clc_vload16_impl_int__global(i32 %x, i32 %y) + %call = call <16 x i32> @__clc_vload16_impl_i32__global(i32 %x, i32 %y) ret <16 x i32> %call } ;Start uint global vload -declare <2 x i32> @__clc_vload2_impl_uint__global(i32 %x, i32 %y) define <2 x i32> @__clc_vload2_uint__global(i32 %x, i32 %y) nounwind readonly alwaysinline { - %call = call <2 x i32> @__clc_vload2_impl_uint__global(i32 %x, i32 %y) + %call = call <2 x i32> @__clc_vload2_impl_i32__global(i32 %x, i32 %y) ret <2 x i32> %call } -declare <3 x i32> @__clc_vload3_impl_uint__global(i32 %x, i32 %y) define <3 x i32> @__clc_vload3_uint__global(i32 %x, i32 %y) nounwind readonly alwaysinline { - %call = call <3 x i32> @__clc_vload3_impl_uint__global(i32 %x, i32 %y) + %call = call <3 x i32> @__clc_vload3_impl_i32__global(i32 %x, i32 %y) ret <3 x i32> %call } -declare <4 x i32> @__clc_vload4_impl_uint__global(i32 %x, i32 %y) define <4 x i32> @__clc_vload4_uint__global(i32 %x, i32 %y) nounwind readonly alwaysinline { - %call = call <4 x i32> @__clc_vload4_impl_uint__global(i32 %x, i32 %y) + %call = call <4 x i32> @__clc_vload4_impl_i32__global(i32 %x, i32 %y) ret <4 x i32> %call } -declare <8 x i32> @__clc_vload8_impl_uint__global(i32 %x, i32 %y) define <8 x i32> @__clc_vload8_uint__global(i32 %x, i32 %y) nounwind readonly alwaysinline { - %call = call <8 x i32> @__clc_vload8_impl_uint__global(i32 %x, i32 %y) + %call = call <8 x i32> @__clc_vload8_impl_i32__global(i32 %x, i32 %y) ret <8 x i32> %call } -declare <16 x i32> @__clc_vload16_impl_uint__global(i32 %x, i32 %y) define <16 x i32> @__clc_vload16_uint__global(i32 %x, i32 %y) nounwind readonly alwaysinline { - %call = call <16 x i32> @__clc_vload16_impl_uint__global(i32 %x, i32 %y) + %call = call <16 x i32> @__clc_vload16_impl_i32__global(i32 %x, i32 %y) ret <16 x i32> %call } |