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

A trait of region holding operations that define a new scope for automatic allocations, i.e., allocations that are freed when control is transferred back from the operation's region. More...

#include "mlir/IR/OpDefinition.h"

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

Static Public Member Functions

static LogicalResult verifyTrait (Operation *op)
 

Additional Inherited Members

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

Detailed Description

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

A trait of region holding operations that define a new scope for automatic allocations, i.e., allocations that are freed when control is transferred back from the operation's region.

Any operations performing such allocations (for eg. memref.alloca) will have their allocations automatically freed at their closest enclosing operation with this trait.

Definition at line 1277 of file OpDefinition.h.

Member Function Documentation

◆ verifyTrait()

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

Definition at line 1280 of file OpDefinition.h.


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