Home
last modified time | relevance | path

Searched refs:ToWidth (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp91 unsigned ToWidth = Ctx.getTypeInfo(ToPointeeTy).Width; in VisitCastExpr() local
93 if (ToWidth <= OrigWidth) in VisitCastExpr()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DSMTAPI.h386 virtual SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) = 0;
390 virtual SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) = 0;
/llvm-project-15.0.7/llvm/lib/Support/
H A DZ3Solver.cpp709 SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) override { in mkFPtoSBV() argument
713 toZ3Expr(*From).AST, ToWidth))); in mkFPtoSBV()
716 SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) override { in mkFPtoUBV() argument
720 toZ3Expr(*From).AST, ToWidth))); in mkFPtoUBV()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h315 uint64_t ToWidth, QualType FromTy, in castAPSInt() argument
317 APSIntType TargetType(ToWidth, !ToTy->isSignedIntegerOrEnumerationType()); in castAPSInt()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp232 unsigned ToWidth) const { in shouldChangeType()
234 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
238 if (ToWidth < FromWidth && isDesirableIntType(ToWidth)) in shouldChangeType()
248 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()
266 unsigned ToWidth = To->getPrimitiveSizeInBits(); in shouldChangeType() local
267 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOverload.cpp428 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() local
430 if (FromWidth > ToWidth || in getNarrowingKind()
431 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()
447 if (FromWidth < ToWidth) { in getNarrowingKind()
459 ConvertedValue = ConvertedValue.trunc(ToWidth); in getNarrowingKind()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp5997 uint64_t ToWidth = Type->getIntegerBitWidth(); in pushCast() local
5999 uint64_t CastOps[] = {dwarf::DW_OP_LLVM_convert, ToWidth, in pushCast()