HomeSort by relevance Sort by last modified time
    Searched refs:ConcreteInt (Results 1 - 18 of 18) sorted by null

  /external/clang/lib/StaticAnalyzer/Core/
SVals.cpp 175 return getAs<nonloc::ConcreteInt>() || getAs<loc::ConcreteInt>();
179 if (Optional<loc::ConcreteInt> LV = getAs<loc::ConcreteInt>())
181 if (Optional<nonloc::ConcreteInt> NV = getAs<nonloc::ConcreteInt>())
195 SVal nonloc::ConcreteInt::evalBinOp(SValBuilder &svalBuilder,
197 const nonloc::ConcreteInt& R) const {
202 return nonloc::ConcreteInt(*X);
207 nonloc::ConcreteInt
    [all...]
SimpleSValBuilder.cpp 101 if (!val.getAs<nonloc::ConcreteInt>())
106 bool b = val.castAs<nonloc::ConcreteInt>().getValue().getBoolValue();
115 llvm::APSInt i = val.castAs<nonloc::ConcreteInt>().getValue();
143 if (!val.getAs<loc::ConcreteInt>())
146 llvm::APSInt i = val.castAs<loc::ConcreteInt>().getValue();
164 return val.castAs<nonloc::ConcreteInt>().evalMinus(*this);
173 return X.castAs<nonloc::ConcreteInt>().evalComplement(*this);
239 return nonloc::ConcreteInt(Result);
321 llvm::APSInt i = rhs.castAs<nonloc::ConcreteInt>().getValue();
338 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue()
    [all...]
Store.cpp 445 if (Base.isUnknownOrUndef() || Base.getAs<loc::ConcreteInt>())
472 if (!BaseIdx.getAs<nonloc::ConcreteInt>())
476 BaseIdx.castAs<nonloc::ConcreteInt>().getValue();
481 if (!Offset.getAs<nonloc::ConcreteInt>()) {
490 const llvm::APSInt& OffI = Offset.castAs<nonloc::ConcreteInt>().getValue();
494 nonloc::ConcreteInt NewIdx(svalBuilder.getBasicValueFactory().getValue(BaseIdxI +
SValBuilder.cpp 81 if (Optional<nonloc::ConcreteInt> CI = val.getAs<nonloc::ConcreteInt>()) {
90 nonloc::ConcreteInt SValBuilder::makeBoolVal(const CXXBoolLiteralExpr *boolean){
320 if (Optional<nonloc::ConcreteInt> rInt = RHS.getAs<nonloc::ConcreteInt>())
324 if (Optional<nonloc::ConcreteInt> lInt = LHS.getAs<nonloc::ConcreteInt>())
BugReporterVisitors.cpp 536 V.getAs<loc::ConcreteInt>() || V.getAs<nonloc::ConcreteInt>()) {
585 if (V.getAs<loc::ConcreteInt>()) {
598 } else if (Optional<nonloc::ConcreteInt> CVal =
599 V.getAs<nonloc::ConcreteInt>()) {
627 if (V.getAs<loc::ConcreteInt>()) {
634 } else if (Optional<nonloc::ConcreteInt> CI =
635 V.getAs<nonloc::ConcreteInt>()) {
652 if (V.getAs<loc::ConcreteInt>()) {
675 } else if (Optional<nonloc::ConcreteInt> CV
    [all...]
SimpleConstraintManager.cpp 111 bool b = Cond.castAs<loc::ConcreteInt>().getValue() != 0;
213 bool b = Cond.castAs<nonloc::ConcreteInt>().getValue() != 0;
MemRegion.cpp     [all...]
ProgramState.cpp 301 return loc::ConcreteInt(NewV);
303 return nonloc::ConcreteInt(NewV);
344 nonloc::ConcreteInt Min(BVF.getMinValue(indexTy));
RegionStore.cpp 825 if (Optional<nonloc::ConcreteInt> ExtentCI =
826 Extent.getAs<nonloc::ConcreteInt>()) {
    [all...]
ExprEngine.cpp     [all...]
ExprEngineC.cpp 845 nonloc::ConcreteInt X(getBasicVals().getValue(0, Ex->getType()));
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
SValBuilder.h 222 return nonloc::ConcreteInt(BasicVals.getValue(0, ArrayIndexTy));
226 return nonloc::ConcreteInt(BasicVals.getValue(idx, ArrayIndexTy));
231 nonloc::ConcreteInt makeIntVal(const IntegerLiteral* integer) {
232 return nonloc::ConcreteInt(
237 nonloc::ConcreteInt makeBoolVal(const ObjCBoolLiteralExpr *boolean) {
241 nonloc::ConcreteInt makeBoolVal(const CXXBoolLiteralExpr *boolean);
243 nonloc::ConcreteInt makeIntVal(const llvm::APSInt& integer) {
244 return nonloc::ConcreteInt(BasicVals.getValue(integer));
247 loc::ConcreteInt makeIntLocVal(const llvm::APSInt &integer) {
248 return loc::ConcreteInt(BasicVals.getValue(integer))
    [all...]
SVals.h 339 class ConcreteInt : public NonLoc {
341 explicit ConcreteInt(const llvm::APSInt& V) : NonLoc(ConcreteIntKind, &V) {}
349 const ConcreteInt& R) const;
351 ConcreteInt evalComplement(SValBuilder &svalBuilder) const;
353 ConcreteInt evalMinus(SValBuilder &svalBuilder) const;
357 ConcreteInt() {}
529 class ConcreteInt : public Loc {
531 explicit ConcreteInt(const llvm::APSInt& V) : Loc(ConcreteIntKind, &V) {}
539 const ConcreteInt& R) const;
543 ConcreteInt() {}
    [all...]
MemRegion.h 1017 assert((!Idx.getAs<nonloc::ConcreteInt>() ||
1018 Idx.castAs<nonloc::ConcreteInt>().getValue().isSigned()) &&
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
StreamChecker.cpp 262 Optional<nonloc::ConcreteInt> CI = Whence.getAs<nonloc::ConcreteInt>();
BasicObjCFoundationChecks.cpp 415 Optional<nonloc::ConcreteInt> V = TheTypeVal.getAs<nonloc::ConcreteInt>();
747 if (msg.getArgSVal(I).getAs<loc::ConcreteInt>())
    [all...]
MallocChecker.cpp     [all...]
CStringChecker.cpp 560 if (right.getAs<nonloc::ConcreteInt>()) {
    [all...]

Completed in 86 milliseconds