llvm::IVUsers

Bookkeeping for interesting users of induction-variable expressions.

Synopsis

Declared in <llvm/Analysis/IVUsers.h>

class IVUsers;

Type Aliases

NameDescription
const_iterator Const iterator over the tracked IV uses.
iterator Mutable iterator over the tracked IV uses.

Member Functions

NameDescription
IVUsers [constructor]Constructors
operator= Assignment operators
AddUser Record that User uses IV operand Operand.
AddUsersIfInteresting Inspect I and add its users if it has a reducible SCEV.
begin begin overloads
dump dump - This method is used for debugging.
empty Return true if there are no tracked IV uses.
end end overloads
getExpr getExpr - Return the expression for the use. Returns nullptr if the result is not invertible.
getLoop Return the loop whose induction-variable users are tracked.
getReplacementExpr getReplacementExpr - Return a SCEV expression which computes the value of the OperandValToReplace of the given IVStrideUse.
getStride Return the stride of IU in loop L, or nullptr if none.
isEphemeral Return true if V is an ephemeral value used only by llvm.assume.
isIVUserOrOperand Return true if Inst is a tracked IV user or operand of one.
print Print the tracked IV users to OS.
releaseMemory Release the lists of processed instructions and tracked IV uses.

Friends

NameDescription
llvm::IVStrideUseTracks one use of a strided induction variable.