Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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.cpp58 if (Idx.isZeroConstant()) in checkPreStmt()
H A DSmartPtrModeling.cpp419 if (ArgVal.isZeroConstant()) in evalCall()
473 if (S.isZeroConstant()) { in handleComparisionOp()
751 bool AssignedNull = Call.getArgSVal(0).isZeroConstant(); in handleAssignOp()
791 bool IsArgValNull = OtherInnerPtr->isZeroConstant(); in updateMovedSmartPointers()
H A DPointerArithChecker.cpp308 if (Idx.isZeroConstant()) in checkPreStmt()
H A DMallocChecker.cpp1652 return !Call.getArgSVal(i).isZeroConstant(); in getFreeWhenDoneArg()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp587 if (op == BO_EQ && rhs.isZeroConstant()) { in evalBinOpNN()
808 if (rhs.isZeroConstant()) { in evalBinOpLL()
861 if (lhs.isZeroConstant()) { in evalBinOpLL()
893 if (rInt->isZeroConstant()) { in evalBinOpLL()
1086 if (rhs.isZeroConstant()) in evalBinOpLN()
1090 if (lhs.isZeroConstant()) in evalBinOpLN()
H A DSVals.cpp261 bool SVal::isZeroConstant() const { in isZeroConstant() function in SVal
H A DBugReporterVisitors.cpp2374 if (!DV->isZeroConstant() && Opts.EnableNullFPSuppression) in handle()
2586 if (!BO || !BO->isMultiplicativeOp() || !V.isZeroConstant()) in handle()
2594 if (LHSV.isZeroConstant()) in handle()
2596 if (RHSV.isZeroConstant()) in handle()
2599 if (LHSV.isZeroConstant()) in handle()
3410 if (BoundVal.isUndef() || BoundVal.isZeroConstant()) { in VisitNode()
H A DStore.cpp449 if (Offset.isZeroConstant()) { in getLValueElement()
H A DProgramState.cpp382 if (V.isZeroConstant()) in isNull()
H A DCallEvent.cpp127 if (getArgSVal(Idx).isZeroConstant()) in hasNonNullArgumentsWithType()
H A DExprEngineC.cpp449 if (!val.isZeroConstant()) in VisitCast()
H A DMemRegion.cpp1348 if (!ER->getIndex().isZeroConstant()) in StripCasts()
H A DRegionStore.cpp2036 if (val.isZeroConstant()) in getBindingForDerivedDefaultValue()
/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h144 bool isZeroConstant() const;
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp7009 bool isZeroConstant = CopyFromConstant && Slice.Array == nullptr; in getMemcpyLoadsAndStores() local
7011 const MemOp Op = isZeroConstant in getMemcpyLoadsAndStores()
7071 (isZeroConstant || (VT.isInteger() && !VT.isVector()))) { in getMemcpyLoadsAndStores()