LLVM  7.0.0
Public Member Functions | Public Attributes | List of all members
llvm::RuntimePointerChecking::PointerInfo Struct Reference

#include "llvm/Analysis/LoopAccessAnalysis.h"

Collaboration diagram for llvm::RuntimePointerChecking::PointerInfo:
[legend]

Public Member Functions

 PointerInfo (Value *PointerValue, const SCEV *Start, const SCEV *End, bool IsWritePtr, unsigned DependencySetId, unsigned AliasSetId, const SCEV *Expr)
 

Public Attributes

TrackingVH< Value > PointerValue
 Holds the pointer value that we need to check. More...
 
const SCEV * Start
 Holds the smallest byte address accessed by the pointer throughout all iterations of the loop. More...
 
const SCEV * End
 Holds the largest byte address accessed by the pointer throughout all iterations of the loop, plus 1. More...
 
bool IsWritePtr
 Holds the information if this pointer is used for writing to memory. More...
 
unsigned DependencySetId
 Holds the id of the set of pointers that could be dependent because of a shared underlying object. More...
 
unsigned AliasSetId
 Holds the id of the disjoint alias set to which this pointer belongs. More...
 
const SCEV * Expr
 SCEV for the access. More...
 

Detailed Description

Definition at line 313 of file LoopAccessAnalysis.h.

Constructor & Destructor Documentation

◆ PointerInfo()

llvm::RuntimePointerChecking::PointerInfo::PointerInfo ( Value *  PointerValue,
const SCEV *  Start,
const SCEV *  End,
bool  IsWritePtr,
unsigned  DependencySetId,
unsigned  AliasSetId,
const SCEV *  Expr 
)
inline

Definition at line 332 of file LoopAccessAnalysis.h.

Member Data Documentation

◆ AliasSetId

unsigned llvm::RuntimePointerChecking::PointerInfo::AliasSetId

Holds the id of the disjoint alias set to which this pointer belongs.

Definition at line 328 of file LoopAccessAnalysis.h.

Referenced by llvm::RuntimePointerChecking::needsChecking().

◆ DependencySetId

unsigned llvm::RuntimePointerChecking::PointerInfo::DependencySetId

Holds the id of the set of pointers that could be dependent because of a shared underlying object.

Definition at line 326 of file LoopAccessAnalysis.h.

Referenced by llvm::RuntimePointerChecking::needsChecking().

◆ End

const SCEV* llvm::RuntimePointerChecking::PointerInfo::End

Holds the largest byte address accessed by the pointer throughout all iterations of the loop, plus 1.

Definition at line 321 of file LoopAccessAnalysis.h.

◆ Expr

const SCEV* llvm::RuntimePointerChecking::PointerInfo::Expr

SCEV for the access.

Definition at line 330 of file LoopAccessAnalysis.h.

◆ IsWritePtr

bool llvm::RuntimePointerChecking::PointerInfo::IsWritePtr

Holds the information if this pointer is used for writing to memory.

Definition at line 323 of file LoopAccessAnalysis.h.

Referenced by llvm::RuntimePointerChecking::needsChecking().

◆ PointerValue

TrackingVH<Value> llvm::RuntimePointerChecking::PointerInfo::PointerValue

Holds the pointer value that we need to check.

Definition at line 315 of file LoopAccessAnalysis.h.

Referenced by isLoadConditional(), and llvm::LoopVersioning::prepareNoAliasMetadata().

◆ Start

const SCEV* llvm::RuntimePointerChecking::PointerInfo::Start

Holds the smallest byte address accessed by the pointer throughout all iterations of the loop.

Definition at line 318 of file LoopAccessAnalysis.h.


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