Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.cpp54 if (Idx.isZeroConstant()) in checkPreStmt()
H A DSmartPtrModeling.cpp417 if (ArgVal.isZeroConstant()) in evalCall()
471 if (S.isZeroConstant()) { in handleComparisionOp()
749 bool AssignedNull = Call.getArgSVal(0).isZeroConstant(); in handleAssignOp()
789 bool IsArgValNull = OtherInnerPtr->isZeroConstant(); in updateMovedSmartPointers()
H A DPointerArithChecker.cpp308 if (Idx.isZeroConstant()) in checkPreStmt()
H A DMallocChecker.cpp1667 return !Call.getArgSVal(i).isZeroConstant(); in getFreeWhenDoneArg()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp586 if (op == BO_EQ && rhs.isZeroConstant()) { in evalBinOpNN()
807 if (rhs.isZeroConstant()) { in evalBinOpLL()
860 if (lhs.isZeroConstant()) { in evalBinOpLL()
892 if (rInt->isZeroConstant()) { in evalBinOpLL()
1085 if (rhs.isZeroConstant()) in evalBinOpLN()
1089 if (lhs.isZeroConstant()) in evalBinOpLN()
H A DSVals.cpp261 bool SVal::isZeroConstant() const { in isZeroConstant() function in SVal
H A DBugReporterVisitors.cpp2214 if (!DV->isZeroConstant() && Opts.EnableNullFPSuppression) in handle()
2402 if (!BO || !BO->isMultiplicativeOp() || !V.isZeroConstant()) in handle()
2417 if (LHSV.isZeroConstant()) in handle()
2419 if (RHSV.isZeroConstant()) in handle()
2422 if (LHSV.isZeroConstant()) in handle()
3234 if (BoundVal.isUndef() || BoundVal.isZeroConstant()) { in VisitNode()
H A DStore.cpp448 if (Offset.isZeroConstant()) { in getLValueElement()
H A DProgramState.cpp383 if (V.isZeroConstant()) in isNull()
H A DCallEvent.cpp128 if (getArgSVal(Idx).isZeroConstant()) in hasNonNullArgumentsWithType()
H A DExprEngineC.cpp448 if (!val.isZeroConstant()) in VisitCast()
H A DMemRegion.cpp1333 if (!ER->getIndex().isZeroConstant()) in StripCasts()
H A DRegionStore.cpp2032 if (val.isZeroConstant()) in getBindingForDerivedDefaultValue()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h145 bool isZeroConstant() const;
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6780 bool isZeroConstant = CopyFromConstant && Slice.Array == nullptr; in getMemcpyLoadsAndStores() local
6782 const MemOp Op = isZeroConstant in getMemcpyLoadsAndStores()
6841 (isZeroConstant || (VT.isInteger() && !VT.isVector()))) { in getMemcpyLoadsAndStores()