Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5367 const auto LHSCst = Ty.isVector() in matchFsubToFneg() local
5370 if (!LHSCst) in matchFsubToFneg()
5374 if (LHSCst->Value.isNegZero()) in matchFsubToFneg()
5378 if (LHSCst->Value.isPosZero()) in matchFsubToFneg()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3605 if (const auto *LHSCst = dyn_cast<SCEVConstant>(Mul->getOperand(0))) { in getUDivExactExpr() local
3606 if (LHSCst == RHSCst) { in getUDivExactExpr()
3614 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()
3616 LHSCst = in getUDivExactExpr()
3617 cast<SCEVConstant>(getConstant(LHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()
3621 Operands.push_back(LHSCst); in getUDivExactExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp394 if (auto *LHSCst = dyn_cast<ConstantSDNode>(LHS)) in matchBinaryPredicate() local
396 return Match(LHSCst, RHSCst); in matchBinaryPredicate()
410 auto *LHSCst = dyn_cast<ConstantSDNode>(LHSOp); in matchBinaryPredicate() local
412 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate()
417 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()