MLIR 22.0.0git
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.

Detailed Description

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

Definition at line 1304 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>
LogicalResult mlir::OpTrait::HasParent< ParentOpTypes >::Impl< ConcreteType >::verifyTrait ( Operation * op)
inlinestatic

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