Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp92 auto RHSCst = getIConstantVRegValWithLookThrough(PtrAddRHS, MRI); in getPointerInfo() local
93 if (RHSCst) in getPointerInfo()
94 Info.Offset = RHSCst->Value.getSExtValue(); in getPointerInfo()
H A DCombinerHelper.cpp2087 if (auto RHSCst = getIConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P() local
2093 NewCst += RHSCst->sextOrTrunc(DstTy.getSizeInBits()); in matchCombineConstPtrAddToI2P()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp817 auto RHSCst = getIConstantVRegValWithLookThrough(RHS, MRI); in trySwapICmpOperands() local
818 if (RHSCst && isLegalArithImmed(RHSCst->Value.getSExtValue())) in trySwapICmpOperands()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp3530 if (const SCEVConstant *RHSCst = dyn_cast<SCEVConstant>(RHS)) { in getUDivExactExpr() local
3534 if (LHSCst == RHSCst) { in getUDivExactExpr()
3542 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()
3546 RHSCst = in getUDivExactExpr()
3547 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()
3552 RHS = RHSCst; in getUDivExactExpr()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp339 if (auto *RHSCst = dyn_cast<ConstantSDNode>(RHS)) in matchBinaryPredicate() local
340 return Match(LHSCst, RHSCst); in matchBinaryPredicate()
355 auto *RHSCst = dyn_cast<ConstantSDNode>(RHSOp); in matchBinaryPredicate() local
356 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate()
361 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()