class IVStrideUse

Declaration

class IVStrideUse : public CallbackVH, public ilist_node { /* full declaration omitted */ };

Description

IVStrideUse - Keep track of one use of a strided induction variable. The Expr member keeps track of the expression, User is the actual user instruction of the operand, and 'OperandValToReplace' is the operand of the User that is the use.

Declared at: llvm/include/llvm/Analysis/IVUsers.h:37

Inherits from: CallbackVH, ilist_node

Method Overview

Inherited from CallbackVH:

Inherited from ValueHandleBase:

Methods

IVStrideUse(llvm::IVUsers* P,
            llvm::Instruction* U,
            llvm::Value* O)

Declared at: llvm/include/llvm/Analysis/IVUsers.h:40

Parameters

llvm::IVUsers* P
llvm::Instruction* U
llvm::Value* O

llvm::Value* getOperandValToReplace() const

Description

getOperandValToReplace - Return the Value of the operand in the user instruction that this IVStrideUse is representing.

Declared at: llvm/include/llvm/Analysis/IVUsers.h:56

const llvm::PostIncLoopSet& getPostIncLoops()
    const

Description

getPostIncLoops - Return the set of loops for which the expression has been adjusted to use post-inc mode.

Declared at: llvm/include/llvm/Analysis/IVUsers.h:68

llvm::Instruction* getUser() const

Description

getUser - Return the user instruction for this use.

Declared at: llvm/include/llvm/Analysis/IVUsers.h:45

void setOperandValToReplace(llvm::Value* Op)

Description

setOperandValToReplace - Assign a new Value as the operand value to replace.

Declared at: llvm/include/llvm/Analysis/IVUsers.h:62

Parameters

llvm::Value* Op

void setUser(llvm::Instruction* NewUser)

Description

setUser - Assign a new user instruction for this use.

Declared at: llvm/include/llvm/Analysis/IVUsers.h:50

Parameters

llvm::Instruction* NewUser

void transformToPostInc(const llvm::Loop* L)

Description

transformToPostInc - Transform the expression to post-inc form for the given loop.

Declared at: llvm/include/llvm/Analysis/IVUsers.h:74

Parameters

const llvm::Loop* L