|
MLIR
22.0.0git
|
#include "mlir/IR/BlockSupport.h"
Public Types | |
| using | Operation = ::mlir::Operation |
| using | op_iterator = simple_ilist< Operation >::iterator |
Public Member Functions | |
| void | addNodeToList (Operation *op) |
| This is a trait method invoked when an operation is added to a block. More... | |
| void | removeNodeFromList (Operation *op) |
| This is a trait method invoked when an operation is removed from a block. More... | |
| void | transferNodesFromList (ilist_traits< Operation > &otherList, op_iterator first, op_iterator last) |
| This is a trait method invoked when an operation is moved from one block to another. More... | |
Static Public Member Functions | |
| static void | deleteNode (Operation *op) |
Definition at line 226 of file BlockSupport.h.
| using llvm::ilist_traits<::mlir::Operation >::op_iterator = simple_ilist<Operation>::iterator |
Definition at line 228 of file BlockSupport.h.
| using llvm::ilist_traits<::mlir::Operation >::Operation = ::mlir::Operation |
Definition at line 227 of file BlockSupport.h.
| void llvm::ilist_traits<::mlir::Operation >::addNodeToList | ( | Operation * | op | ) |
This is a trait method invoked when an operation is added to a block.
We keep the block pointer up to date.
Definition at line 501 of file Operation.cpp.
References mlir::Operation::getBlock().
|
static |
Definition at line 489 of file Operation.cpp.
References mlir::Operation::destroy().
| void llvm::ilist_traits<::mlir::Operation >::removeNodeFromList | ( | Operation * | op | ) |
This is a trait method invoked when an operation is removed from a block.
We keep the block pointer up to date.
Definition at line 511 of file Operation.cpp.
| void llvm::ilist_traits<::mlir::Operation >::transferNodesFromList | ( | ilist_traits< Operation > & | otherList, |
| op_iterator | first, | ||
| op_iterator | last | ||
| ) |
This is a trait method invoked when an operation is moved from one block to another.
We keep the block pointer up to date.
Definition at line 518 of file Operation.cpp.
References mlir::Block::invalidateOpOrder().