CIRCT  20.0.0git
Public Member Functions | List of all members
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs > Class Template Reference

StdExprVisitor is a visitor for standard expression nodes. More...

#include <Visitor.h>

Public Member Functions

ResultType dispatchStdExprVisitor (Operation *op, ExtraArgs... args)
 
ResultType visitInvalidOp (Operation *op, ExtraArgs... args)
 This callback is invoked on any invalid operations. More...
 
ResultType visitUnhandledOp (Operation *op, ExtraArgs... args)
 This callback is invoked on any operations that are not handled by the concrete visitor. More...
 
 HANDLE (arith::IndexCastOp)
 
 HANDLE (arith::ExtSIOp)
 
 HANDLE (arith::ExtUIOp)
 
 HANDLE (arith::TruncIOp)
 
 HANDLE (arith::CmpIOp)
 
 HANDLE (arith::AddIOp)
 
 HANDLE (arith::SubIOp)
 
 HANDLE (arith::MulIOp)
 
 HANDLE (arith::DivSIOp)
 
 HANDLE (arith::RemSIOp)
 
 HANDLE (arith::DivUIOp)
 
 HANDLE (arith::RemUIOp)
 
 HANDLE (arith::XOrIOp)
 
 HANDLE (arith::AndIOp)
 
 HANDLE (arith::OrIOp)
 
 HANDLE (arith::ShLIOp)
 
 HANDLE (arith::ShRSIOp)
 
 HANDLE (arith::ShRUIOp)
 

Detailed Description

template<typename ConcreteType, typename ResultType = void, typename... ExtraArgs>
class mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >

StdExprVisitor is a visitor for standard expression nodes.

Definition at line 96 of file Visitor.h.

Member Function Documentation

◆ dispatchStdExprVisitor()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::dispatchStdExprVisitor ( Operation *  op,
ExtraArgs...  args 
)
inline

Definition at line 98 of file Visitor.h.

◆ HANDLE() [1/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::AddIOp  )

◆ HANDLE() [2/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::AndIOp  )

◆ HANDLE() [3/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::CmpIOp  )

◆ HANDLE() [4/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::DivSIOp  )

◆ HANDLE() [5/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::DivUIOp  )

◆ HANDLE() [6/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::ExtSIOp  )

◆ HANDLE() [7/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::ExtUIOp  )

◆ HANDLE() [8/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::IndexCastOp  )

◆ HANDLE() [9/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::MulIOp  )

◆ HANDLE() [10/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::OrIOp  )

◆ HANDLE() [11/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::RemSIOp  )

◆ HANDLE() [12/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::RemUIOp  )

◆ HANDLE() [13/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::ShLIOp  )

◆ HANDLE() [14/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::ShRSIOp  )

◆ HANDLE() [15/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::ShRUIOp  )

◆ HANDLE() [16/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::SubIOp  )

◆ HANDLE() [17/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::TruncIOp  )

◆ HANDLE() [18/18]

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::HANDLE ( arith::XOrIOp  )

◆ visitInvalidOp()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::visitInvalidOp ( Operation *  op,
ExtraArgs...  args 
)
inline

This callback is invoked on any invalid operations.

Definition at line 117 of file Visitor.h.

◆ visitUnhandledOp()

template<typename ConcreteType , typename ResultType = void, typename... ExtraArgs>
ResultType mlir::StdExprVisitor< ConcreteType, ResultType, ExtraArgs >::visitUnhandledOp ( Operation *  op,
ExtraArgs...  args 
)
inline

This callback is invoked on any operations that are not handled by the concrete visitor.

Definition at line 124 of file Visitor.h.


The documentation for this class was generated from the following file: