|
LLVM 22.0.0git
|
----------------—AAIntraFnReachability Attribute-----------------------— More...
Public Types | |
| enum class | Reachable { No , Yes } |
Public Member Functions | |
| unsigned | computeHashValue () const |
| ReachabilityQueryInfo (const Instruction *From, const ToTy *To) | |
| ReachabilityQueryInfo (Attributor &A, const Instruction &From, const ToTy &To, const AA::InstExclusionSetTy *ES, bool MakeUnique) | |
| Constructor replacement to ensure unique and stable sets are used for the cache. | |
| ReachabilityQueryInfo (const ReachabilityQueryInfo &RQI) | |
Public Attributes | |
| const Instruction * | From = nullptr |
| Start here,. | |
| const ToTy * | To = nullptr |
| reach this place, | |
| const AA::InstExclusionSetTy * | ExclusionSet = nullptr |
| without going through any of these instructions, | |
| Reachable | Result = Reachable::No |
| and remember if it worked: | |
| unsigned | Hash = 0 |
| Precomputed hash for this RQI. | |
----------------—AAIntraFnReachability Attribute-----------------------—
All information associated with a reachability query. This boilerplate code is used by both AAIntraFnReachability and AAInterFnReachability, with different ToTy values.
Definition at line 3412 of file AttributorAttributes.cpp.
|
strong |
| Enumerator | |
|---|---|
| No | |
| Yes | |
Definition at line 3413 of file AttributorAttributes.cpp.
|
inline |
Definition at line 3439 of file AttributorAttributes.cpp.
Referenced by computeHashValue(), and ReachabilityQueryInfo().
|
inline |
Constructor replacement to ensure unique and stable sets are used for the cache.
Definition at line 3444 of file AttributorAttributes.cpp.
References A(), llvm::SmallPtrSetImplBase::empty(), ExclusionSet, From, if(), and To.
|
inline |
Definition at line 3455 of file AttributorAttributes.cpp.
References ExclusionSet, From, ReachabilityQueryInfo(), and To.
|
inline |
Definition at line 3430 of file AttributorAttributes.cpp.
References assert(), llvm::detail::combineHashValue(), ExclusionSet, From, Hash, ReachabilityQueryInfo(), and To.
Referenced by llvm::DenseMapInfo< ReachabilityQueryInfo< ToTy > * >::getHashValue().
| const AA::InstExclusionSetTy* ReachabilityQueryInfo< ToTy >::ExclusionSet = nullptr |
without going through any of these instructions,
Definition at line 3423 of file AttributorAttributes.cpp.
Referenced by computeHashValue(), ReachabilityQueryInfo(), and ReachabilityQueryInfo().
| const Instruction* ReachabilityQueryInfo< ToTy >::From = nullptr |
Start here,.
Definition at line 3419 of file AttributorAttributes.cpp.
Referenced by computeHashValue(), ReachabilityQueryInfo(), ReachabilityQueryInfo(), and ReachabilityQueryInfo().
| unsigned ReachabilityQueryInfo< ToTy >::Hash = 0 |
Precomputed hash for this RQI.
Definition at line 3428 of file AttributorAttributes.cpp.
Referenced by computeHashValue(), and llvm::DenseMapInfo< ReachabilityQueryInfo< ToTy > * >::getHashValue().
| Reachable ReachabilityQueryInfo< ToTy >::Result = Reachable::No |
and remember if it worked:
Definition at line 3425 of file AttributorAttributes.cpp.
| const ToTy* ReachabilityQueryInfo< ToTy >::To = nullptr |
reach this place,
Definition at line 3421 of file AttributorAttributes.cpp.
Referenced by computeHashValue(), ReachabilityQueryInfo(), ReachabilityQueryInfo(), and ReachabilityQueryInfo().