My Project
|
#include <Builders.h>
Public Member Functions | |
BlockHandle () | |
BlockHandle (mlir::Block *block) | |
BlockHandle (const BlockHandle &)=default | |
BlockHandle & | operator= (const BlockHandle &)=default |
operator bool () | |
operator mlir::Block * () | |
mlir::Block * | getBlock () |
Static Public Member Functions | |
static BlockHandle | create (ArrayRef< Type > argTypes) |
Delegates block creation to MLIR and wrap the resulting mlir::Block. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::edsc::CapturableHandle | |
CapturableHandle ()=default | |
A BlockHandle represents a (potentially "delayed") Block abstraction. This extra abstraction is necessary because an mlir::Block is not an mlir::Value. A BlockHandle should be captured by pointer but otherwise passed by Value everywhere.
|
inline |
A BlockHandle constructed without an mlir::Block* represents a "delayed" Block. A delayed Block represents the declaration (in the PL sense) of a placeholder for an mlir::Block* that will be constructed and captured at some later point in the program.
|
inline |
A BlockHandle constructed with an mlir::Block* represents an "eager" Block. An eager Block represents both the declaration and the definition (in the PL sense) of a placeholder for an mlir::Block* that has already been constructed in the past and that is captured "now" in the program.
|
default |
BlockHandle is a value type, use the default copy constructor and assignment operator.
|
static |
Delegates block creation to MLIR and wrap the resulting mlir::Block.
|
inline |
|
inline |
|
inline |
|
default |