|
LLVM
10.0.0
|
This class stores info we want to provide to or retain within an alias query. More...
#include "llvm/Analysis/AliasAnalysis.h"
Public Types | |
| using | LocPair = std::pair< MemoryLocation, MemoryLocation > |
| using | AliasCacheT = SmallDenseMap< LocPair, AliasResult, 8 > |
| using | IsCapturedCacheT = SmallDenseMap< const Value *, bool, 8 > |
Public Member Functions | |
| AAQueryInfo () | |
Public Attributes | |
| AliasCacheT | AliasCache |
| IsCapturedCacheT | IsCapturedCache |
This class stores info we want to provide to or retain within an alias query.
By default, the root query is stateless and starts with a freshly constructed info object. Specific alias analyses can use this query info to store per-query state that is important for recursive or nested queries to avoid recomputing. To enable preserving this state across multiple queries where safe (due to the IR not changing), use a BatchAAResults wrapper. The information stored in an AAQueryInfo is currently limitted to the caches used by BasicAA, but can further be extended to fit other AA needs.
Definition at line 297 of file AliasAnalysis.h.
| using llvm::AAQueryInfo::AliasCacheT = SmallDenseMap<LocPair, AliasResult, 8> |
Definition at line 300 of file AliasAnalysis.h.
| using llvm::AAQueryInfo::IsCapturedCacheT = SmallDenseMap<const Value *, bool, 8> |
Definition at line 303 of file AliasAnalysis.h.
| using llvm::AAQueryInfo::LocPair = std::pair<MemoryLocation, MemoryLocation> |
Definition at line 299 of file AliasAnalysis.h.
|
inline |
Definition at line 306 of file AliasAnalysis.h.
| AliasCacheT llvm::AAQueryInfo::AliasCache |
Definition at line 301 of file AliasAnalysis.h.
Referenced by llvm::BasicAAResult::alias(), and MergeAliasResults().
| IsCapturedCacheT llvm::AAQueryInfo::IsCapturedCache |
Definition at line 304 of file AliasAnalysis.h.
Referenced by llvm::BasicAAResult::getModRefInfo(), and MergeAliasResults().
1.8.13