Sparse SSA-value lattice for SourceRef propagation.
More...
#include <SourceRefLattice.h>
Sparse SSA-value lattice for SourceRef propagation.
Definition at line 93 of file SourceRefLattice.h.
◆ LatticeValue
◆ Ref2Val
◆ ValueTy
◆ getDefaultValue()
◆ getSourceRef()
| mlir::FailureOr< SourceRef > llzk::SourceRefLattice::getSourceRef |
( |
mlir::Value | val | ) |
|
|
static |
If val is the source of other values (i.e., a block argument, an allocation-like op result, or a constant), create the base reference to the val.
Otherwise, return failure. Our lattice values must originate from somewhere.
Definition at line 213 of file SourceRefLattice.cpp.
◆ getValue()
| const LatticeValue & llzk::SourceRefLattice::getValue |
( |
| ) |
const |
|
inline |
◆ join()
| ChangeResult llzk::SourceRefLattice::join |
( |
const AbstractSparseLattice & | rhs | ) |
|
|
override |
◆ meet()
| ChangeResult llzk::SourceRefLattice::meet |
( |
const AbstractSparseLattice & | rhs | ) |
|
|
override |
◆ print()
| void llzk::SourceRefLattice::print |
( |
mlir::raw_ostream & | os | ) |
const |
|
override |
◆ setValue() [1/2]
| ChangeResult llzk::SourceRefLattice::setValue |
( |
const LatticeValue & | newValue | ) |
|
◆ setValue() [2/2]
| ChangeResult llzk::SourceRefLattice::setValue |
( |
const SourceRef & | ref | ) |
|
The documentation for this class was generated from the following files: