LLVM API Documentation
#include <IVUsers.h>
Public Member Functions | |
| IVStrideUse (IVUsersOfOneStride *parent, const SCEV *offset, Instruction *U, Value *O) | |
| Instruction * | getUser () const |
| getUser - Return the user instruction for this use. | |
| void | setUser (Instruction *NewUser) |
| setUser - Assign a new user instruction for this use. | |
| IVUsersOfOneStride * | getParent () const |
| const SCEV * | getOffset () const |
| void | setOffset (const SCEV *Val) |
| setOffset - Assign a new offset to this use. | |
| Value * | getOperandValToReplace () const |
| void | setOperandValToReplace (Value *Op) |
| bool | isUseOfPostIncrementedValue () const |
| void | setIsUseOfPostIncrementedValue (bool Val) |
Definition at line 34 of file IVUsers.h.
| llvm::IVStrideUse::IVStrideUse | ( | IVUsersOfOneStride * | parent, | |
| const SCEV * | offset, | |||
| Instruction * | U, | |||
| Value * | O | |||
| ) | [inline] |
| Instruction* llvm::IVStrideUse::getUser | ( | ) | const [inline] |
getUser - Return the user instruction for this use.
Definition at line 45 of file IVUsers.h.
References llvm::ValueHandleBase::getValPtr().
Referenced by llvm::IVUsers::getReplacementExpr().
| void llvm::IVStrideUse::setUser | ( | Instruction * | NewUser | ) | [inline] |
setUser - Assign a new user instruction for this use.
Definition at line 50 of file IVUsers.h.
References llvm::CallbackVH::setValPtr().
| IVUsersOfOneStride* llvm::IVStrideUse::getParent | ( | ) | const [inline] |
getParent - Return a pointer to the IVUsersOfOneStride that owns this IVStrideUse.
Definition at line 56 of file IVUsers.h.
Referenced by llvm::IVUsers::getReplacementExpr().
| const SCEV* llvm::IVStrideUse::getOffset | ( | ) | const [inline] |
getOffset - Return the offset to add to a theoeretical induction variable that starts at zero and counts up by the stride to compute the value for the use. This always has the same type as the stride.
Definition at line 61 of file IVUsers.h.
Referenced by llvm::IVUsers::getReplacementExpr().
| void llvm::IVStrideUse::setOffset | ( | const SCEV * | Val | ) | [inline] |
| Value* llvm::IVStrideUse::getOperandValToReplace | ( | ) | const [inline] |
getOperandValToReplace - Return the Value of the operand in the user instruction that this IVStrideUse is representing.
| void llvm::IVStrideUse::setOperandValToReplace | ( | Value * | Op | ) | [inline] |
| bool llvm::IVStrideUse::isUseOfPostIncrementedValue | ( | ) | const [inline] |
isUseOfPostIncrementedValue - True if this should use the post-incremented version of this IV, not the preincremented version. This can only be set in special cases, such as the terminating setcc instruction for a loop or uses dominated by the loop.
Definition at line 84 of file IVUsers.h.
Referenced by llvm::IVUsers::getReplacementExpr().
| void llvm::IVStrideUse::setIsUseOfPostIncrementedValue | ( | bool | Val | ) | [inline] |