Home
last modified time | relevance | path

Searched refs:LHSInt (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/IR/
H A DConstantRange.cpp1332 if (const APInt *LHSInt = getSingleElement()) in urem() local
1333 return {LHSInt->urem(*RHSInt)}; in urem()
1354 if (const APInt *LHSInt = getSingleElement()) in srem() local
1355 return {LHSInt->srem(*RHSInt)}; in srem()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp13000 const auto *LHSInt = dyn_cast<IntegerLiteral>(XorLHS.get()); in diagnoseXorMisusedAsPow() local
13003 if (!LHSInt) in diagnoseXorMisusedAsPow()
13021 const llvm::APInt &LeftSideValue = LHSInt->getValue(); in diagnoseXorMisusedAsPow()
13030 LHSInt->getBeginLoc(), S.getLocForEndOfToken(RHSInt->getLocation())); in diagnoseXorMisusedAsPow()
13043 CharSourceRange::getTokenRange(LHSInt->getSourceRange()), in diagnoseXorMisusedAsPow()