Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DFixedAddressChecker.cpp48 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 DSmartPtrModeling.cpp255 if (ArgVal.isZeroConstant()) in evalCall()
480 bool AssignedNull = Call.getArgSVal(0).isZeroConstant(); in handleAssignOp()
518 bool IsArgValNull = OtherInnerPtr->isZeroConstant(); in updateMovedSmartPointers()
H A DPointerArithChecker.cpp308 if (Idx.isZeroConstant()) in checkPreStmt()
H A DMallocChecker.cpp1455 return !Call.getArgSVal(i).isZeroConstant(); in getFreeWhenDoneArg()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp543 if (op == BO_EQ && rhs.isZeroConstant()) { in evalBinOpNN()
734 if (rhs.isZeroConstant()) { in evalBinOpLL()
787 if (lhs.isZeroConstant()) { in evalBinOpLL()
819 if (rInt->isZeroConstant()) { in evalBinOpLL()
1012 if (rhs.isZeroConstant()) in evalBinOpLN()
1016 if (lhs.isZeroConstant()) in evalBinOpLN()
H A DBugReporterVisitors.cpp2027 if (!V.isZeroConstant()) in trackRValueExpression()
2037 if (LHSV.isZeroConstant()) in trackRValueExpression()
2040 if (RHSV.isZeroConstant()) in trackRValueExpression()
2044 if (LHSV.isZeroConstant()) in trackRValueExpression()
2132 if (!DV->isZeroConstant() && EnableNullFPSuppression) { in trackExpressionValue()
2931 if (BoundVal.isUndef() || BoundVal.isZeroConstant()) { in VisitNode()
H A DSVals.cpp212 bool SVal::isZeroConstant() const { in isZeroConstant() function in SVal
H A DProgramState.cpp378 if (V.isZeroConstant()) in isNull()
H A DMemRegion.cpp775 if (Size.isZeroConstant()) { in getStaticSize()
1309 if (!ER->getIndex().isZeroConstant()) in StripCasts()
H A DCallEvent.cpp145 if (getArgSVal(Idx).isZeroConstant()) in hasNonNullArgumentsWithType()
H A DExprEngineC.cpp460 if (val.isZeroConstant()) in VisitCast()
H A DRegionStore.cpp1786 if (val.isZeroConstant()) in getBindingForDerivedDefaultValue()
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h156 bool isZeroConstant() const;
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6358 bool isZeroConstant = CopyFromConstant && Slice.Array == nullptr; in getMemcpyLoadsAndStores() local
6360 const MemOp Op = isZeroConstant in getMemcpyLoadsAndStores()
6410 (isZeroConstant || (VT.isInteger() && !VT.isVector()))) { in getMemcpyLoadsAndStores()