MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::OpTrait::HasParent< ParentOpTypes >::Impl< ConcreteType > Class Template Reference

#include "mlir/IR/OpDefinition.h"

+ Inheritance diagram for mlir::OpTrait::HasParent< ParentOpTypes >::Impl< ConcreteType >:

Public Member Functions

template<typename ParentOpType = std::tuple_element_t<0, std::tuple<ParentOpTypes...>>>
std::enable_if_t< sizeof...(ParentOpTypes)==1, ParentOpType > getParentOp ()
 

Static Public Member Functions

static LogicalResult verifyTrait (Operation *op)
 

Additional Inherited Members

- Protected Member Functions inherited from mlir::OpTrait::TraitBase< ConcreteType, Impl >
OperationgetOperation ()
 Return the ultimate Operation being worked on. More...
 

Detailed Description

template<typename... ParentOpTypes>
template<typename ConcreteType>
class mlir::OpTrait::HasParent< ParentOpTypes >::Impl< ConcreteType >

Definition at line 1292 of file OpDefinition.h.

Member Function Documentation

◆ getParentOp()

template<typename... ParentOpTypes>
template<typename ConcreteType >
template<typename ParentOpType = std::tuple_element_t<0, std::tuple<ParentOpTypes...>>>
std::enable_if_t<sizeof...(ParentOpTypes) == 1, ParentOpType> mlir::OpTrait::HasParent< ParentOpTypes >::Impl< ConcreteType >::getParentOp ( )
inline

◆ verifyTrait()

template<typename... ParentOpTypes>
template<typename ConcreteType >
static LogicalResult mlir::OpTrait::HasParent< ParentOpTypes >::Impl< ConcreteType >::verifyTrait ( Operation op)
inlinestatic

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