LLVM 20.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::AACacheLoc Struct Reference

Cache key for BasicAA results. More...

#include "llvm/Analysis/AliasAnalysis.h"

Public Types

using PtrTy = PointerIntPair< const Value *, 1, bool >
 

Public Member Functions

 AACacheLoc (PtrTy Ptr, LocationSize Size)
 
 AACacheLoc (const Value *Ptr, LocationSize Size, bool MayBeCrossIteration)
 

Public Attributes

PtrTy Ptr
 
LocationSize Size
 

Detailed Description

Cache key for BasicAA results.

It only includes the pointer and size from MemoryLocation, as BasicAA is AATags independent. Additionally, it includes the value of MayBeCrossIteration, which may affect BasicAA results.

Definition at line 205 of file AliasAnalysis.h.

Member Typedef Documentation

◆ PtrTy

Definition at line 206 of file AliasAnalysis.h.

Constructor & Destructor Documentation

◆ AACacheLoc() [1/2]

llvm::AACacheLoc::AACacheLoc ( PtrTy  Ptr,
LocationSize  Size 
)
inline

Definition at line 210 of file AliasAnalysis.h.

◆ AACacheLoc() [2/2]

llvm::AACacheLoc::AACacheLoc ( const Value Ptr,
LocationSize  Size,
bool  MayBeCrossIteration 
)
inline

Definition at line 211 of file AliasAnalysis.h.

Member Data Documentation

◆ Ptr

PtrTy llvm::AACacheLoc::Ptr

Definition at line 207 of file AliasAnalysis.h.

Referenced by llvm::DenseMapInfo< AACacheLoc >::getHashValue().

◆ Size

LocationSize llvm::AACacheLoc::Size

Definition at line 208 of file AliasAnalysis.h.

Referenced by llvm::DenseMapInfo< AACacheLoc >::getHashValue().


The documentation for this struct was generated from the following file: