Home
last modified time | relevance | path

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

/llvm-project/clang/unittests/AST/
H A DTypePrinterTest.cpp208 auto *LHSInt = IntegerLiteral::Create(Ctx, llvm::APInt(numBits, LHS), in TEST() local
213 Ctx, LHSInt, RHSInt, BinaryOperatorKind::BO_Add, Ctx.UnsignedIntTy, in TEST()
/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1455 if (const APInt *LHSInt = getSingleElement()) in srem()
1456 return {LHSInt->urem(*RHSInt)}; in srem()
1477 if (const APInt *LHSInt = getSingleElement()) in srem()
1478 return {LHSInt->srem(*RHSInt)}; in srem()
1441 if (const APInt *LHSInt = getSingleElement()) urem() local
1463 if (const APInt *LHSInt = getSingleElement()) srem() local
/llvm-project/clang/lib/AST/Interp/
H A DInterp.h
/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp12878 const auto *LHSInt = dyn_cast<IntegerLiteral>(XorLHS.get()); in CheckBitwiseOperands()
12881 if (!LHSInt) in CheckBitwiseOperands()
12899 const llvm::APInt &LeftSideValue = LHSInt->getValue(); in CheckBitwiseOperands()
12908 LHSInt->getBeginLoc(), S.getLocForEndOfToken(RHSInt->getLocation())); in CheckBitwiseOperands()
12921 CharSourceRange::getTokenRange(LHSInt->getSourceRange()), in CheckBitwiseOperands()
12646 const auto *LHSInt = dyn_cast<IntegerLiteral>(XorLHS.get()); diagnoseXorMisusedAsPow() local