Home | History | Annotate | Download | only in InstCombine

Lines Matching full:sdiv

4 ; CHECK: sdiv i32 %x, 8
6 %y = sdiv i32 %x, 8
13 %y = sdiv exact i32 %x, 8
22 %y = sdiv i32 %x, 3
30 %y = sdiv exact i32 %x, 3
40 %y = sdiv i32 %x, 3
49 %y = sdiv exact i32 %x, 3
100 ; Make sure we don't transform the ashr here into an sdiv
127 %A = sdiv exact i64 %X, 5 ; X/5 == 0 --> x == 0
135 %A = sdiv exact i64 %X, 5 ; X/5 == 1 --> x == 5
143 %A = sdiv exact i64 %X, 5 ; X/5 == -1 --> x == -5
151 %A = sdiv exact i64 %X, -5 ; X/-5 == 0 --> x == 0
159 %A = sdiv exact i64 %X, -5 ; X/-5 == 1 --> x == -5
167 %A = sdiv exact i64 %X, -5 ; X/-5 == 1 --> x == 5