matchSimpleRecurrence overloads
Synopses
Declared in <llvm/Analysis/ValueTracking.h>
Analogous to the above, but starting from the binary operator
bool
matchSimpleRecurrence(
BinaryOperator const* I,
PHINode*& P,
Value*& Start,
Value*& Step);
Attempt to match a simple first order recurrence cycle of the form: %iv = phi Ty [%Start, %Entry], [%Inc, %backedge] %inc = binop %iv, %step OR %iv = phi Ty [%Start, %Entry], [%Inc, %backedge] %inc = binop %step, %iv
bool
matchSimpleRecurrence(
PHINode const* P,
BinaryOperator*& BO,
Value*& Start,
Value*& Step);
Created with MrDocs