Home
last modified time | relevance | path

Searched refs:RHSCst (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp94 auto RHSCst = getIConstantVRegValWithLookThrough(PtrAddRHS, MRI); in getPointerInfo() local
95 if (RHSCst) in getPointerInfo()
96 Info.setOffset(RHSCst->Value.getSExtValue()); in getPointerInfo()
H A DCombinerHelper.cpp2349 if (auto RHSCst = getIConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P() local
2355 NewCst += RHSCst->sextOrTrunc(DstTy.getSizeInBits()); in matchCombineConstPtrAddToI2P()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp885 auto RHSCst = getIConstantVRegValWithLookThrough(RHS, MRI); in trySwapICmpOperands() local
886 if (RHSCst && isLegalArithImmed(RHSCst->Value.getSExtValue())) in trySwapICmpOperands()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3602 if (const SCEVConstant *RHSCst = dyn_cast<SCEVConstant>(RHS)) { in getUDivExactExpr() local
3606 if (LHSCst == RHSCst) { in getUDivExactExpr()
3614 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()
3618 RHSCst = in getUDivExactExpr()
3619 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()
3624 RHS = RHSCst; in getUDivExactExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp395 if (auto *RHSCst = dyn_cast<ConstantSDNode>(RHS)) in matchBinaryPredicate() local
396 return Match(LHSCst, RHSCst); in matchBinaryPredicate()
411 auto *RHSCst = dyn_cast<ConstantSDNode>(RHSOp); in matchBinaryPredicate() local
412 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate()
417 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()