My Project
|
This class represents liveness information on block level. More...
#include <Liveness.h>
Public Types | |
using | ValueSetT = Liveness::ValueSetT |
A typedef declaration of a value set. More... | |
Public Member Functions | |
Block * | getBlock () const |
Returns the underlying block. More... | |
const ValueSetT & | in () const |
const ValueSetT & | out () const |
bool | isLiveIn (Value value) const |
Returns true if the given value is in the live-in set. More... | |
bool | isLiveOut (Value value) const |
Returns true if the given value is in the live-out set. More... | |
Operation * | getStartOperation (Value value) const |
Operation * | getEndOperation (Value value, Operation *startOperation) const |
Friends | |
class | Liveness |
This class represents liveness information on block level.
A typedef declaration of a value set.
|
inline |
Returns the underlying block.
Gets the end operation for the given value using the start operation provided (must be referenced in this block).
Gets the start operation for the given value. This is the first operation the given value is considered to be live. This could either be the start operation of the current block (in case the value is live-in) or the operation that defines the given value (must be referenced in this block).
Gets the start operation for the given value (must be referenced in this block).
|
inline |
Returns all values that are live at the beginning of the block (unordered).
bool LivenessBlockInfo::isLiveIn | ( | Value | value | ) | const |
Returns true if the given value is in the live-in set.
bool LivenessBlockInfo::isLiveOut | ( | Value | value | ) | const |
Returns true if the given value is in the live-out set.
|
inline |
Returns all values that are live at the end of the block (unordered).
|
friend |