llvm::IVUsers::AddUsersIfInteresting

Inspect I and add its users if it has a reducible SCEV.

Synopsis

Declared in <llvm/Analysis/IVUsers.h>

bool
AddUsersIfInteresting(Instruction* I);

Description

If it is a reducible SCEV, recursively add its users to the IVUsesByStride set and return true. Otherwise, return false.

Return Value

True if I has a reducible SCEV and its users were added.

Parameters

NameDescription
IInstruction to inspect.