Searched refs:StorageLocation (Results 1 – 12 of 12) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | StorageLocation.h | 32 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 D | DataflowEnvironment.h | 250 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 D | DataflowAnalysisContext.h | 117 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 D | Value.h | 174 explicit PointerValue(StorageLocation &PointeeLoc) in PointerValue() 181 StorageLocation &getPointeeLoc() const { return PointeeLoc; } in getPointeeLoc() 184 StorageLocation &PointeeLoc;
|
| H A D | Arena.h | 35 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 D | DataflowEnvironment.cpp | 42 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 D | RecordOps.cpp | 39 StorageLocation *SrcFieldLoc = Src.getChild(*Field); in copyRecord() 88 StorageLocation *FieldLoc2 = Loc2.getChild(*Field); in recordsEqual()
|
| H A D | DataflowAnalysisContext.cpp | 62 StorageLocation &DataflowAnalysisContext::createStorageLocation(QualType Type) { in createStorageLocation() 64 llvm::DenseMap<const ValueDecl *, StorageLocation *> FieldLocs; in createStorageLocation() 103 StorageLocation & 112 StorageLocation &
|
| H A D | Transfer.cpp | 320 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 D | TypeErasedDataflowAnalysis.cpp | 376 StorageLocation *MemberLoc = nullptr; in builtinTransferInitializer()
|
| H A D | HTMLLogger.cpp | 123 void dump(const StorageLocation &L) { in dump()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 238 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()
|