Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp92 unsigned ToWidth = Ctx.getTypeInfo(ToPointeeTy).Width; in VisitCastExpr() local
94 if (ToWidth <= OrigWidth) in VisitCastExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTSolver.h241 virtual SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) = 0;
245 virtual SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) = 0;
H A DSMTConv.h312 uint64_t ToWidth, QualType FromTy, in castAPSInt() argument
314 APSIntType TargetType(ToWidth, !ToTy->isSignedIntegerOrEnumerationType()); in castAPSInt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DZ3ConstraintManager.cpp631 SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) override { in mkFPtoSBV() argument
635 toZ3Expr(*From).AST, ToWidth))); in mkFPtoSBV()
638 SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) override { in mkFPtoUBV() argument
642 toZ3Expr(*From).AST, ToWidth))); in mkFPtoUBV()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp158 unsigned ToWidth) const { in shouldChangeType()
160 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
164 if (ToWidth < FromWidth && (ToWidth == 8 || ToWidth == 16 || ToWidth == 32)) in shouldChangeType()
174 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()
192 unsigned ToWidth = To->getPrimitiveSizeInBits(); in shouldChangeType() local
193 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOverload.cpp413 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() local
415 if (FromWidth > ToWidth || in getNarrowingKind()
416 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()
431 if (FromWidth < ToWidth) { in getNarrowingKind()
443 ConvertedValue = ConvertedValue.trunc(ToWidth); in getNarrowingKind()