Lines Matching refs:sub
12 %sub = sub nsw i32 %a, %b
13 %sub. = select i1 %cmp, i32 %sub, i32 0
14 ret i32 %sub.
23 %sub = sub nsw i32 %b, %a
24 %sub. = select i1 %cmp, i32 %sub, i32 0
25 ret i32 %sub.
34 %sub = sub nsw i32 %a, 3
35 %sub. = select i1 %cmp, i32 %sub, i32 %b
36 ret i32 %sub.
46 %sub = sub i32 %b, %a
47 %sub. = select i1 %cmp, i32 %sub, i32 0
48 ret i32 %sub.
51 ; a swapped sub.
55 ; CHECK: sub
58 %sub = sub nsw i32 %a, %b
63 %sel = select i1 %cmp2, i32 %sub, i32 %a
67 ret i32 %sub
70 ; If the sub/rsb instruction is predicated, we can't use the flags.
79 %sub.i = sub nsw i32 0, %val.2.i
80 %retval.0.i = select i1 undef, i32 %val.2.i, i32 %sub.i
96 ; CHECK: sub
98 %sub = sub i32 %a, %b
99 %cmp = icmp eq i32 %sub, 17
111 %sub = sub i32 %a, %b
112 %cmp = icmp eq i32 %sub, 0
124 %sub = sub i32 %a, %b
125 %cmp = icmp eq i32 %sub, 0
139 %sub = sub i32 %a, %b
140 store i32 %sub, i32* @t
155 %sub = sub i32 %b, %a
157 store i32 %sub, i32* @t
169 ; CHECK: sub
173 %sub = sub i32 %load, 17
174 %cmp = icmp slt i32 %sub, 0
191 ; CHECK: sub
195 %sub = sub i32 %load, 17
196 %cmp = icmp ult i32 %sub, 0