summaryrefslogtreecommitdiff
path: root/generic/lib/shared/vload_if.ll
diff options
context:
space:
mode:
Diffstat (limited to 'generic/lib/shared/vload_if.ll')
-rw-r--r--generic/lib/shared/vload_if.ll36
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
}