Home
last modified time | relevance | path

Searched refs:RHSInt (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1436 if (const APInt *RHSInt = RHS.getSingleElement()) { in urem() local
1438 if (RHSInt->isZero()) in urem()
1442 return {LHSInt->urem(*RHSInt)}; in urem()
1458 if (const APInt *RHSInt = RHS.getSingleElement()) { in srem() local
1460 if (RHSInt->isZero()) in srem()
1464 return {LHSInt->srem(*RHSInt)}; in srem()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp12699 const auto *RHSInt = dyn_cast<IntegerLiteral>(XorRHS.get()); in diagnoseXorMisusedAsPow() local
12703 if (!RHSInt) { in diagnoseXorMisusedAsPow()
12709 RHSInt = dyn_cast<IntegerLiteral>(UO->getSubExpr()); in diagnoseXorMisusedAsPow()
12710 if (!RHSInt) in diagnoseXorMisusedAsPow()
12720 llvm::APInt RightSideValue = RHSInt->getValue(); in diagnoseXorMisusedAsPow()
12728 LHSInt->getBeginLoc(), S.getLocForEndOfToken(RHSInt->getLocation())); in diagnoseXorMisusedAsPow()
12744 CharSourceRange::getTokenRange(RHSInt->getSourceRange()), in diagnoseXorMisusedAsPow()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7764 APSInt RHSInt(IntWidth, LHSUnsigned); in foldFCmpIntToFPConst() local
7766 RHS->convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()
7835 ConstantInt::get(LHSI->getOperand(0)->getType(), RHSInt)); in foldFCmpIntToFPConst()