Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1271 ConstantInt *LHSC, *RHSC; in foldAndOfICmps() local
1276 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() local
2514 if (!LHSC || !RHSC) in foldOrOfICmps()
2552 std::swap(LHSC, RHSC); in foldOrOfICmps()
2576 if (LHSC->isMinValue(false)) in foldOrOfICmps()
[all …]
H A DInstCombineCompares.cpp5256 const APInt *LHSC; in foldICmpUsingKnownBits() local
5257 if (!match(Op0, m_And(m_Value(LHS), m_APInt(LHSC))) || in foldICmpUsingKnownBits()
5258 *LHSC != Op0KnownZeroInverted) in foldICmpUsingKnownBits()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp2431 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 …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp979 if (auto *LHSC = dyn_cast<Constant>(LHS)) { in optimizeMemCmpConstantSize() local
980 LHSC = ConstantExpr::getBitCast(LHSC, IntType->getPointerTo()); in optimizeMemCmpConstantSize()
981 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp6487 const Type *LHSC = getCanonicalType(LHS).getTypePtr(); in getIntegerTypeOrder() local
6491 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp5324 if (ConstantFPSDNode *LHSC = dyn_cast<ConstantFPSDNode>(LHS)) { in expandPow() local
5326 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()