Searched refs:ToWidth (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastToStructChecker.cpp | 91 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 D | SMTAPI.h | 408 virtual SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) = 0; 412 virtual SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) = 0;
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Z3Solver.cpp | 721 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 D | HexagonVectorCombine.cpp | 149 unsigned ToWidth) const; 2628 unsigned ToWidth) const in splitVectorElements() 2645 assert(isPowerOf2_32(ToWidth) && isPowerOf2_32(FromWidth)); in splitVectorElements() 2646 assert(ToWidth <= FromWidth && "Breaking up into wider elements?"); in splitVectorElements() 2647 unsigned NumResults = FromWidth / ToWidth; in splitVectorElements() 2697 unsigned ToWidth = ToType->getScalarSizeInBits(); in joinVectorElements() local 2699 assert(Width <= ToWidth); in joinVectorElements() 2700 assert(isPowerOf2_32(Width) && isPowerOf2_32(ToWidth)); in joinVectorElements() 2703 unsigned NeedInputs = ToWidth / Width; in joinVectorElements()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 317 uint64_t ToWidth, QualType FromTy, in castAPSInt() argument 319 APSIntType TargetType(ToWidth, !ToTy->isSignedIntegerOrEnumerationType()); in castAPSInt()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 264 unsigned ToWidth) const { in shouldChangeType() 266 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType() 270 if (ToWidth < FromWidth && isDesirableIntType(ToWidth)) in shouldChangeType() 280 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType() 298 unsigned ToWidth = To->getPrimitiveSizeInBits(); in shouldChangeType() local 299 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 503 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() local 506 bool ToSigned, unsigned ToWidth) { in getNarrowingKind() argument 507 return (FromWidth < ToWidth + (FromSigned == ToSigned)) && in getNarrowingKind() 511 if (CanRepresentAll(FromSigned, FromWidth, ToSigned, ToWidth)) in getNarrowingKind() 523 if (CanRepresentAll(FromSigned, BitFieldWidth, ToSigned, ToWidth)) in getNarrowingKind() 549 if (FromWidth < ToWidth) { in getNarrowingKind() 561 ConvertedValue = ConvertedValue.trunc(ToWidth); in getNarrowingKind()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 6427 uint64_t ToWidth = Type->getIntegerBitWidth(); in pushCast() local 6429 uint64_t CastOps[] = {dwarf::DW_OP_LLVM_convert, ToWidth, in pushCast()
|