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
- public IVStrideUse(llvm::IVUsers * P, llvm::Instruction * U, llvm::Value * O)
- public llvm::Value * getOperandValToReplace() const
- public const llvm::PostIncLoopSet & getPostIncLoops() const
- public llvm::Instruction * getUser() const
- public void setOperandValToReplace(llvm::Value * Op)
- public void setUser(llvm::Instruction * NewUser)
- public void transformToPostInc(const llvm::Loop * L)
Inherited from CallbackVH:
Inherited from ValueHandleBase:
- protected RemoveFromUseList
- public ValueIsDeleted
- public ValueIsRAUWd
- protected clearValPtr
- protected getValPtr
- protected isValid
Methods
¶IVStrideUse(llvm::IVUsers* P,
llvm::Instruction* U,
llvm::Value* O)
IVStrideUse(llvm::IVUsers* P,
llvm::Instruction* U,
llvm::Value* O)
Declared at: llvm/include/llvm/Analysis/IVUsers.h:40
Parameters
¶llvm::Value* getOperandValToReplace() const
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
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
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)
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)
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)
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