Flutter Engine
The Flutter Engine
|
#include <loops.h>
Classes | |
struct | Bound |
Public Types | |
enum | Kind { kInvariant , kLinear , kWrapAround , kPeriodic } |
Public Member Functions | |
InductionVar (int64_t offset, int64_t mult, Definition *def) | |
InductionVar (int64_t offset) | |
InductionVar (Kind kind, InductionVar *initial, InductionVar *next) | |
bool | IsEqual (const InductionVar *other) const |
bool | CanComputeDifferenceWith (const InductionVar *other, int64_t *diff) const |
bool | CanComputeBounds (LoopInfo *loop, Instruction *pos, InductionVar **min, InductionVar **max) |
Kind | kind () const |
int64_t | offset () const |
int64_t | mult () const |
Definition * | def () const |
InductionVar * | initial () const |
InductionVar * | next () const |
const GrowableArray< Bound > & | bounds () |
void | PrintTo (BaseTextBuffer *f) const |
const char * | ToCString () const |
Public Member Functions inherited from dart::ZoneAllocated | |
ZoneAllocated () | |
void * | operator new (size_t size) |
void * | operator new (size_t size, Zone *zone) |
void | operator delete (void *pointer) |
Static Public Member Functions | |
static bool | IsInvariant (const InductionVar *x) |
static bool | IsConstant (const InductionVar *x) |
static bool | IsConstant (const InductionVar *x, int64_t *c) |
static bool | IsLinear (const InductionVar *x) |
static bool | IsLinear (const InductionVar *x, int64_t *s) |
static bool | IsWrapAround (const InductionVar *x) |
static bool | IsPeriodic (const InductionVar *x) |
static bool | IsInduction (const InductionVar *x) |
Friends | |
class | InductionVarAnalysis |
Enumerator | |
---|---|
kInvariant | |
kLinear | |
kWrapAround | |
kPeriodic |
|
inline |
|
inlineexplicit |
Definition at line 56 of file loops.h.
|
inline |
Definition at line 59 of file loops.h.
|
inline |
bool dart::InductionVar::CanComputeBounds | ( | LoopInfo * | loop, |
Instruction * | pos, | ||
InductionVar ** | min, | ||
InductionVar ** | max | ||
) |
Definition at line 920 of file loops.cc.
bool dart::InductionVar::CanComputeDifferenceWith | ( | const InductionVar * | other, |
int64_t * | diff | ||
) | const |
Definition at line 841 of file loops.cc.
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
void dart::InductionVar::PrintTo | ( | BaseTextBuffer * | f | ) | const |
const char * dart::InductionVar::ToCString | ( | ) | const |
Definition at line 973 of file loops.cc.
|
friend |
Definition* dart::InductionVar::def_ |
InductionVar* dart::InductionVar::initial_ |
InductionVar* dart::InductionVar::next_ |