LLVM 23.0.0git
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 207 of file AliasAnalysis.h.

Member Typedef Documentation

◆ PtrTy

Definition at line 208 of file AliasAnalysis.h.

Constructor & Destructor Documentation

◆ AACacheLoc() [1/2]

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

Definition at line 212 of file AliasAnalysis.h.

References Ptr, and Size.

◆ AACacheLoc() [2/2]

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

Definition at line 213 of file AliasAnalysis.h.

References Ptr, and Size.

Member Data Documentation

◆ Ptr

PtrTy llvm::AACacheLoc::Ptr

◆ Size

LocationSize llvm::AACacheLoc::Size

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