Home
last modified time | relevance | path

Searched refs:abs_n (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopIdiom/ARM/
Dctlz.ll36 %abs_n = select i1 %c, i32 %n, i32 %negn
37 %shr8 = lshr i32 %abs_n, 1
49 %and = and i32 %shl, %abs_n
84 ; ALL: %0 = call i32 @llvm.ctlz.i32(i32 %abs_n, i1 true)
95 %abs_n = select i1 %c, i32 %n, i32 %negn
96 %tobool4 = icmp eq i32 %abs_n, 0
104 %n.addr.05 = phi i32 [ %shr, %while.body ], [ %abs_n, %while.body.preheader ]
133 ; ALL: %0 = ashr i32 %abs_n, 1
145 %abs_n = select i1 %c, i32 %n, i32 %negn
149 %n.addr.0 = phi i32 [ %abs_n, %entry ], [ %shr, %while.cond ]
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopIdiom/X86/
Dctlz.ll36 %abs_n = select i1 %c, i32 %n, i32 %negn
37 %shr8 = lshr i32 %abs_n, 1
49 %and = and i32 %shl, %abs_n
84 ; ALL: %0 = call i32 @llvm.ctlz.i32(i32 %abs_n, i1 true)
95 %abs_n = select i1 %c, i32 %n, i32 %negn
96 %tobool4 = icmp eq i32 %abs_n, 0
104 %n.addr.05 = phi i32 [ %shr, %while.body ], [ %abs_n, %while.body.preheader ]
179 ; ALL: %0 = ashr i32 %abs_n, 1
191 %abs_n = select i1 %c, i32 %n, i32 %negn
195 %n.addr.0 = phi i32 [ %abs_n, %entry ], [ %shr, %while.cond ]
[all …]
/external/crcalc/src/com/hp/creals/
DCR.java255 int abs_n = Math.abs(n); in bound_log2() local
256 return (int)Math.ceil(Math.log((double)(abs_n + 1))/Math.log(2.0)); in bound_log2()