Lines Matching defs:BTST
1651 /// Create a BTST (Bit Test) node - Test bit \p BitNo in \p Src and set
1655 // If Src is i8, promote it to i32 with any_extend. There is no i8 BTST
1662 // BTST ignores high bits (like shifts) we can use anyextend.
1666 SDValue BTST = DAG.getNode(M68kISD::BTST, DL, MVT::i32, Src, BitNo);
1668 // NOTE BTST sets CCR.Z flag
1671 DAG.getConstant(Cond, DL, MVT::i8), BTST);
1674 /// Result of 'and' is compared against zero. Change to a BTST node if possible.
1710 // Use BTST if the immediate can't be encoded in a TEST instruction.
2131 /// Change to a BTST node if possible.
2151 // Optimize to BTST if possible.
2152 // Lower (X & (1 << N)) == 0 to BTST(X, N).
2153 // Lower ((X >>u N) & 1) != 0 to BTST(X, N).
2154 // Lower ((X >>s N) & 1) != 0 to BTST(X, N).
2155 // Lower (trunc (X >> N) to i1) to BTST(X, N).
2340 if ((isM68kLogicalCmp(Cmp) && !IllegalFPCMov) || Opc == M68kISD::BTST) {
2490 if (isM68kLogicalCmp(Cmp) || Opc == M68kISD::BTST) {
3677 case M68kISD::BTST:
3678 return "M68kISD::BTST";