Home
last modified time | relevance | path

Searched refs:LHSC (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2540 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 …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3160 const APInt *LHSC = nullptr, *RHSC = nullptr; in foldAndOrOfICmps() local
3161 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()
H A DInstCombineCompares.cpp6255 const APInt *LHSC; in foldICmpUsingKnownBits() local
6256 if (!match(Op0, m_And(m_Value(LHS), m_APInt(LHSC))) || in foldICmpUsingKnownBits()
6257 *LHSC != Op0KnownZeroInverted) in foldICmpUsingKnownBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp179 const ConstantInt *LHSC = cast<ConstantInt>(LHS); in getSortedConstantKeys() local
182 return LHSC->getLimitedValue() < RHSC->getLimitedValue(); in getSortedConstantKeys()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp7227 const Type *LHSC = getCanonicalType(LHS).getTypePtr(); in getIntegerTypeOrder() local
7231 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1550 if (auto *LHSC = dyn_cast<Constant>(LHS)) in optimizeMemCmpConstantSize() local
1551 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp9999 const APInt &LHSC = LHS->getAPIntValue(); in visitSHL() local
10001 return LHSC.ult(OpSizeInBits) && RHSC.ult(OpSizeInBits) && in visitSHL()
10002 LHSC.getZExtValue() <= RHSC.getZExtValue(); in visitSHL()
10598 const APInt &LHSC = LHS->getAPIntValue(); in visitSRL() local
10600 return LHSC.ult(OpSizeInBits) && RHSC.ult(OpSizeInBits) && in visitSRL()
10601 LHSC.getZExtValue() <= RHSC.getZExtValue(); in visitSRL()
H A DSelectionDAGBuilder.cpp5572 if (ConstantFPSDNode *LHSC = dyn_cast<ConstantFPSDNode>(LHS)) { in expandPow() local
5574 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp54009 auto *LHSC = dyn_cast<ConstantSDNode>(LHS); in combineADC() local
54013 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()