Home
last modified time | relevance | path

Searched refs:CompareLHS (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp6182 auto *CompareLHS = ICmp->getOperand(0).getNode(); in combineCCMask() local
6188 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 …]
/external/clang/lib/AST/
DExprConstant.cpp7770 uint64_t CompareLHS = LHSOffset.getQuantity(); in VisitBinaryOperator() local
7774 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()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp6464 auto *CompareLHS = ICmp->getOperand(0).getNode(); in combineCCMask() local
6470 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 …]
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp12720 uint64_t CompareLHS = LHSOffset.getQuantity(); in EvaluateComparisonBinaryOperator() local
12724 CompareLHS &= Mask; in EvaluateComparisonBinaryOperator()
12736 if (CompareLHS > OffsetLimit || CompareRHS > OffsetLimit) in EvaluateComparisonBinaryOperator()
12740 if (CompareLHS < CompareRHS) in EvaluateComparisonBinaryOperator()
12742 if (CompareLHS > CompareRHS) in EvaluateComparisonBinaryOperator()