Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolution.cpp3305 if (const auto *LHSCst = dyn_cast<SCEVConstant>(Mul->getOperand(0))) { in getUDivExactExpr() local
3306 if (LHSCst == RHSCst) { in getUDivExactExpr()
3314 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()
3316 LHSCst = in getUDivExactExpr()
3317 cast<SCEVConstant>(getConstant(LHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()
3321 Operands.push_back(LHSCst); in getUDivExactExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp340 if (auto *LHSCst = dyn_cast<ConstantSDNode>(LHS)) in matchBinaryPredicate() local
342 return Match(LHSCst, RHSCst); in matchBinaryPredicate()
355 auto *LHSCst = dyn_cast<ConstantSDNode>(LHSOp); in matchBinaryPredicate() local
357 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate()
362 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()