Lines Matching refs:ctlz
6 declare i16 @llvm.ctlz.i16(i16, i1) readnone
7 declare i32 @llvm.ctlz.i32(i32, i1) readnone
8 declare i64 @llvm.ctlz.i64(i64, i1) readnone
10 ; There should be no difference between llvm.ctlz.i32(%a, true) and
11 ; llvm.ctlz.i32(%a, false), as ptx's clz(0) is defined to return 0.
19 %val = call i32 @llvm.ctlz.i32(i32 %a, i1 false) readnone
28 %val = call i32 @llvm.ctlz.i32(i32 %a, i1 true) readnone
41 %val = call i64 @llvm.ctlz.i64(i64 %a, i1 false) readnone
51 %val = call i64 @llvm.ctlz.i64(i64 %a, i1 true) readnone
55 ; Here we truncate the 64-bit value of LLVM's ctlz intrinsic to 32 bits, the
64 %val = call i64 @llvm.ctlz.i64(i64 %a, i1 false) readnone
74 %val = call i64 @llvm.ctlz.i64(i64 %a, i1 false) readnone
79 ; ctlz.i16 is implemented by extending the input to i32, computing the result,
91 %val = call i16 @llvm.ctlz.i16(i16 %a, i1 false) readnone
102 %val = call i16 @llvm.ctlz.i16(i16 %a, i1 true) readnone
106 ; Here we store the result of ctlz.16 into an i16 pointer, so the trunc should
117 %val = call i16 @llvm.ctlz.i16(i16 %a, i1 false) readnone
130 %val = call i16 @llvm.ctlz.i16(i16 %a, i1 false) readnone