MLIR 24.0.0git
mlir::detail::OperandParserStorage< N > Class Template Reference

Keep the cleanup of multiple generated parser operand groups out of each parser's early-return paths. More...

#include "mlir/IR/OpImplementation.h"

Public Types

using Group = llvm::SmallVector<OpAsmParser::UnresolvedOperand, 4>

Public Member Functions

LLVM_ATTRIBUTE_NOINLINE OperandParserStorage ()
LLVM_ATTRIBUTE_NOINLINE ~OperandParserStorage ()
Group & operator[] (size_t index)

Detailed Description

template<size_t N>
class mlir::detail::OperandParserStorage< N >

Keep the cleanup of multiple generated parser operand groups out of each parser's early-return paths.

The storage is shared across operations with the same number of groups.

Definition at line 1859 of file OpImplementation.h.

Member Typedef Documentation

◆ Group

Definition at line 1861 of file OpImplementation.h.

Constructor & Destructor Documentation

◆ OperandParserStorage()

template<size_t N>
LLVM_ATTRIBUTE_NOINLINE mlir::detail::OperandParserStorage< N >::OperandParserStorage ( )
inline

Definition at line 1863 of file OpImplementation.h.

◆ ~OperandParserStorage()

template<size_t N>
LLVM_ATTRIBUTE_NOINLINE mlir::detail::OperandParserStorage< N >::~OperandParserStorage ( )
inline

Definition at line 1864 of file OpImplementation.h.

Member Function Documentation

◆ operator[]()

template<size_t N>
Group & mlir::detail::OperandParserStorage< N >::operator[] ( size_t index)
inline

Definition at line 1866 of file OpImplementation.h.


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