Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicExtent.cpp79 if (ElementSize.isZeroConstant()) in getDynamicElementCount()
115 if (ElementSize.isZeroConstant()) in getDynamicElementCountWithOffset()
H A DSimpleSValBuilder.cpp614 if (op == BO_EQ && rhs.isZeroConstant()) { in evalBinOpNN()
834 if (rhs.isZeroConstant()) { in evalBinOpLL()
887 if (lhs.isZeroConstant()) { in evalBinOpLL()
919 if (rInt->isZeroConstant()) { in evalBinOpLL()
1112 if (rhs.isZeroConstant()) in evalBinOpLN()
1116 if (lhs.isZeroConstant()) in evalBinOpLN()
H A DSVals.cpp258 bool SVal::isZeroConstant() const { in isZeroConstant() function in SVal
H A DStore.cpp448 if (Offset.isZeroConstant()) { in getLValueElement()
H A DBugReporterVisitors.cpp2392 if (!DV->isZeroConstant() && Opts.EnableNullFPSuppression) in handle()
2604 if (!BO || !BO->isMultiplicativeOp() || !V.isZeroConstant()) in handle()
2612 if (LHSV.isZeroConstant()) in handle()
2614 if (RHSV.isZeroConstant()) in handle()
2617 if (LHSV.isZeroConstant()) in handle()
3428 if (BoundVal.isUndef() || BoundVal.isZeroConstant()) { in VisitNode()
H A DProgramState.cpp381 if (V.isZeroConstant()) in isNull()
H A DCallEvent.cpp127 if (getArgSVal(Idx).isZeroConstant()) in hasNonNullArgumentsWithType()
H A DExprEngineC.cpp440 if (!val.isZeroConstant()) in VisitCast()
H A DMemRegion.cpp1376 if (!ER->getIndex().isZeroConstant()) in StripCasts()
H A DRegionStore.cpp2023 if (val.isZeroConstant()) in getBindingForDerivedDefaultValue()
/freebsd-14.2/contrib/llvm-project/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.cpp60 if (Idx.isZeroConstant()) in checkPreStmt()
H A DSmartPtrModeling.cpp419 if (ArgVal.isZeroConstant()) in evalCall()
473 if (S.isZeroConstant()) { in handleComparisionOp()
750 bool AssignedNull = Call.getArgSVal(0).isZeroConstant(); in handleAssignOp()
790 bool IsArgValNull = OtherInnerPtr->isZeroConstant(); in updateMovedSmartPointers()
H A DPointerArithChecker.cpp302 if (Idx.isZeroConstant()) in checkPreStmt()
H A DMallocChecker.cpp1658 return !Call.getArgSVal(i).isZeroConstant(); in getFreeWhenDoneArg()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h114 bool isZeroConstant() const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp7471 bool isZeroConstant = CopyFromConstant && Slice.Array == nullptr; in getMemcpyLoadsAndStores() local
7473 const MemOp Op = isZeroConstant in getMemcpyLoadsAndStores()
7533 (isZeroConstant || (VT.isInteger() && !VT.isVector()))) { in getMemcpyLoadsAndStores()