Lines Matching full:sub
5 ;; Exercise the 'sub' LLVM IR: https://llvm.org/docs/LangRef.html#sub-instruction
10 ; LA32-NEXT: sub.w $a0, $a0, $a1
15 ; LA64-NEXT: sub.d $a0, $a0, $a1
17 %sub = sub i1 %x, %y
18 ret i1 %sub
24 ; LA32-NEXT: sub.w $a0, $a0, $a1
29 ; LA64-NEXT: sub.d $a0, $a0, $a1
31 %sub = sub i8 %x, %y
32 ret i8 %sub
38 ; LA32-NEXT: sub.w $a0, $a0, $a1
43 ; LA64-NEXT: sub.d $a0, $a0, $a1
45 %sub = sub i16 %x, %y
46 ret i16 %sub
52 ; LA32-NEXT: sub.w $a0, $a0, $a1
57 ; LA64-NEXT: sub.w $a0, $a0, $a1
59 %sub = sub i32 %x, %y
60 ret i32 %sub
64 ;; def : PatGprGpr_32<sub, SUB_W>;
68 ; LA32-NEXT: sub.w $a0, $a0, $a1
73 ; LA64-NEXT: sub.w $a0, $a0, $a1
75 %sub = sub i32 %x, %y
76 ret i32 %sub
83 ; LA32-NEXT: sub.w $a1, $a1, $a3
84 ; LA32-NEXT: sub.w $a1, $a1, $a4
85 ; LA32-NEXT: sub.w $a0, $a0, $a2
90 ; LA64-NEXT: sub.d $a0, $a0, $a1
92 %sub = sub i64 %x, %y
93 ret i64 %sub