Searched refs:CompareLHS (Results 1 – 4 of 4) sorted by relevance
6182 auto *CompareLHS = ICmp->getOperand(0).getNode(); in combineCCMask() local6188 if (CompareLHS->getOpcode() == SystemZISD::SELECT_CCMASK) { in combineCCMask()6197 auto *TrueVal = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(0)); in combineCCMask()6200 auto *FalseVal = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(1)); in combineCCMask()6209 auto *NewCCValid = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(2)); in combineCCMask()6210 auto *NewCCMask = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(3)); in combineCCMask()6219 CCReg = CompareLHS->getOperand(4); in combineCCMask()6224 if (CompareLHS->getOpcode() == ISD::SRA) { in combineCCMask()6225 auto *SRACount = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(1)); in combineCCMask()6228 auto *SHL = CompareLHS->getOperand(0).getNode(); in combineCCMask()[all …]
7770 uint64_t CompareLHS = LHSOffset.getQuantity(); in VisitBinaryOperator() local7774 CompareLHS &= Mask; in VisitBinaryOperator()7786 if (CompareLHS > OffsetLimit || CompareRHS > OffsetLimit) in VisitBinaryOperator()7792 case BO_LT: return Success(CompareLHS < CompareRHS, E); in VisitBinaryOperator()7793 case BO_GT: return Success(CompareLHS > CompareRHS, E); in VisitBinaryOperator()7794 case BO_LE: return Success(CompareLHS <= CompareRHS, E); in VisitBinaryOperator()7795 case BO_GE: return Success(CompareLHS >= CompareRHS, E); in VisitBinaryOperator()7796 case BO_EQ: return Success(CompareLHS == CompareRHS, E); in VisitBinaryOperator()7797 case BO_NE: return Success(CompareLHS != CompareRHS, E); in VisitBinaryOperator()
6464 auto *CompareLHS = ICmp->getOperand(0).getNode(); in combineCCMask() local6470 if (CompareLHS->getOpcode() == SystemZISD::SELECT_CCMASK) { in combineCCMask()6479 auto *TrueVal = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(0)); in combineCCMask()6482 auto *FalseVal = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(1)); in combineCCMask()6491 auto *NewCCValid = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(2)); in combineCCMask()6492 auto *NewCCMask = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(3)); in combineCCMask()6501 CCReg = CompareLHS->getOperand(4); in combineCCMask()6506 if (CompareLHS->getOpcode() == ISD::SRA) { in combineCCMask()6507 auto *SRACount = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(1)); in combineCCMask()6510 auto *SHL = CompareLHS->getOperand(0).getNode(); in combineCCMask()[all …]
12720 uint64_t CompareLHS = LHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator() local12724 CompareLHS &= Mask; in EvaluateComparisonBinaryOperator()12736 if (CompareLHS > OffsetLimit || CompareRHS > OffsetLimit) in EvaluateComparisonBinaryOperator()12740 if (CompareLHS < CompareRHS) in EvaluateComparisonBinaryOperator()12742 if (CompareLHS > CompareRHS) in EvaluateComparisonBinaryOperator()