Searched refs:LHSC (Results 1 – 6 of 6) sorted by relevance
1271 ConstantInt *LHSC, *RHSC; in foldAndOfICmps() local1276 if (LHSC == RHSC && PredL == PredR) { in foldAndOfICmps()1300 BigC = LHSC; in foldAndOfICmps()1303 SmallC = LHSC; in foldAndOfICmps()1349 std::swap(LHSC, RHSC); in foldAndOfICmps()1381 if (LHSC->isMinValue(true)) in foldAndOfICmps()2377 auto *LHSC = dyn_cast<ConstantInt>(LHS1); in foldOrOfICmps() local2514 if (!LHSC || !RHSC) in foldOrOfICmps()2552 std::swap(LHSC, RHSC); in foldOrOfICmps()2576 if (LHSC->isMinValue(false)) in foldOrOfICmps()[all …]
5256 const APInt *LHSC; in foldICmpUsingKnownBits() local5257 if (!match(Op0, m_And(m_Value(LHS), m_APInt(LHSC))) || in foldICmpUsingKnownBits()5258 *LHSC != Op0KnownZeroInverted) in foldICmpUsingKnownBits()
2431 LHSC = cast<SCEVConstant>(Ops[0]); in getAddExpr()2435 if (LHSC->getValue()->isZero()) { in getAddExpr()2999 LHSC = cast<SCEVConstant>(Ops[0]); in getMulExpr()3003 if (LHSC->getValue()->isZero()) in getMulExpr()3004 return LHSC; in getMulExpr()3007 if (LHSC->getValue()->isOne()) { in getMulExpr()3282 if (LHSC->getValue()->isZero()) in getUDivExpr()3404 Constant *LHSCV = LHSC->getValue(); in getUDivExpr()3720 LHSC = cast<SCEVConstant>(Ops[0]); in getMinMaxExpr()3733 return LHSC; in getMinMaxExpr()[all …]
979 if (auto *LHSC = dyn_cast<Constant>(LHS)) { in optimizeMemCmpConstantSize() local980 LHSC = ConstantExpr::getBitCast(LHSC, IntType->getPointerTo()); in optimizeMemCmpConstantSize()981 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
6487 const Type *LHSC = getCanonicalType(LHS).getTypePtr(); in getIntegerTypeOrder() local6491 if (const auto *ET = dyn_cast<EnumType>(LHSC)) in getIntegerTypeOrder()6492 LHSC = getIntegerTypeForEnum(ET); in getIntegerTypeOrder()6496 if (LHSC == RHSC) return 0; in getIntegerTypeOrder()6498 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()6501 unsigned LHSRank = getIntegerRank(LHSC); in getIntegerTypeOrder()
5324 if (ConstantFPSDNode *LHSC = dyn_cast<ConstantFPSDNode>(LHS)) { in expandPow() local5326 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()