LLVM API Documentation

llvm::IVUsersOfOneStride Struct Reference

#include <IVUsers.h>

Inheritance diagram for llvm::IVUsersOfOneStride:
[legend]
Collaboration diagram for llvm::IVUsersOfOneStride:
[legend]

List of all members.

Public Member Functions

 IVUsersOfOneStride ()
 IVUsersOfOneStride (const SCEV *stride)
void addUser (const SCEV *Offset, Instruction *User, Value *Operand)

Public Attributes

const SCEV * Stride
ilist< IVStrideUse > Users


Detailed Description

IVUsersOfOneStride - This structure keeps track of all instructions that have an operand that is based on the trip count multiplied by some stride.

Definition at line 143 of file IVUsers.h.


Constructor & Destructor Documentation

llvm::IVUsersOfOneStride::IVUsersOfOneStride (  )  [inline]

Definition at line 149 of file IVUsers.h.

llvm::IVUsersOfOneStride::IVUsersOfOneStride ( const SCEV *  stride  )  [inline, explicit]

Definition at line 151 of file IVUsers.h.


Member Function Documentation

void llvm::IVUsersOfOneStride::addUser ( const SCEV *  Offset,
Instruction *  User,
Value *  Operand 
) [inline]

Definition at line 161 of file IVUsers.h.

References Users.

Referenced by llvm::IVUsers::AddUsersIfInteresting().


Member Data Documentation

Stride - The stride for all the contained IVStrideUses. This is a constant for affine strides.

Definition at line 155 of file IVUsers.h.

Referenced by llvm::IVUsers::getReplacementExpr().

Users - Keep track of all of the users of this stride as well as the initial value and the operand that uses the IV.

Definition at line 159 of file IVUsers.h.

Referenced by addUser(), and llvm::IVUsers::AddUsersIfInteresting().


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