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.h408 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 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.cpp149 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 DSMTConv.h317 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 DInstructionCombining.cpp264 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 DSemaOverload.cpp503 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 DLoopStrengthReduce.cpp6427 uint64_t ToWidth = Type->getIntegerBitWidth(); in pushCast() local
6429 uint64_t CastOps[] = {dwarf::DW_OP_LLVM_convert, ToWidth, in pushCast()