Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCastToStructChecker.cpp91 unsigned ToWidth = Ctx.getTypeInfo(ToPointeeTy).Width; in VisitCastExpr() local
93 if (ToWidth <= OrigWidth) in VisitCastExpr()
/external/llvm-project/llvm/include/llvm/Support/
DSMTAPI.h386 virtual SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) = 0;
390 virtual SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) = 0;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSMTAPI.h386 virtual SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) = 0;
390 virtual SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) = 0;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DZ3Solver.cpp706 SMTExprRef mkFPtoSBV(const SMTExprRef &From, unsigned ToWidth) override { in mkFPtoSBV() argument
710 toZ3Expr(*From).AST, ToWidth))); in mkFPtoSBV()
713 SMTExprRef mkFPtoUBV(const SMTExprRef &From, unsigned ToWidth) override { in mkFPtoUBV() argument
717 toZ3Expr(*From).AST, ToWidth))); in mkFPtoUBV()
/external/llvm-project/llvm/lib/Support/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp175 unsigned ToWidth) const { in shouldChangeType()
177 bool ToLegal = ToWidth == 1 || DL.isLegalInteger(ToWidth); in shouldChangeType()
181 if (ToWidth < FromWidth && (ToWidth == 8 || ToWidth == 16 || ToWidth == 32)) in shouldChangeType()
191 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in shouldChangeType()
209 unsigned ToWidth = To->getPrimitiveSizeInBits(); in shouldChangeType() local
210 return shouldChangeType(FromWidth, ToWidth); in shouldChangeType()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
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()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSMTConv.h315 uint64_t ToWidth, QualType FromTy, in castAPSInt() argument
317 APSIntType TargetType(ToWidth, !ToTy->isSignedIntegerOrEnumerationType()); in castAPSInt()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp94 unsigned ToWidth) const { in ShouldChangeType()
96 bool ToLegal = DL.isLegalInteger(ToWidth); in ShouldChangeType()
105 if (!FromLegal && !ToLegal && ToWidth > FromWidth) in ShouldChangeType()
118 unsigned ToWidth = To->getPrimitiveSizeInBits(); in ShouldChangeType() local
119 return ShouldChangeType(FromWidth, ToWidth); in ShouldChangeType()
/external/llvm-project/clang/lib/Sema/
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()