Peter Collingbourne | 1e373f0 | 2012-08-05 22:25:12 +0000 | [diff] [blame] | 1 | declare i8 @__clc_sub_sat_impl_s8(i8 %x, i8 %y) |
| 2 | |
Peter Collingbourne | 3cd1bcb3 | 2012-08-05 22:25:48 +0000 | [diff] [blame] | 3 | define i8 @__clc_sub_sat_s8(i8 %x, i8 %y) nounwind readnone alwaysinline { |
Peter Collingbourne | 1e373f0 | 2012-08-05 22:25:12 +0000 | [diff] [blame] | 4 | %call = call i8 @__clc_sub_sat_impl_s8(i8 %x, i8 %y) |
| 5 | ret i8 %call |
| 6 | } |
| 7 | |
| 8 | declare i8 @__clc_sub_sat_impl_u8(i8 %x, i8 %y) |
| 9 | |
Peter Collingbourne | 3cd1bcb3 | 2012-08-05 22:25:48 +0000 | [diff] [blame] | 10 | define i8 @__clc_sub_sat_u8(i8 %x, i8 %y) nounwind readnone alwaysinline { |
Peter Collingbourne | 1e373f0 | 2012-08-05 22:25:12 +0000 | [diff] [blame] | 11 | %call = call i8 @__clc_sub_sat_impl_u8(i8 %x, i8 %y) |
| 12 | ret i8 %call |
| 13 | } |
| 14 | |
| 15 | declare i16 @__clc_sub_sat_impl_s16(i16 %x, i16 %y) |
| 16 | |
Peter Collingbourne | 3cd1bcb3 | 2012-08-05 22:25:48 +0000 | [diff] [blame] | 17 | define i16 @__clc_sub_sat_s16(i16 %x, i16 %y) nounwind readnone alwaysinline { |
Peter Collingbourne | 1e373f0 | 2012-08-05 22:25:12 +0000 | [diff] [blame] | 18 | %call = call i16 @__clc_sub_sat_impl_s16(i16 %x, i16 %y) |
| 19 | ret i16 %call |
| 20 | } |
| 21 | |
| 22 | declare i16 @__clc_sub_sat_impl_u16(i16 %x, i16 %y) |
| 23 | |
Peter Collingbourne | 3cd1bcb3 | 2012-08-05 22:25:48 +0000 | [diff] [blame] | 24 | define i16 @__clc_sub_sat_u16(i16 %x, i16 %y) nounwind readnone alwaysinline { |
Peter Collingbourne | 1e373f0 | 2012-08-05 22:25:12 +0000 | [diff] [blame] | 25 | %call = call i16 @__clc_sub_sat_impl_u16(i16 %x, i16 %y) |
| 26 | ret i16 %call |
| 27 | } |
| 28 | |
| 29 | declare i32 @__clc_sub_sat_impl_s32(i32 %x, i32 %y) |
| 30 | |
Peter Collingbourne | 3cd1bcb3 | 2012-08-05 22:25:48 +0000 | [diff] [blame] | 31 | define i32 @__clc_sub_sat_s32(i32 %x, i32 %y) nounwind readnone alwaysinline { |
Peter Collingbourne | 1e373f0 | 2012-08-05 22:25:12 +0000 | [diff] [blame] | 32 | %call = call i32 @__clc_sub_sat_impl_s32(i32 %x, i32 %y) |
| 33 | ret i32 %call |
| 34 | } |
| 35 | |
| 36 | declare i32 @__clc_sub_sat_impl_u32(i32 %x, i32 %y) |
| 37 | |
Peter Collingbourne | 3cd1bcb3 | 2012-08-05 22:25:48 +0000 | [diff] [blame] | 38 | define i32 @__clc_sub_sat_u32(i32 %x, i32 %y) nounwind readnone alwaysinline { |
Peter Collingbourne | 1e373f0 | 2012-08-05 22:25:12 +0000 | [diff] [blame] | 39 | %call = call i32 @__clc_sub_sat_impl_u32(i32 %x, i32 %y) |
| 40 | ret i32 %call |
| 41 | } |
| 42 | |
| 43 | declare i64 @__clc_sub_sat_impl_s64(i64 %x, i64 %y) |
| 44 | |
Peter Collingbourne | 3cd1bcb3 | 2012-08-05 22:25:48 +0000 | [diff] [blame] | 45 | define i64 @__clc_sub_sat_s64(i64 %x, i64 %y) nounwind readnone alwaysinline { |
Peter Collingbourne | 1e373f0 | 2012-08-05 22:25:12 +0000 | [diff] [blame] | 46 | %call = call i64 @__clc_sub_sat_impl_s64(i64 %x, i64 %y) |
| 47 | ret i64 %call |
| 48 | } |
| 49 | |
| 50 | declare i64 @__clc_sub_sat_impl_u64(i64 %x, i64 %y) |
| 51 | |
Peter Collingbourne | 3cd1bcb3 | 2012-08-05 22:25:48 +0000 | [diff] [blame] | 52 | define i64 @__clc_sub_sat_u64(i64 %x, i64 %y) nounwind readnone alwaysinline { |
Peter Collingbourne | 1e373f0 | 2012-08-05 22:25:12 +0000 | [diff] [blame] | 53 | %call = call i64 @__clc_sub_sat_impl_u64(i64 %x, i64 %y) |
| 54 | ret i64 %call |
| 55 | } |