Home
last modified time | relevance | path

Searched refs:getStorageLocation (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp99 auto *Loc = Env.getStorageLocation(E); in maybeUnpackLValueExpr()
124 if (auto *Loc = Env.getStorageLocation(From)) in propagateStorageLocation()
164 auto *LHSLoc = Env.getStorageLocation(*LHS); in VisitBinaryOperator()
222 auto *DeclLoc = Env.getStorageLocation(*VD); in VisitDeclRefExpr()
245 if (D.getType()->isReferenceType() && Env.getStorageLocation(D) != nullptr) in ProcessVarDecl()
248 assert(Env.getStorageLocation(D) == nullptr); in ProcessVarDecl()
272 if (auto *Loc = Env.getStorageLocation(*ME)) in ProcessVarDecl()
282 auto *VDLoc = Env.getStorageLocation(*VD); in ProcessVarDecl()
349 StorageLocation *PointeeLoc = Env.getStorageLocation(*SubExpr); in VisitImplicitCastExpr()
385 if (StorageLocation *PointeeLoc = Env.getStorageLocation(*SubExpr)) in VisitUnaryOperator()
[all …]
H A DDataflowEnvironment.cpp573 if (getStorageLocation(*D) != nullptr) in initFieldsGlobalsAndFuncs()
585 if (getStorageLocation(*FD) != nullptr) in initFieldsGlobalsAndFuncs()
610 cast<RecordStorageLocation>(getStorageLocation(*Arg)); in pushCall()
859 StorageLocation *Environment::getStorageLocation(const ValueDecl &D) const { in getStorageLocation() function in clang::dataflow::Environment
882 StorageLocation *Environment::getStorageLocation(const Expr &E) const { in getStorageLocation() function in clang::dataflow::Environment
943 auto *Loc = getStorageLocation(D); in getValue()
1091 if (auto *InitExprLoc = getStorageLocation(*InitExpr)) in createObjectInternal()
1239 Env.getStorageLocation(*ImplicitObject)); in getImplicitObjectLocation()
H A DTypeErasedDataflowAnalysis.cpp380 auto *InitExprLoc = Env.getStorageLocation(*InitExpr); in builtinTransferInitializer()
H A DHTMLLogger.cpp288 if (auto *Loc = State.Env.getStorageLocation(*E)) in recordState()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h313 StorageLocation *getStorageLocation(const ValueDecl &D) const;
333 StorageLocation *getStorageLocation(const Expr &E) const;
343 return cast_or_null<T>(getStorageLocation(D)); in get()
348 return cast_or_null<T>(getStorageLocation(E)); in get()
H A DSmartPointerAccessorCaching.h113 if (State.Env.getStorageLocation(*DerefExpr) != nullptr) in transferSmartPointerLikeCachedDeref()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp433 return Env.getStorageLocation(E); in getLocBehindPossiblePointer()
440 if (State.Env.getStorageLocation(*UnwrapExpr) == nullptr) in transferUnwrapCall()
635 State.Env.getStorageLocation(*OCE->getArg(0))); in transferConstMemberOperatorCall()
679 State.Env.getStorageLocation(*OCE->getArg(0))); in transferValue_NonConstMemberOperatorCall()
813 if (auto *Loc = State.Env.getStorageLocation(*E->getArg(0))) in transferStdForwardCall()