Lines Matching full:fp128
43 define void @TestUnionLD1(fp128 %s, i64 %n) #0 {
45 %0 = bitcast fp128 %s to i128
51 %2 = bitcast i128 %bf.set to fp128
52 tail call void @foo(fp128 %2) #2
77 define fp128 @TestUnionLD2(fp128 %s) #0 {
79 %0 = bitcast fp128 %s to i128
81 %1 = bitcast i128 %bf.clear to fp128
82 ret fp128 %1
100 define fp128 @TestI128_1(fp128 %x) #0 {
102 %0 = bitcast fp128 %x to i128
104 %1 = bitcast i128 %bf.clear to fp128
105 %cmp = fcmp olt fp128 %1, 0xL999999999999999A3FFB999999999999
106 %cond = select i1 %cmp, fp128 0xL00000000000000003FFF000000000000, fp128 0xL00000000000000004000000000000000
107 ret fp128 %cond
126 define fp128 @TestI128_2(fp128 %x, fp128 %y) #0 {
128 %0 = bitcast fp128 %x to i128
130 %cond = select i1 %cmp, fp128 %x, fp128 %y
131 ret fp128 %cond
151 define fp128 @TestI128_3(fp128 %x, i32* nocapture readnone %ex) #0 {
153 %0 = bitcast fp128 %x to i128
159 %mul = fmul fp128 %x, 0xL00000000000000004201000000000000
160 %1 = bitcast fp128 %mul to i128
167 %2 = bitcast i128 %u.sroa.0.0 to fp128
168 ret fp128 %2
190 define fp128 @TestI128_4(fp128 %x) #0 {
192 %0 = bitcast fp128 %x to i128
194 %1 = bitcast i128 %bf.clear to fp128
195 %add = fadd fp128 %1, %x
196 ret fp128 %add
234 define fp128 @acosl(fp128 %x) #0 {
236 %0 = bitcast fp128 %x to i128
238 %1 = bitcast i128 %bf.clear to fp128
239 %add = fadd fp128 %1, %x
240 ret fp128 %add
253 define fp128 @TestComp(fp128 %x, fp128 %y) #0 {
255 %0 = bitcast fp128 %x to i128
257 %cond = select i1 %cmp, fp128 %x, fp128 %y
258 ret fp128 %cond
267 declare void @foo(fp128) #1
269 ; Test logical operations on fp128 values.
270 define fp128 @TestFABS_LD(fp128 %x) #0 {
272 %call = tail call fp128 @fabsl(fp128 %x) #2
273 ret fp128 %call
279 declare fp128 @fabsl(fp128) #1
281 declare fp128 @copysignl(fp128, fp128) #1
284 define void @TestCopySign({ fp128, fp128 }* noalias nocapture sret %agg.result, { fp128, fp128 }* byval nocapture readonly align 16 %z) #0 {
286 %z.realp = getelementptr inbounds { fp128, fp128 }, { fp128, fp128 }* %z, i64 0, i32 0
287 %z.real = load fp128, fp128* %z.realp, align 16
288 %z.imagp = getelementptr inbounds { fp128, fp128 }, { fp128, fp128 }* %z, i64 0, i32 1
289 %z.imag4 = load fp128, fp128* %z.imagp, align 16
290 %cmp = fcmp ogt fp128 %z.real, %z.imag4
291 %sub = fsub fp128 %z.imag4, %z.imag4
295 %call = tail call fp128 @fabsl(fp128 %sub) #2
299 %z.real.sink = phi fp128 [ %z.real, %if.then ], [ %sub, %entry ]
300 %call.sink = phi fp128 [ %call, %if.then ], [ %z.real, %entry ]
301 %call5 = tail call fp128 @copysignl(fp128 %z.real.sink, fp128 %z.imag4) #2
302 %0 = getelementptr inbounds { fp128, fp128 }, { fp128, fp128 }* %agg.result, i64 0, i32 0
303 %1 = getelementptr inbounds { fp128, fp128 }, { fp128, fp128 }* %agg.result, i64 0, i32 1
304 store fp128 %call.sink, fp128* %0, align 16
305 store fp128 %call5, fp128* %1, align 16