Searched refs:RHSInt (Results 1 – 3 of 3) sorted by relevance
1327 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem() local1329 if (RHSInt->isZero()) in urem()1333 return {LHSInt->urem(*RHSInt)}; in urem()1349 if (const APInt *RHSInt = RHS.getSingleElement()) { in srem() local1351 if (RHSInt->isZero()) in srem()1355 return {LHSInt->srem(*RHSInt)}; in srem()
6543 Constant *RHSInt = LHSUnsigned in foldFCmpIntToFPConst() local6548 ? ConstantExpr::getUIToFP(RHSInt, RHSC->getType()) == RHSC in foldFCmpIntToFPConst()6549 : ConstantExpr::getSIToFP(RHSInt, RHSC->getType()) == RHSC; in foldFCmpIntToFPConst()6616 return new ICmpInst(Pred, LHSI->getOperand(0), RHSInt); in foldFCmpIntToFPConst()
13001 const auto *RHSInt = dyn_cast<IntegerLiteral>(XorRHS.get()); in diagnoseXorMisusedAsPow() local13005 if (!RHSInt) { in diagnoseXorMisusedAsPow()13011 RHSInt = dyn_cast<IntegerLiteral>(UO->getSubExpr()); in diagnoseXorMisusedAsPow()13012 if (!RHSInt) in diagnoseXorMisusedAsPow()13022 llvm::APInt RightSideValue = RHSInt->getValue(); in diagnoseXorMisusedAsPow()13030 LHSInt->getBeginLoc(), S.getLocForEndOfToken(RHSInt->getLocation())); in diagnoseXorMisusedAsPow()13046 CharSourceRange::getTokenRange(RHSInt->getSourceRange()), in diagnoseXorMisusedAsPow()