Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:CC

255                              SDValue N3, ISD::CondCode CC,
533 // Also, set the incoming LHS, RHS, and CC references to the appropriate
537 SDValue &CC) {
541 CC = N.getOperand(2);
551 CC = N.getOperand(4);
3327 SDValue LHS, RHS, CC;
3360 // fold !(x cc y) -> (x !cc y)
3361 if (N1C && N1C->getAPIntValue() == 1 && isSetCCEquivalent(N0, LHS, RHS, CC)) {
3363 ISD::CondCode NotCC = ISD::getSetCCInverse(cast<CondCodeSDNode>(CC)->get(),
3382 isSetCCEquivalent(N0.getOperand(0), LHS, RHS, CC)){
4123 ISD::CondCode CC = cast<CondCodeSDNode>(N4)->get();
4125 // fold select_cc lhs, rhs, x, x, cc -> x
4131 N0, N1, CC, N->getDebugLoc(), false);
4152 return SimplifySelectCC(N->getDebugLoc(), N0, N1, N2, N3, CC);
4181 ISD::CondCode CC = cast<CondCodeSDNode>(User->getOperand(2))->get();
4182 if (ExtOpc == ISD::ZERO_EXTEND && ISD::isSignedIntSetCC(CC))
4442 // sext(setcc x, y, cc) -> (select_cc x, y, -1, 0, cc)
4740 // zext(setcc x,y,cc) -> select_cc x, y, 1, 0, cc
4920 // aext(setcc x,y,cc) -> select_cc x, y, 1, 0, cc
6213 // fold (sint_to_fp (setcc x, y, cc)) -> (select_cc x, y, -1.0, 0.0,, cc)
6225 // fold (sint_to_fp (zext (setcc x, y, cc))) ->
6226 // (select_cc x, y, 1.0, 0.0,, cc)
6270 // fold (uint_to_fp (setcc x, y, cc)) -> (select_cc x, y, -1.0, 0.0,, cc)
6690 CondCodeSDNode *CC = cast<CondCodeSDNode>(N->getOperand(1));
6701 CondLHS, CondRHS, CC->get(), N->getDebugLoc(),
8632 /// where 'cond' is the comparison specified by CC.
8635 ISD::CondCode CC, bool NotExtCompare) {
8646 N0, N1, CC, DL, false);
8662 if ((CC == ISD::SETGE || CC == ISD::SETGT) &&
8668 if ((CC == ISD::SETLT || CC == ISD::SETLE) &&
8712 N0, N1, CC);
8729 if (N1C && N3C && N3C->isNullValue() && CC == ISD::SETLT &&
8775 if (CC == ISD::SETEQ && N0->getOpcode() == ISD::AND &&
8817 N0, N1, CC);
8824 SCC = DAG.getSetCC(N0.getDebugLoc(), MVT::i1, N0, N1, CC);
8848 SDValue Res = DAG.getSetCC(DL, TLI.getSetCCResultType(XType), N0, N1, CC);
8855 if (N1C && N1C->isNullValue() && CC == ISD::SETEQ &&
8864 if (N1C && N1C->isNullValue() && CC == ISD::SETGT) {
8874 if (N1C && N1C->isAllOnesValue() && CC == ISD::SETGT) {
8890 if (((N1C->isNullValue() && (CC == ISD::SETGT || CC == ISD::SETGE)) ||
8891 (N1C->isAllOnesValue() && CC == ISD::SETGT)) &&
8894 else if (((N1C->isNullValue() && (CC == ISD::SETLT || CC == ISD::SETLE)) ||
8895 (N1C->isOne() && CC == ISD::SETLT)) &&