Home
last modified time | relevance | path

Searched refs:evalCast (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp304 return evalCast(*Val, CE->getType(), SE->getType()); in getConstantVal()
439 return evalCast(val, castTy, originalTy); in evalIntegralCast()
443 return evalCast(val, castTy, originalTy); in evalIntegralCast()
467 return evalCast(val, castTy, originalTy); in evalIntegralCast()
471 SVal SValBuilder::evalCast(SVal val, QualType castTy, QualType originalTy) { in evalCast() function in SValBuilder
DExprEngineC.cpp146 V = svalBuilder.evalCast(V, CLHSTy, LTy); in VisitBinaryOperator()
149 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy), in VisitBinaryOperator()
164 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator()
169 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator()
347 V = svalBuilder.evalCast(V, T, ExTy); in VisitCast()
606 X = getSValBuilder().evalCast(RHSVal, B->getType(), RHS->getType()); in VisitLogicalExpr()
DSimpleConstraintManager.cpp81 Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).castAs<DefinedSVal>(); in assume()
DExprEngineCXX.cpp509 Result = svalBuilder.evalCast(PlacementLoc, CNE->getType(), in VisitCXXNewExpr()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp359 return evalCast(*Val, CE->getType(), SE->getType()); in getConstantVal()
502 return evalCast(val, castTy, originalTy); in evalIntegralCast()
506 return evalCast(val, castTy, originalTy); in evalIntegralCast()
530 return evalCast(val, castTy, originalTy); in evalIntegralCast()
534 SVal SValBuilder::evalCast(SVal val, QualType castTy, QualType originalTy) { in evalCast() function in SValBuilder
DExprEngineC.cpp155 V = svalBuilder.evalCast(V, CLHSTy, LTy); in VisitBinaryOperator()
158 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy), in VisitBinaryOperator()
173 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator()
178 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator()
272 SVal V = svalBuilder.evalCast(OrigV, T, ExTy); in handleLValueBitCast()
739 svalBuilder.evalCast(RHSVal, B->getType(), RHS->getType()), in VisitLogicalExpr()
DSimpleConstraintManager.cpp38 Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).castAs<DefinedSVal>(); in assume()
DExprEngineCallAndReturn.cpp266 AllocV = svalBuilder.evalCast( in processCallExit()
DExprEngineCXX.cpp920 Result = svalBuilder.evalCast(PlacementLoc, CNE->getType(), in VisitCXXNewExpr()
DCallEvent.cpp814 ThisVal = SVB.evalCast(ThisVal, Ty, StaticTy); in getInitialStackFrameContents()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCastValueChecker.cpp61 {&CastValueChecker::evalCast, CallKind::Function}},
77 void evalCast(const CallEvent &Call, DefinedOrUnknownSVal DV,
251 SVal V = CastSucceeds ? C.getSValBuilder().evalCast(DV, CastToTy, CastFromTy) in addCastTransition()
366 void CastValueChecker::evalCast(const CallEvent &Call, DefinedOrUnknownSVal DV, in evalCast() function in CastValueChecker
DVLASizeChecker.cpp115 SVB.evalCast(SizeD, SizeTy, SizeE->getType()).castAs<NonLoc>(); in checkVLA()
DCStringChecker.cpp417 svalBuilder.evalCast(BufVal, PtrTy, Buffer.Expression->getType()); in CheckBufferAccess()
513 svalBuilder.evalCast(*firstLoc, CharPtrTy, First.Expression->getType()); in CheckOverlap()
902 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); in IsFirstBufInBound()
1071 CharVal = svalBuilder.evalCast(CharVal, Ctx.UnsignedCharTy, Ctx.IntTy); in memsetAux()
1190 SvalBuilder.evalCast(destVal, CharPtrTy, Dest.Expression->getType()); in evalCopyCommon()
1605 svalBuilder.evalCast(lenVal, sizeTy, lenExpr.Expression->getType()); in evalStrcpyCommon()
DStdLibraryFunctionsChecker.cpp671 OtherV = SVB.evalCast(OtherV, T, OtherT); in apply()
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp156 svalBuilder.evalCast(sizeD, SizeTy, SE->getType()).castAs<NonLoc>(); in checkPreStmt()
DCStringChecker.cpp392 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); in CheckBufferAccess()
412 BufStart = svalBuilder.evalCast(BufVal, PtrTy, SecondBuf->getType()); in CheckBufferAccess()
505 SVal FirstStart = svalBuilder.evalCast(*firstLoc, CharPtrTy, in CheckOverlap()
859 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType()); in IsFirstBufInBound()
1060 loc::MemRegionVal DestRegCharVal = SvalBuilder.evalCast(destRegVal, in evalCopyCommon()
1462 lenVal = svalBuilder.evalCast(lenVal, sizeTy, lenExpr->getType()); in evalStrcpyCommon()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h86 SVal evalCast(SVal val, QualType castTy, QualType originalType);
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h105 SVal evalCast(SVal val, QualType castTy, QualType originalType);
/external/turbine/java/com/google/turbine/binder/
DConstEvaluator.java160 return evalCast((TypeCast) t); in eval()
446 private Const.Value evalCast(TypeCast t) { in evalCast() method in ConstEvaluator