MLIR  20.0.0git
Public Types | Public Member Functions | List of all members
mlir::LatticeAnchor Struct Reference

Fundamental IR components are supported as first-class lattice anchor. More...

#include "mlir/Analysis/DataFlowFramework.h"

+ Inheritance diagram for mlir::LatticeAnchor:

Public Types

using ParentTy = PointerUnion< GenericLatticeAnchor *, ProgramPoint, Value >
 

Public Member Functions

 LatticeAnchor (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>>
 LatticeAnchor (OpT op)
 Allow implicit conversions from operation wrappers. More...
 
 LatticeAnchor (Operation *op)
 
 LatticeAnchor (Block *block)
 
void print (raw_ostream &os) const
 Print the lattice anchor. More...
 
Location getLoc () const
 Get the source location of the lattice anchor. More...
 

Detailed Description

Fundamental IR components are supported as first-class lattice anchor.

Definition at line 167 of file DataFlowFramework.h.

Member Typedef Documentation

◆ ParentTy

Definition at line 169 of file DataFlowFramework.h.

Constructor & Destructor Documentation

◆ LatticeAnchor() [1/4]

mlir::LatticeAnchor::LatticeAnchor ( ParentTy  point = nullptr)
inline

Allow implicit conversion from the parent type.

Definition at line 173 of file DataFlowFramework.h.

◆ LatticeAnchor() [2/4]

template<typename OpT , typename = std::enable_if_t< std::is_convertible<OpT, Operation *>::value && !std::is_same<OpT, Operation *>::value>>
mlir::LatticeAnchor::LatticeAnchor ( OpT  op)
inline

Allow implicit conversions from operation wrappers.

TODO: For Windows only. Find a better solution.

Definition at line 179 of file DataFlowFramework.h.

◆ LatticeAnchor() [3/4]

mlir::LatticeAnchor::LatticeAnchor ( Operation op)
inline

Definition at line 181 of file DataFlowFramework.h.

◆ LatticeAnchor() [4/4]

mlir::LatticeAnchor::LatticeAnchor ( Block block)
inline

Definition at line 182 of file DataFlowFramework.h.

Member Function Documentation

◆ getLoc()

Location LatticeAnchor::getLoc ( ) const

Get the source location of the lattice anchor.

Definition at line 84 of file DataFlowFramework.cpp.

References getLoc().

Referenced by getLoc().

◆ print()

void LatticeAnchor::print ( raw_ostream &  os) const

Print the lattice anchor.

Definition at line 70 of file DataFlowFramework.cpp.

References print().

Referenced by mlir::operator<<(), and print().


The documentation for this struct was generated from the following files: