Lines Matching refs:CCVal

6501       ISD::CondCode CCVal = cast<CondCodeSDNode>(Op.getOperand(2))->get();  in LowerOperation()  local
6502 assert((CCVal == ISD::SETGT || CCVal == ISD::SETUGT) && in LowerOperation()
6516 if (CCVal == ISD::SETUGT && Imm == -1) in LowerOperation()
6519 CCVal = ISD::getSetCCSwappedOperands(CCVal); in LowerOperation()
6521 DL, VT, LHS, DAG.getConstant(Imm + 1, DL, OpVT), CCVal); in LowerOperation()
6528 CCVal = ISD::getSetCCSwappedOperands(CCVal); in LowerOperation()
6529 return DAG.getSetCC(DL, VT, RHS, LHS, CCVal); in LowerOperation()
7286 ISD::CondCode CCVal = cast<CondCodeSDNode>(CondV.getOperand(2))->get(); in lowerSELECT() local
7296 CCVal == ISD::SETLT) { in lowerSELECT()
7305 translateSetCCForBranch(DL, LHS, RHS, CCVal, DAG); in lowerSELECT()
7307 if (isOneConstant(LHS) && (CCVal == ISD::SETLT || CCVal == ISD::SETULT) && in lowerSELECT()
7311 if (CCVal == ISD::SETULT) { in lowerSELECT()
7313 CCVal = ISD::SETNE; in lowerSELECT()
7318 if (isAllOnesConstant(RHS) && CCVal == ISD::SETLT && LHS == TrueV && in lowerSELECT()
7323 SDValue TargetCC = DAG.getCondCode(CCVal); in lowerSELECT()
7329 TargetCC = DAG.getCondCode(ISD::getSetCCInverse(CCVal, LHS.getValueType())); in lowerSELECT()
7345 ISD::CondCode CCVal = cast<CondCodeSDNode>(CondV.getOperand(2))->get(); in lowerBRCOND() local
7347 translateSetCCForBranch(DL, LHS, RHS, CCVal, DAG); in lowerBRCOND()
7349 SDValue TargetCC = DAG.getCondCode(CCVal); in lowerBRCOND()
10239 ISD::CondCode CCVal = cast<CondCodeSDNode>(CC)->get(); in lowerVectorStrictFSetcc() local
10249 if (CCVal == ISD::SETEQ || CCVal == ISD::SETOEQ) { in lowerVectorStrictFSetcc()
10264 if (CCVal == ISD::SETNE || CCVal == ISD::SETUNE) { in lowerVectorStrictFSetcc()
10285 (CCVal == ISD::SETLT || CCVal == ISD::SETOLT || CCVal == ISD::SETLE || in lowerVectorStrictFSetcc()
10286 CCVal == ISD::SETOLE)) { in lowerVectorStrictFSetcc()
12555 ISD::CondCode CCVal = cast<CondCodeSDNode>(N1.getOperand(2))->get(); in combineSubOfBoolean() local
12557 if (!isIntEqualitySetCC(CCVal) || !SetCCOpVT.isInteger()) in combineSubOfBoolean()
12559 CCVal = ISD::getSetCCInverse(CCVal, SetCCOpVT); in combineSubOfBoolean()
12561 DAG.getSetCC(SDLoc(N1), VT, N1.getOperand(0), N1.getOperand(1), CCVal); in combineSubOfBoolean()
12584 ISD::CondCode CCVal = cast<CondCodeSDNode>(N1.getOperand(2))->get(); in performSUBCombine() local
12585 if (CCVal == ISD::SETLT) { in performSUBCombine()
14414 ISD::CondCode CCVal = cast<CondCodeSDNode>(Setcc.getOperand(2))->get(); in tryDemorganOfBooleanCondition() local
14415 if (ISD::isIntEqualitySetCC(CCVal)) { in tryDemorganOfBooleanCondition()
14416 CCVal = ISD::getSetCCInverse(CCVal, SetCCOpVT); in tryDemorganOfBooleanCondition()
14418 Setcc.getOperand(1), CCVal); in tryDemorganOfBooleanCondition()
14419 } else if (CCVal == ISD::SETLT && isNullConstant(Setcc.getOperand(0))) { in tryDemorganOfBooleanCondition()
14422 DAG.getConstant(1, SDLoc(Setcc), VT), CCVal); in tryDemorganOfBooleanCondition()
14423 } else if (CCVal == ISD::SETLT && isOneConstant(Setcc.getOperand(1))) { in tryDemorganOfBooleanCondition()
14427 Setcc.getOperand(0), CCVal); in tryDemorganOfBooleanCondition()
14438 ISD::CondCode CCVal = cast<CondCodeSDNode>(CC)->get(); in combine_CC() local
14444 if (isNullConstant(RHS) && (CCVal == ISD::SETGE || CCVal == ISD::SETLT) && in combine_CC()
14450 if (!ISD::isIntEqualitySetCC(CCVal)) in combine_CC()
14459 bool Invert = CCVal == ISD::SETEQ; in combine_CC()
14460 CCVal = cast<CondCodeSDNode>(LHS.getOperand(2))->get(); in combine_CC()
14462 CCVal = ISD::getSetCCInverse(CCVal, LHS.getValueType()); in combine_CC()
14466 translateSetCCForBranch(DL, LHS, RHS, CCVal, DAG); in combine_CC()
14468 CC = DAG.getCondCode(CCVal); in combine_CC()
14488 CCVal = CCVal == ISD::SETEQ ? ISD::SETGE : ISD::SETLT; in combine_CC()
14489 CC = DAG.getCondCode(CCVal); in combine_CC()
14506 CCVal = ISD::getSetCCInverse(CCVal, LHS.getValueType()); in combine_CC()
14507 CC = DAG.getCondCode(CCVal); in combine_CC()
14514 CCVal = ISD::getSetCCInverse(CCVal, LHS.getValueType()); in combine_CC()
14515 CC = DAG.getCondCode(CCVal); in combine_CC()
14593 ISD::CondCode CCVal = cast<CondCodeSDNode>(Cond->getOperand(2))->get(); in foldSelectOfCTTZOrCTLZ() local
14594 if (CCVal == ISD::CondCode::SETEQ) { in foldSelectOfCTTZOrCTLZ()
14597 } else if (CCVal == ISD::CondCode::SETNE) { in foldSelectOfCTTZOrCTLZ()
15399 ISD::CondCode CCVal = cast<CondCodeSDNode>(CC)->get(); in PerformDAGCombine() local
15413 (CCVal == ISD::CondCode::SETLT || CCVal == ISD::CondCode::SETGE)) { in PerformDAGCombine()
15414 if (CCVal == ISD::CondCode::SETGE) in PerformDAGCombine()
15432 if (CCVal == ISD::CondCode::SETGE) in PerformDAGCombine()
15443 SDValue C = DAG.getSetCC(DL, VT, LHS, RHS, CCVal); in PerformDAGCombine()
15450 DAG.getSetCC(DL, VT, LHS, RHS, ISD::getSetCCInverse(CCVal, VT)); in PerformDAGCombine()
15458 DAG.getSetCC(DL, VT, LHS, RHS, ISD::getSetCCInverse(CCVal, VT)); in PerformDAGCombine()
15464 SDValue C = DAG.getSetCC(DL, VT, LHS, RHS, CCVal); in PerformDAGCombine()
15471 CCVal == ISD::CondCode::SETNE) || in PerformDAGCombine()
15473 CCVal == ISD::CondCode::SETEQ)) && in PerformDAGCombine()