Home
last modified time | relevance | path

Searched refs:StorageLocation (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DStorageLocation.h32 class StorageLocation {
46 StorageLocation(const StorageLocation &) = delete;
47 StorageLocation &operator=(const StorageLocation &) = delete;
49 virtual ~StorageLocation() = default;
62 class ScalarStorageLocation final : public StorageLocation {
65 : StorageLocation(Kind::Scalar, Type) {} in ScalarStorageLocation()
67 static bool classof(const StorageLocation *Loc) { in classof()
94 class RecordStorageLocation final : public StorageLocation {
114 static bool classof(const StorageLocation *Loc) { in classof()
125 StorageLocation *getChild(const ValueDecl &D) const { in getChild()
[all …]
H A DDataflowEnvironment.h250 StorageLocation &createStorageLocation(QualType Type);
260 StorageLocation &createStorageLocation(const Expr &E);
291 StorageLocation *getStorageLocation(const Expr &E) const;
367 StorageLocation *getReturnStorageLocation() const { in getReturnStorageLocation()
388 void setReturnStorageLocation(StorageLocation *Loc) { in setReturnStorageLocation()
434 StorageLocation &createObject(const VarDecl &D) { in createObject()
448 void setValue(const StorageLocation &Loc, Value &Val);
467 Value *getValue(const StorageLocation &Loc) const;
484 get(const StorageLocation &Loc) const { in get()
658 StorageLocation &createLocAndMaybeValue(QualType Ty,
[all …]
H A DDataflowAnalysisContext.h117 StorageLocation &createStorageLocation(QualType Type);
133 StorageLocation &getStableStorageLocation(const ValueDecl &D);
136 StorageLocation &getStableStorageLocation(const Expr &E);
258 llvm::DenseMap<const ValueDecl *, StorageLocation *> DeclToLoc;
259 llvm::DenseMap<const Expr *, StorageLocation *> ExprToLoc;
H A DValue.h174 explicit PointerValue(StorageLocation &PointeeLoc) in PointerValue()
181 StorageLocation &getPointeeLoc() const { return PointeeLoc; } in getPointeeLoc()
184 StorageLocation &PointeeLoc;
H A DArena.h35 std::enable_if_t<std::is_base_of<StorageLocation, T>::value, T &>
130 std::vector<std::unique_ptr<StorageLocation>> Locs;
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp42 llvm::DenseMap<const ValueDecl *, StorageLocation *> Result; in intersectDeclToLoc()
220 static llvm::MapVector<const StorageLocation *, Value *>
225 llvm::MapVector<const StorageLocation *, Value *> Result; in joinLocToVal()
227 const StorageLocation *Loc = Entry.first; in joinLocToVal()
716 StorageLocation *Loc = It->second; in getStorageLocation()
823 Value *Environment::getValue(const StorageLocation &Loc) const { in getValue()
885 StorageLocation &PointeeLoc = in createValueUnlessSelfReferential()
893 llvm::DenseMap<const ValueDecl *, StorageLocation *> FieldLocs; in createValueUnlessSelfReferential()
926 StorageLocation &
944 StorageLocation &Loc = createStorageLocation(Ty); in createLocAndMaybeValue()
[all …]
H A DRecordOps.cpp39 StorageLocation *SrcFieldLoc = Src.getChild(*Field); in copyRecord()
88 StorageLocation *FieldLoc2 = Loc2.getChild(*Field); in recordsEqual()
H A DDataflowAnalysisContext.cpp62 StorageLocation &DataflowAnalysisContext::createStorageLocation(QualType Type) { in createStorageLocation()
64 llvm::DenseMap<const ValueDecl *, StorageLocation *> FieldLocs; in createStorageLocation()
103 StorageLocation &
112 StorageLocation &
H A DTransfer.cpp320 StorageLocation *PointeeLoc = Env.getStorageLocation(*SubExpr); in VisitImplicitCastExpr()
356 if (StorageLocation *PointeeLoc = Env.getStorageLocation(*SubExpr)) in VisitUnaryOperator()
606 StorageLocation &Loc = Env.createStorageLocation(*S); in VisitMaterializeTemporaryExpr()
658 llvm::DenseMap<const ValueDecl *, StorageLocation *> FieldLocs; in VisitInitListExpr()
H A DTypeErasedDataflowAnalysis.cpp376 StorageLocation *MemberLoc = nullptr; in builtinTransferInitializer()
H A DHTMLLogger.cpp123 void dump(const StorageLocation &L) { in dump()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp238 StorageLocation &locForHasValue(const RecordStorageLocation &OptionalLoc) { in locForHasValue()
242 StorageLocation &locForValue(const RecordStorageLocation &OptionalLoc) { in locForValue()
269 StorageLocation &HasValueLoc = locForHasValue(*OptionalLoc); in getHasValue()
302 StorageLocation *getLocBehindPossiblePointer(const Expr &E, in getLocBehindPossiblePointer()