Searched refs:LHSC (Results 1 – 9 of 9) sorted by relevance
2540 LHSC = cast<SCEVConstant>(Ops[0]); in getAddExpr()2544 if (LHSC->getValue()->isZero()) { in getAddExpr()3133 LHSC = cast<SCEVConstant>(Ops[0]); in getMulExpr()3137 if (LHSC->getValue()->isZero()) in getMulExpr()3138 return LHSC; in getMulExpr()3141 if (LHSC->getValue()->isOne()) { in getMulExpr()3437 if (LHSC->getValue()->isZero()) in getUDivExpr()3884 LHSC = cast<SCEVConstant>(Ops[0]); in getMinMaxExpr()3887 bool IsMinV = LHSC->getValue()->isMinValue(IsSigned); in getMinMaxExpr()3897 return LHSC; in getMinMaxExpr()[all …]
3160 const APInt *LHSC = nullptr, *RHSC = nullptr; in foldAndOrOfICmps() local3161 match(LHS1, m_APInt(LHSC)); in foldAndOrOfICmps()3266 if (!LHSC || !RHSC) in foldAndOrOfICmps()3283 BigC = LHSC; in foldAndOrOfICmps()3286 SmallC = LHSC; in foldAndOrOfICmps()3311 if (isSignBitCheck(PredL, *LHSC, TrueIfSignedL) && in foldAndOrOfICmps()
6255 const APInt *LHSC; in foldICmpUsingKnownBits() local6256 if (!match(Op0, m_And(m_Value(LHS), m_APInt(LHSC))) || in foldICmpUsingKnownBits()6257 *LHSC != Op0KnownZeroInverted) in foldICmpUsingKnownBits()
179 const ConstantInt *LHSC = cast<ConstantInt>(LHS); in getSortedConstantKeys() local182 return LHSC->getLimitedValue() < RHSC->getLimitedValue(); in getSortedConstantKeys()
7227 const Type *LHSC = getCanonicalType(LHS).getTypePtr(); in getIntegerTypeOrder() local7231 if (const auto *ET = dyn_cast<EnumType>(LHSC)) in getIntegerTypeOrder()7232 LHSC = getIntegerTypeForEnum(ET); in getIntegerTypeOrder()7236 if (LHSC == RHSC) return 0; in getIntegerTypeOrder()7238 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()7241 unsigned LHSRank = getIntegerRank(LHSC); in getIntegerTypeOrder()
1550 if (auto *LHSC = dyn_cast<Constant>(LHS)) in optimizeMemCmpConstantSize() local1551 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
9999 const APInt &LHSC = LHS->getAPIntValue(); in visitSHL() local10001 return LHSC.ult(OpSizeInBits) && RHSC.ult(OpSizeInBits) && in visitSHL()10002 LHSC.getZExtValue() <= RHSC.getZExtValue(); in visitSHL()10598 const APInt &LHSC = LHS->getAPIntValue(); in visitSRL() local10600 return LHSC.ult(OpSizeInBits) && RHSC.ult(OpSizeInBits) && in visitSRL()10601 LHSC.getZExtValue() <= RHSC.getZExtValue(); in visitSRL()
5572 if (ConstantFPSDNode *LHSC = dyn_cast<ConstantFPSDNode>(LHS)) { in expandPow() local5574 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()
54009 auto *LHSC = dyn_cast<ConstantSDNode>(LHS); in combineADC() local54013 if (LHSC && !RHSC) in combineADC()54020 if (LHSC && RHSC && LHSC->isZero() && RHSC->isZero() && in combineADC()54038 if (LHSC && RHSC && !LHSC->isZero() && !N->hasAnyUseOfValue(1)) { in combineADC()54040 APInt Sum = LHSC->getAPIntValue() + RHSC->getAPIntValue(); in combineADC()