Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp91 unsigned ToWidth = Ctx.getTypeInfo(ToPointeeTy).Width; in VisitCastExpr() local
93 if (ToWidth <= OrigWidth) in VisitCastExpr()
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DZ3Solver.cpp707 SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) override { in mkFPtoSBV() argument
711 toZ3Expr(*From).AST, ToWidth))); in mkFPtoSBV()
714 SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) override { in mkFPtoUBV() argument
718 toZ3Expr(*From).AST, ToWidth))); in mkFPtoUBV()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp215 unsigned ToWidth) const { in shouldChangeType()
217 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
221 if (ToWidth < FromWidth && (ToWidth == 8 || ToWidth == 16 || ToWidth == 32)) in shouldChangeType()
231 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()
249 unsigned ToWidth = To->getPrimitiveSizeInBits(); in shouldChangeType() local
250 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOverload.cpp429 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() local
431 if (FromWidth > ToWidth || in getNarrowingKind()
432 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()
448 if (FromWidth < ToWidth) { in getNarrowingKind()
460 ConvertedValue = ConvertedValue.trunc(ToWidth); in getNarrowingKind()