|
My Project
|
#include <OperationSupport.h>
Public Member Functions | |
| ResizableStorage (OpOperand *opBegin, unsigned numOperands) | |
| ~ResizableStorage () | |
| void | cleanupStorage () |
| Cleanup any allocated storage. More... | |
| void | setDynamicStorage (OpOperand *opBegin) |
| Sets the storage pointer to a new dynamically allocated block. More... | |
| OpOperand * | getPointer () |
| Returns the current storage pointer. More... | |
| bool | isStorageDynamic () const |
Public Attributes | |
| llvm::PointerIntPair< OpOperand *, 1, bool > | firstOpAndIsDynamic |
| unsigned | capacity |
A utility class holding the information necessary to dynamically resize operands.
|
inline |
|
inline |
|
inline |
Cleanup any allocated storage.
|
inline |
Returns the current storage pointer.
|
inline |
Returns if the current storage of operands is in the trailing objects is in a dynamically allocated memory block.
|
inline |
Sets the storage pointer to a new dynamically allocated block.
Cleanup the old storage if necessary.
| unsigned mlir::detail::ResizableStorage::capacity |
| llvm::PointerIntPair<OpOperand *, 1, bool> mlir::detail::ResizableStorage::firstOpAndIsDynamic |
A pointer to the first operand element. This is either to the trailing objects storage, or a dynamically allocated block of memory.
1.8.13