Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp877 if (!LHSC || !RHSC || !LHSC->isZero() || !RHSC->isZero()) in foldAndOrOfICmpsOfAndWithPow2()
1071 if (!LHSC || !RHSC) in foldAndOfICmps()
1074 if (LHSC == RHSC && PredL == PredR) { in foldAndOfICmps()
1098 BigC = LHSC; in foldAndOfICmps()
1101 SmallC = LHSC; in foldAndOfICmps()
1147 std::swap(LHSC, RHSC); in foldAndOfICmps()
1987 LHSC->getType() == RHSC->getType() && in foldOrOfICmps()
2053 if (PredL == ICmpInst::ICMP_EQ && LHSC && LHSC->isZero()) { in foldOrOfICmps()
2087 if (!LHSC || !RHSC) in foldOrOfICmps()
2090 if (LHSC == RHSC && PredL == PredR) { in foldOrOfICmps()
[all …]
H A DInstCombineCompares.cpp4394 const APInt *LHSC; in foldICmpUsingKnownBits() local
4395 if (!match(Op0, m_And(m_Value(LHS), m_APInt(LHSC))) || in foldICmpUsingKnownBits()
4396 *LHSC != Op0KnownZeroInverted) in foldICmpUsingKnownBits()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp2392 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt()); in getAddExpr()
2395 LHSC = cast<SCEVConstant>(Ops[0]); in getAddExpr()
2399 if (LHSC->getValue()->isZero()) { in getAddExpr()
2904 return getAddExpr(getMulExpr(LHSC, Add->getOperand(0), in getMulExpr()
2906 getMulExpr(LHSC, Add->getOperand(1), in getMulExpr()
2918 LHSC = cast<SCEVConstant>(Ops[0]); in getMulExpr()
3257 Constant *LHSCV = LHSC->getValue(); in getUDivExpr()
3528 LHSC = cast<SCEVConstant>(Ops[0]); in getSMaxExpr()
3630 LHSC = cast<SCEVConstant>(Ops[0]); in getUMaxExpr()
8830 if (const SCEVConstant *LHSC = dyn_cast<SCEVConstant>(LHS)) { in SimplifyICmpOperands() local
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp864 if (auto *LHSC = dyn_cast<Constant>(LHS)) { in optimizeMemCmp() local
865 LHSC = ConstantExpr::getBitCast(LHSC, IntType->getPointerTo()); in optimizeMemCmp()
866 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmp()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp5778 const Type *LHSC = getCanonicalType(LHS).getTypePtr(); in getIntegerTypeOrder() local
5782 if (const auto *ET = dyn_cast<EnumType>(LHSC)) in getIntegerTypeOrder()
5783 LHSC = getIntegerTypeForEnum(ET); in getIntegerTypeOrder()
5787 if (LHSC == RHSC) return 0; in getIntegerTypeOrder()
5789 bool LHSUnsigned = LHSC->isUnsignedIntegerType(); in getIntegerTypeOrder()
5792 unsigned LHSRank = getIntegerRank(LHSC); in getIntegerTypeOrder()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4853 if (ConstantFPSDNode *LHSC = dyn_cast<ConstantFPSDNode>(LHS)) { in expandPow() local
4855 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()