Home
last modified time | relevance | path

Searched refs:LHSCst (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp3533 if (const auto *LHSCst = dyn_cast<SCEVConstant>(Mul->getOperand(0))) { in getUDivExactExpr() local
3534 if (LHSCst == RHSCst) { in getUDivExactExpr()
3542 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()
3544 LHSCst = in getUDivExactExpr()
3545 cast<SCEVConstant>(getConstant(LHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()
3549 Operands.push_back(LHSCst); in getUDivExactExpr()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp338 if (auto *LHSCst = dyn_cast<ConstantSDNode>(LHS)) in matchBinaryPredicate() local
340 return Match(LHSCst, RHSCst); in matchBinaryPredicate()
354 auto *LHSCst = dyn_cast<ConstantSDNode>(LHSOp); in matchBinaryPredicate() local
356 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate()
361 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()