| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | RecordOps.cpp | 20 StorageLocation *DstFieldLoc, RecordStorageLocation &Dst, in copyField() 26 copyRecord(cast<RecordStorageLocation>(*SrcFieldLoc), in copyField() 27 cast<RecordStorageLocation>(*DstFieldLoc), Env); in copyField() 41 copyRecord(cast<RecordStorageLocation>(SrcFieldLoc), in copySyntheticField() 42 cast<RecordStorageLocation>(DstFieldLoc), Env); in copySyntheticField() 51 void copyRecord(RecordStorageLocation &Src, RecordStorageLocation &Dst, in copyRecord() 88 bool recordsEqual(const RecordStorageLocation &Loc1, const Environment &Env1, in recordsEqual() 89 const RecordStorageLocation &Loc2, const Environment &Env2) { in recordsEqual() 107 if (!recordsEqual(cast<RecordStorageLocation>(*FieldLoc1), Env1, in recordsEqual() 108 cast<RecordStorageLocation>(*FieldLoc2), Env2)) in recordsEqual() [all …]
|
| H A D | DataflowEnvironment.cpp | 307 llvm::DenseMap<const Expr *, RecordStorageLocation *> &ResultObjectMap, in ResultObjectVisitor() 308 RecordStorageLocation *LocForRecordReturnVal, in ResultObjectVisitor() 318 RecordStorageLocation *ThisPointeeLoc) { in traverseConstructorInits() 324 PropagateResultObject(InitExpr, cast<RecordStorageLocation>( in traverseConstructorInits() 345 &cast<RecordStorageLocation>(DACtx.getStableStorageLocation(*VD))); in VisitVarDecl() 353 &cast<RecordStorageLocation>(DACtx.getStableStorageLocation(*MTE))); in VisitMaterializeTemporaryExpr() 374 E, &cast<RecordStorageLocation>(DACtx.getStableStorageLocation(*E))); in VisitExpr() 380 RecordStorageLocation *Loc) { in PropagateResultObjectToRecordInitList() 396 Init, cast<RecordStorageLocation>(Loc->getChild(*Field))); in PropagateResultObjectToRecordInitList() 403 void PropagateResultObject(Expr *E, RecordStorageLocation *Loc) { in PropagateResultObject() [all …]
|
| H A D | Transfer.cpp | 494 RecordStorageLocation *BaseLoc = getBaseObjectLocation(*S, Env); in VisitMemberExpr() 540 RecordStorageLocation &Loc = Env.getResultObjectLocation(*S); in VisitCXXConstructExpr() 550 auto *ArgLoc = Env.get<RecordStorageLocation>(*Arg); in VisitCXXConstructExpr() 585 RecordStorageLocation *LocSrc = nullptr; in VisitCXXOperatorCallExpr() 589 LocSrc = Env.get<RecordStorageLocation>(*Arg1); in VisitCXXOperatorCallExpr() 591 auto *LocDst = Env.get<RecordStorageLocation>(*Arg0); in VisitCXXOperatorCallExpr() 658 RecordStorageLocation &Loc = Env.getResultObjectLocation(*S); in VisitCallExpr() 752 RecordStorageLocation &Loc = Env.getResultObjectLocation(*S); in VisitInitListExpr() 789 Env.initializeFieldsWithValues(*cast<RecordStorageLocation>(FieldLoc)); in VisitInitListExpr()
|
| H A D | DataflowAnalysisContext.cpp | 71 RecordStorageLocation::SyntheticFieldMap SyntheticFields; in createStorageLocation() 90 RecordStorageLocation &DataflowAnalysisContext::createRecordStorageLocation( in createRecordStorageLocation() 91 QualType Type, RecordStorageLocation::FieldToLoc FieldLocs, in createRecordStorageLocation() 92 RecordStorageLocation::SyntheticFieldMap SyntheticFields) { in createRecordStorageLocation() 98 return arena().create<RecordStorageLocation>(Type, std::move(FieldLocs), in createRecordStorageLocation()
|
| H A D | TypeErasedDataflowAnalysis.cpp | 355 RecordStorageLocation *ParentLoc = &ThisLoc; in builtinTransferInitializer() 366 ParentLoc = cast<RecordStorageLocation>(MemberLoc); in builtinTransferInitializer()
|
| H A D | ASTOps.cpp | 81 const RecordStorageLocation::FieldToLoc &FieldLocs) { in containsSameFields()
|
| H A D | HTMLLogger.cpp | 132 if (auto *RLoc = dyn_cast<RecordStorageLocation>(&L)) { in dump()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | CachedConstAccessorsLattice.h | 63 getOrCreateConstMethodReturnValue(const RecordStorageLocation &RecordLoc, 77 const RecordStorageLocation &RecordLoc, const FunctionDecl *Callee, 80 void clearConstMethodReturnValues(const RecordStorageLocation &RecordLoc) { in clearConstMethodReturnValues() 85 const RecordStorageLocation &RecordLoc) { in clearConstMethodReturnStorageLocations() 99 llvm::SmallDenseMap<const RecordStorageLocation *, 106 const RecordStorageLocation *, 114 llvm::SmallDenseMap<const RecordStorageLocation *, 117 const llvm::SmallDenseMap<const RecordStorageLocation *, in joinConstMethodMap() argument 120 const llvm::SmallDenseMap<const RecordStorageLocation *, in joinConstMethodMap() 124 llvm::SmallDenseMap<const RecordStorageLocation *, in joinConstMethodMap() [all …]
|
| H A D | RecordOps.h | 39 void copyRecord(RecordStorageLocation &Src, RecordStorageLocation &Dst, 60 bool recordsEqual(const RecordStorageLocation &Loc1, const Environment &Env1, 61 const RecordStorageLocation &Loc2, const Environment &Env2); 63 inline bool recordsEqual(const RecordStorageLocation &Loc1, in recordsEqual() 64 const RecordStorageLocation &Loc2, in recordsEqual()
|
| H A D | DataflowEnvironment.h | 354 RecordStorageLocation *getThisPointeeStorageLocation() const { in getThisPointeeStorageLocation() 360 void setThisPointeeStorageLocation(RecordStorageLocation &Loc) { in setThisPointeeStorageLocation() 376 RecordStorageLocation & 485 void initializeFieldsWithValues(RecordStorageLocation &Loc, QualType Type); 486 void initializeFieldsWithValues(RecordStorageLocation &Loc) { in initializeFieldsWithValues() 686 llvm::DenseMap<const Expr *, RecordStorageLocation *>; 720 void initializeFieldsWithValues(RecordStorageLocation &Loc, QualType Type, 742 RecordStorageLocation *ThisPointeeLoc, 743 RecordStorageLocation *LocForRecordReturnVal); 747 RecordStorageLocation *ThisPointeeLoc, [all …]
|
| H A D | SmartPointerAccessorCaching.h | 92 const CallExpr *DerefExpr, RecordStorageLocation *SmartPointerLoc, 104 const CallExpr *GetExpr, RecordStorageLocation *SmartPointerLoc, 110 const CallExpr *DerefExpr, RecordStorageLocation *SmartPointerLoc, in transferSmartPointerLikeCachedDeref() 146 const CallExpr *GetExpr, RecordStorageLocation *SmartPointerLoc, in transferSmartPointerLikeCachedGet()
|
| H A D | DataflowAnalysisContext.h | 116 RecordStorageLocation &createRecordStorageLocation( 117 QualType Type, RecordStorageLocation::FieldToLoc FieldLocs, 118 RecordStorageLocation::SyntheticFieldMap SyntheticFields);
|
| H A D | ASTOps.h | 50 const RecordStorageLocation::FieldToLoc &FieldLocs);
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 378 StorageLocation &locForHasValue(const RecordStorageLocation &OptionalLoc) { in locForHasValue() 382 StorageLocation &locForValue(const RecordStorageLocation &OptionalLoc) { in locForValue() 388 void setHasValue(RecordStorageLocation &OptionalLoc, BoolValue &HasValueVal, in setHasValue() 395 BoolValue *getHasValue(Environment &Env, RecordStorageLocation *OptionalLoc) { in getHasValue() 438 if (auto *OptionalLoc = cast_or_null<RecordStorageLocation>( in transferUnwrapCall() 447 if (auto *OptionalLoc = cast_or_null<RecordStorageLocation>( in transferArrowOpCall() 534 RecordStorageLocation *Loc = nullptr; in transferCallReturningOptional() 538 Loc = State.Env.get<RecordStorageLocation>(*E); in transferCallReturningOptional() 540 Loc = &cast<RecordStorageLocation>(State.Env.createStorageLocation(*E)); in transferCallReturningOptional() 555 dataflow::RecordStorageLocation *RecordLoc, in handleConstMemberCall() [all …]
|