MLIR 22.0.0git
mlir::tblgen::Operator::OperandAttrOrProp Struct Reference

Pair consisting kind of argument and index into operands, attributes, or properties. More...

#include "mlir/TableGen/Operator.h"

Public Types

enum class  Kind { Operand = 0x0 , Attribute = 0x1 , Property = 0x2 }

Public Member Functions

 OperandAttrOrProp (Kind kind, int index)
int operandOrAttributeIndex () const
Kind kind () const

Detailed Description

Pair consisting kind of argument and index into operands, attributes, or properties.

Definition at line 328 of file Operator.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Operand 
Attribute 
Property 

Definition at line 329 of file Operator.h.

Constructor & Destructor Documentation

◆ OperandAttrOrProp()

mlir::tblgen::Operator::OperandAttrOrProp::OperandAttrOrProp ( Kind kind,
int index )
inline

Definition at line 330 of file Operator.h.

References kind().

Member Function Documentation

◆ kind()

Kind mlir::tblgen::Operator::OperandAttrOrProp::kind ( ) const
inline

Definition at line 334 of file Operator.h.

Referenced by OperandAttrOrProp().

◆ operandOrAttributeIndex()

int mlir::tblgen::Operator::OperandAttrOrProp::operandOrAttributeIndex ( ) const
inline

Definition at line 333 of file Operator.h.


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