MLIR
17.0.0git
|
Fundamental IR components are supported as first-class program points. More...
#include "mlir/Analysis/DataFlowFramework.h"
Public Types | |
using | ParentTy = PointerUnion< GenericProgramPoint *, Operation *, Value, Block * > |
Public Member Functions | |
ProgramPoint (ParentTy point=nullptr) | |
Allow implicit conversion from the parent type. More... | |
template<typename OpT , typename = std::enable_if_t< std::is_convertible<OpT, Operation *>::value && !std::is_same<OpT, Operation *>::value>> | |
ProgramPoint (OpT op) | |
Allow implicit conversions from operation wrappers. More... | |
void | print (raw_ostream &os) const |
Print the program point. More... | |
Location | getLoc () const |
Get the source location of the program point. More... | |
Fundamental IR components are supported as first-class program points.
Definition at line 152 of file DataFlowFramework.h.
using mlir::ProgramPoint::ParentTy = PointerUnion<GenericProgramPoint *, Operation *, Value, Block *> |
Definition at line 154 of file DataFlowFramework.h.
|
inline |
Allow implicit conversion from the parent type.
Definition at line 159 of file DataFlowFramework.h.
|
inline |
Allow implicit conversions from operation wrappers.
TODO: For Windows only. Find a better solution.
Definition at line 165 of file DataFlowFramework.h.
Location ProgramPoint::getLoc | ( | ) | const |
Get the source location of the program point.
Definition at line 51 of file DataFlowFramework.cpp.
void ProgramPoint::print | ( | raw_ostream & | os | ) | const |
Print the program point.
Definition at line 37 of file DataFlowFramework.cpp.
Referenced by mlir::operator<<().