MLIR
20.0.0git
|
Fundamental IR components are supported as first-class lattice anchor. More...
#include "mlir/Analysis/DataFlowFramework.h"
Public Types | |
using | ParentTy = PointerUnion< GenericLatticeAnchor *, ProgramPoint *, Value > |
Public Member Functions | |
LatticeAnchor (ParentTy point=nullptr) | |
Allow implicit conversion from the parent type. More... | |
void | print (raw_ostream &os) const |
Print the lattice anchor. More... | |
Location | getLoc () const |
Get the source location of the lattice anchor. More... | |
Fundamental IR components are supported as first-class lattice anchor.
Definition at line 250 of file DataFlowFramework.h.
Definition at line 252 of file DataFlowFramework.h.
|
inline |
Allow implicit conversion from the parent type.
Definition at line 256 of file DataFlowFramework.h.
Location LatticeAnchor::getLoc | ( | ) | const |
Get the source location of the lattice anchor.
Definition at line 90 of file DataFlowFramework.cpp.
References mlir::ProgramPoint::getBlock(), mlir::Operation::getLoc(), mlir::Region::getLoc(), getLoc(), mlir::Block::getParent(), mlir::ProgramPoint::getPrevOp(), and mlir::ProgramPoint::isBlockStart().
Referenced by getLoc().
void LatticeAnchor::print | ( | raw_ostream & | os | ) | const |
Print the lattice anchor.
Definition at line 76 of file DataFlowFramework.cpp.
References print().
Referenced by mlir::operator<<(), and print().