Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DFixedAddressChecker.cpp48 if (!RV.isConstant() || RV.isZeroConstant()) in checkPreStmt()
H A DReturnPointerRangeChecker.cpp53 if (Idx.isZeroConstant()) in checkPreStmt()
H A DArrayBoundChecker.cpp52 if (Idx.isZeroConstant()) in checkLocation()
H A DSmartPtrModeling.cpp419 if (ArgVal.isZeroConstant()) in evalCall()
473 if (S.isZeroConstant()) { in handleComparisionOp()
748 bool AssignedNull = Call.getArgSVal(0).isZeroConstant(); in handleAssignOp()
786 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()
/freebsd-13.1/contrib/llvm-project/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.cpp2133 if (!DV->isZeroConstant() && Opts.EnableNullFPSuppression) in handle()
2321 if (!BO || !BO->isMultiplicativeOp() || !V.isZeroConstant()) in handle()
2336 if (LHSV.isZeroConstant()) in handle()
2338 if (RHSV.isZeroConstant()) in handle()
2341 if (LHSV.isZeroConstant()) in handle()
3153 if (BoundVal.isUndef() || BoundVal.isZeroConstant()) { in VisitNode()
H A DSVals.cpp271 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.cpp146 if (getArgSVal(Idx).isZeroConstant()) in hasNonNullArgumentsWithType()
H A DExprEngineC.cpp445 if (val.isZeroConstant()) in VisitCast()
H A DRegionStore.cpp1786 if (val.isZeroConstant()) in getBindingForDerivedDefaultValue()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h156 bool isZeroConstant() const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6425 bool isZeroConstant = CopyFromConstant && Slice.Array == nullptr; in getMemcpyLoadsAndStores() local
6427 const MemOp Op = isZeroConstant in getMemcpyLoadsAndStores()
6481 (isZeroConstant || (VT.isInteger() && !VT.isVector()))) { in getMemcpyLoadsAndStores()