Searched refs:RHSCst (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelperCompares.cpp | 31 const GIConstant &RHSCst, in constantFoldICmp() argument 44 APInt RHS = RHSCst.getScalarValue(); in constantFoldICmp() 62 const GFConstant &RHSCst, in constantFoldFCmp() argument 75 APFloat RHS = RHSCst.getScalarValue(); in constantFoldFCmp()
|
| H A D | Utils.cpp | 1046 auto RHSCst = getIConstantVRegVal(RHS, MRI); in ConstantFoldICmp() local 1047 if (!RHSCst) in ConstantFoldICmp() 1055 return GetICmpResultCst(LHSCst->eq(*RHSCst)); in ConstantFoldICmp() 1057 return GetICmpResultCst(LHSCst->ne(*RHSCst)); in ConstantFoldICmp() 1059 return GetICmpResultCst(LHSCst->ugt(*RHSCst)); in ConstantFoldICmp() 1061 return GetICmpResultCst(LHSCst->uge(*RHSCst)); in ConstantFoldICmp() 1063 return GetICmpResultCst(LHSCst->ult(*RHSCst)); in ConstantFoldICmp() 1065 return GetICmpResultCst(LHSCst->ule(*RHSCst)); in ConstantFoldICmp() 1067 return GetICmpResultCst(LHSCst->sgt(*RHSCst)); in ConstantFoldICmp() 1069 return GetICmpResultCst(LHSCst->sge(*RHSCst)); in ConstantFoldICmp() [all …]
|
| H A D | LoadStoreOpt.cpp | 91 auto RHSCst = getIConstantVRegValWithLookThrough(PtrAddRHS, MRI); in getPointerInfo() local 92 if (RHSCst) in getPointerInfo() 93 Info.setOffset(RHSCst->Value.getSExtValue()); in getPointerInfo()
|
| H A D | CombinerHelper.cpp | 2586 if (auto RHSCst = getIConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P() local 2592 NewCst += RHSCst->sextOrTrunc(DstTy.getSizeInBits()); in matchCombineConstPtrAddToI2P()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.h | 1123 const GIConstant &RHSCst, BuildFnTy &MatchInfo) const; 1125 const GFConstant &RHSCst, BuildFnTy &MatchInfo) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64PostLegalizerLowering.cpp | 898 auto RHSCst = getIConstantVRegValWithLookThrough(RHS, MRI); in trySwapICmpOperands() local 899 if (RHSCst && isLegalArithImmed(RHSCst->Value.getSExtValue())) in trySwapICmpOperands()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 3586 if (const SCEVConstant *RHSCst = dyn_cast<SCEVConstant>(RHS)) { in getUDivExactExpr() local 3590 if (LHSCst == RHSCst) { in getUDivExactExpr() 3598 APInt Factor = gcd(LHSCst, RHSCst); in getUDivExactExpr() 3602 RHSCst = in getUDivExactExpr() 3603 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr() 3608 RHS = RHSCst; in getUDivExactExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 394 if (auto *RHSCst = dyn_cast<ConstantSDNode>(RHS)) in matchBinaryPredicate() local 395 return Match(LHSCst, RHSCst); in matchBinaryPredicate() 410 auto *RHSCst = dyn_cast<ConstantSDNode>(RHSOp); in matchBinaryPredicate() local 411 if ((!LHSCst && !LHSUndef) || (!RHSCst && !RHSUndef)) in matchBinaryPredicate() 416 if (!Match(LHSCst, RHSCst)) in matchBinaryPredicate()
|