LLVM 22.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 204 of file AliasAnalysis.h.

Member Typedef Documentation

◆ PtrTy

Definition at line 205 of file AliasAnalysis.h.

Constructor & Destructor Documentation

◆ AACacheLoc() [1/2]

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

Definition at line 209 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 210 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: