Searched refs:RHSInt (Results 1 – 3 of 3) sorted by relevance
1324 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem() local1326 if (RHSInt->isZero()) in urem()1330 return {LHSInt->urem(*RHSInt)}; in urem()1346 if (const APInt *RHSInt = RHS.getSingleElement()) { in srem() local1348 if (RHSInt->isZero()) in srem()1352 return {LHSInt->srem(*RHSInt)}; in srem()
6573 Constant *RHSInt = LHSUnsigned in foldFCmpIntToFPConst() local6578 ? ConstantExpr::getUIToFP(RHSInt, RHSC->getType()) == RHSC in foldFCmpIntToFPConst()6579 : ConstantExpr::getSIToFP(RHSInt, RHSC->getType()) == RHSC; in foldFCmpIntToFPConst()6646 return new ICmpInst(Pred, LHSI->getOperand(0), RHSInt); in foldFCmpIntToFPConst()
13282 const auto *RHSInt = dyn_cast<IntegerLiteral>(XorRHS.get()); in diagnoseXorMisusedAsPow() local13286 if (!RHSInt) { in diagnoseXorMisusedAsPow()13292 RHSInt = dyn_cast<IntegerLiteral>(UO->getSubExpr()); in diagnoseXorMisusedAsPow()13293 if (!RHSInt) in diagnoseXorMisusedAsPow()13303 llvm::APInt RightSideValue = RHSInt->getValue(); in diagnoseXorMisusedAsPow()13311 LHSInt->getBeginLoc(), S.getLocForEndOfToken(RHSInt->getLocation())); in diagnoseXorMisusedAsPow()13327 CharSourceRange::getTokenRange(RHSInt->getSourceRange()), in diagnoseXorMisusedAsPow()