LLVM 17.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"

Collaboration diagram for llvm::AACacheLoc:
Collaboration graph

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 195 of file AliasAnalysis.h.

Member Typedef Documentation

◆ PtrTy

Definition at line 196 of file AliasAnalysis.h.

Constructor & Destructor Documentation

◆ AACacheLoc() [1/2]

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

Definition at line 200 of file AliasAnalysis.h.

◆ AACacheLoc() [2/2]

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

Definition at line 201 of file AliasAnalysis.h.

Member Data Documentation

◆ Ptr

PtrTy llvm::AACacheLoc::Ptr

Definition at line 197 of file AliasAnalysis.h.

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

◆ Size

LocationSize llvm::AACacheLoc::Size

Definition at line 198 of file AliasAnalysis.h.

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

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