Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp2106 if (auto RHSCst = getIConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P() local
2112 NewCst += RHSCst->sextOrTrunc(DstTy.getSizeInBits()); in matchCombineConstPtrAddToI2P()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp859 auto RHSCst = getIConstantVRegValWithLookThrough(RHS, MRI); in trySwapICmpOperands() local
860 if (RHSCst && isLegalArithImmed(RHSCst->Value.getSExtValue())) in trySwapICmpOperands()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolution.cpp3609 if (const SCEVConstant *RHSCst = dyn_cast<SCEVConstant>(RHS)) { in getUDivExactExpr() local
3613 if (LHSCst == RHSCst) { in getUDivExactExpr()
3621 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr()
3625 RHSCst = in getUDivExactExpr()
3626 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()
3631 RHS = RHSCst; in getUDivExactExpr()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp382 if (auto *RHSCst = dyn_cast<ConstantSDNode>(RHS)) in matchBinaryPredicate() local
383 return Match(LHSCst, RHSCst); in matchBinaryPredicate()
398 auto *RHSCst = dyn_cast<ConstantSDNode>(RHSOp); in matchBinaryPredicate() local
399 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate()
404 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()