Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:CC

251                              SDValue N3, ISD::CondCode CC,
532 // Also, set the incoming LHS, RHS, and CC references to the appropriate
536 SDValue &CC) {
540 CC = N.getOperand(2);
550 CC = N.getOperand(4);
3277 SDValue LHS, RHS, CC;
3310 // fold !(x cc y) -> (x !cc y)
3311 if (N1C && N1C->getAPIntValue() == 1 && isSetCCEquivalent(N0, LHS, RHS, CC)) {
3313 ISD::CondCode NotCC = ISD::getSetCCInverse(cast<CondCodeSDNode>(CC)->get(),
3332 isSetCCEquivalent(N0.getOperand(0), LHS, RHS, CC)){
4073 ISD::CondCode CC = cast<CondCodeSDNode>(N4)->get();
4075 // fold select_cc lhs, rhs, x, x, cc -> x
4081 N0, N1, CC, N->getDebugLoc(), false);
4102 return SimplifySelectCC(N->getDebugLoc(), N0, N1, N2, N3, CC);
4131 ISD::CondCode CC = cast<CondCodeSDNode>(User->getOperand(2))->get();
4132 if (ExtOpc == ISD::ZERO_EXTEND && ISD::isSignedIntSetCC(CC))
4392 // sext(setcc x, y, cc) -> (select_cc x, y, -1, 0, cc)
4688 // zext(setcc x,y,cc) -> select_cc x, y, 1, 0, cc
4868 // aext(setcc x,y,cc) -> select_cc x, y, 1, 0, cc
6257 CondCodeSDNode *CC = cast<CondCodeSDNode>(N->getOperand(1));
6268 CondLHS, CondRHS, CC->get(), N->getDebugLoc(),
8197 /// where 'cond' is the comparison specified by CC.
8200 ISD::CondCode CC, bool NotExtCompare) {
8211 N0, N1, CC, DL, false);
8227 if ((CC == ISD::SETGE || CC == ISD::SETGT) &&
8233 if ((CC == ISD::SETLT || CC == ISD::SETLE) &&
8277 N0, N1, CC);
8294 if (N1C && N3C && N3C->isNullValue() && CC == ISD::SETLT &&
8340 if (CC == ISD::SETEQ && N0->getOpcode() == ISD::AND &&
8382 N0, N1, CC);
8389 SCC = DAG.getSetCC(N0.getDebugLoc(), MVT::i1, N0, N1, CC);
8413 SDValue Res = DAG.getSetCC(DL, TLI.getSetCCResultType(XType), N0, N1, CC);
8420 if (N1C && N1C->isNullValue() && CC == ISD::SETEQ &&
8429 if (N1C && N1C->isNullValue() && CC == ISD::SETGT) {
8439 if (N1C && N1C->isAllOnesValue() && CC == ISD::SETGT) {
8455 if (((N1C->isNullValue() && (CC == ISD::SETGT || CC == ISD::SETGE)) ||
8456 (N1C->isAllOnesValue() && CC == ISD::SETGT)) &&
8459 else if (((N1C->isNullValue() && (CC == ISD::SETLT || CC == ISD::SETLE)) ||
8460 (N1C->isOne() && CC == ISD::SETLT)) &&