Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp91 unsigned ToWidth = Ctx.getTypeInfo(ToPointeeTy).Width; in VisitCastExpr() local
93 if (ToWidth <= OrigWidth) in VisitCastExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DSMTAPI.h399 virtual SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) = 0;
403 virtual SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) = 0;
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp721 SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) override { in mkFPtoSBV() argument
725 toZ3Expr(*From).AST, ToWidth))); in mkFPtoSBV()
728 SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) override { in mkFPtoUBV() argument
732 toZ3Expr(*From).AST, ToWidth))); in mkFPtoUBV()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp148 unsigned ToWidth) const;
2627 unsigned ToWidth) const in splitVectorElements()
2644 assert(isPowerOf2_32(ToWidth) && isPowerOf2_32(FromWidth)); in splitVectorElements()
2645 assert(ToWidth <= FromWidth && "Breaking up into wider elements?"); in splitVectorElements()
2646 unsigned NumResults = FromWidth / ToWidth; in splitVectorElements()
2696 unsigned ToWidth = ToType->getScalarSizeInBits(); in joinVectorElements() local
2698 assert(Width <= ToWidth); in joinVectorElements()
2699 assert(isPowerOf2_32(Width) && isPowerOf2_32(ToWidth)); in joinVectorElements()
2702 unsigned NeedInputs = ToWidth / Width; in joinVectorElements()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp240 unsigned ToWidth) const { in shouldChangeType()
242 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
246 if (ToWidth < FromWidth && isDesirableIntType(ToWidth)) in shouldChangeType()
256 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()
274 unsigned ToWidth = To->getPrimitiveSizeInBits(); in shouldChangeType() local
275 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp501 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() local
503 if (FromWidth > ToWidth || in getNarrowingKind()
504 (FromWidth == ToWidth && FromSigned != ToSigned) || in getNarrowingKind()
520 if (FromWidth < ToWidth) { in getNarrowingKind()
532 ConvertedValue = ConvertedValue.trunc(ToWidth); in getNarrowingKind()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp6455 uint64_t ToWidth = Type->getIntegerBitWidth(); in pushCast() local
6457 uint64_t CastOps[] = {dwarf::DW_OP_LLVM_convert, ToWidth, in pushCast()