Allow access to the module BufferLiveness applies to.
PiperOrigin-RevId: 162690202
This commit is contained in:
parent
41ae3a8c0f
commit
9cf6fe1ad3
@ -67,6 +67,8 @@ class BufferLiveness {
|
|||||||
// Returns the underlying hlo ordering used for this liveness analysis.
|
// Returns the underlying hlo ordering used for this liveness analysis.
|
||||||
const HloOrdering& hlo_ordering() const { return *hlo_ordering_; }
|
const HloOrdering& hlo_ordering() const { return *hlo_ordering_; }
|
||||||
|
|
||||||
|
const HloModule& module() const { return *module_; }
|
||||||
|
|
||||||
string ToString() const;
|
string ToString() const;
|
||||||
|
|
||||||
static Colorer DefaultColorer() {
|
static Colorer DefaultColorer() {
|
||||||
|
Loading…
Reference in New Issue
Block a user