Home
last modified time | relevance | path

Searched refs:isZeroConstant (Results 1 – 17 of 17) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DFixedAddressChecker.cpp49 if (!RV.isConstant() || RV.isZeroConstant()) in checkPreStmt()
H A DArrayBoundChecker.cpp52 if (Idx.isZeroConstant()) in checkLocation()
H A DReturnPointerRangeChecker.cpp53 if (Idx.isZeroConstant()) in checkPreStmt()
H A DPointerArithChecker.cpp309 if (Idx.isZeroConstant()) in checkPreStmt()
H A DBasicObjCFoundationChecks.cpp982 if (CollectionSentinel.isZeroConstant()) { in checkPostStmt()
H A DMallocChecker.cpp1189 return !Call.getArgSVal(i).isZeroConstant(); in getFreeWhenDoneArg()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp660 if (op == BO_EQ && rhs.isZeroConstant()) { in evalBinOpNN()
851 if (rhs.isZeroConstant()) { in evalBinOpLL()
904 if (lhs.isZeroConstant()) { in evalBinOpLL()
936 if (rInt->isZeroConstant()) { in evalBinOpLL()
1120 if (rhs.isZeroConstant()) in evalBinOpLN()
1124 if (lhs.isZeroConstant()) in evalBinOpLN()
H A DSVals.cpp234 bool SVal::isZeroConstant() const { in isZeroConstant() function in SVal
H A DMemRegion.cpp190 if (Extent.isZeroConstant()) { in getExtent()
1200 if (!ER->getIndex().isZeroConstant()) in StripCasts()
H A DSValBuilder.cpp536 return makeTruthVal(!val.isZeroConstant(), castTy); in evalCast()
H A DProgramState.cpp374 if (V.isZeroConstant()) in isNull()
H A DBugReporterVisitors.cpp1660 if (!DV->isZeroConstant() && LVState->isNull(*DV).isConstrainedTrue() && in trackExpressionValue()
2362 if (BoundVal.isUndef() || BoundVal.isZeroConstant()) { in VisitNode()
H A DCallEvent.cpp145 if (getArgSVal(Idx).isZeroConstant()) in hasNonNullArgumentsWithType()
H A DExprEngineC.cpp453 if (val.isZeroConstant()) in VisitCast()
H A DRegionStore.cpp1779 if (val.isZeroConstant()) in getBindingForDerivedDefaultValue()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h157 bool isZeroConstant() const;
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp5691 bool isZeroConstant = CopyFromConstant && Slice.Array == nullptr; in getMemcpyLoadsAndStores() local
5696 (isZeroConstant ? 0 : SrcAlign), in getMemcpyLoadsAndStores()
5744 (isZeroConstant || (VT.isInteger() && !VT.isVector()))) { in getMemcpyLoadsAndStores()