Lines Matching full:setcc
101 /// shared among BR_CC, SELECT_CC, and SETCC handlers.
107 && "Unsupported setcc type!");
179 default: llvm_unreachable("Do not know how to soften this setcc!");
190 SDValue Tmp = DAG.getNode(ISD::SETCC, dl,
194 NewLHS = DAG.getNode(ISD::SETCC, dl,
1066 /// SimplifySetCC - Try to simplify a setcc built with the specified operands
1074 // These setcc operations always fold.
1168 if (isTypeDesirableForOp(ISD::SETCC, MinVT)) {
1273 (isOperationLegal(ISD::SETCC, newVT) &&
1315 // SETCC (SETCC), [0|1], [EQ|NE] -> SETCC
1316 if (N0.getOpcode() == ISD::SETCC &&
1364 Op0.getOperand(0).getOpcode() == ISD::SETCC &&
1365 Op0.getOperand(1).getOpcode() == ISD::SETCC) {
1366 // (xor (setcc), (setcc)) == / != 1 -> (setcc) != / == (setcc)
1450 // If we have "setcc X, C0", check to see if we can shrink the immediate
1547 // Constant fold or commute setcc.
1612 // The sext(setcc()) => setcc() optimization relies on the appropriate
1625 // We can always fold X == X for integer setcc's.
1776 // Fold away ALL boolean setcc's.
1780 default: llvm_unreachable("Unknown integer setcc!");