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

This class provides APIs for ops that are known to have a single successor. More...

#include "mlir/IR/OpDefinition.h"

+ Inheritance diagram for mlir::OpTrait::OneSuccessor< ConcreteType >:

Public Member Functions

BlockgetSuccessor ()
 
void setSuccessor (Block *succ)
 

Static Public Member Functions

static LogicalResult verifyTrait (Operation *op)
 

Additional Inherited Members

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

Detailed Description

template<typename ConcreteType>
class mlir::OpTrait::OneSuccessor< ConcreteType >

This class provides APIs for ops that are known to have a single successor.

Definition at line 813 of file OpDefinition.h.

Member Function Documentation

◆ getSuccessor()

template<typename ConcreteType >
Block* mlir::OpTrait::OneSuccessor< ConcreteType >::getSuccessor ( )
inline

◆ setSuccessor()

template<typename ConcreteType >
void mlir::OpTrait::OneSuccessor< ConcreteType >::setSuccessor ( Block succ)
inline

◆ verifyTrait()

template<typename ConcreteType >
static LogicalResult mlir::OpTrait::OneSuccessor< ConcreteType >::verifyTrait ( Operation op)
inlinestatic

Definition at line 820 of file OpDefinition.h.

References mlir::OpTrait::impl::verifyOneSuccessor().


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