MLIR  20.0.0git
Public Types | Public Member Functions | List of all members
mlir::tblgen::Operator::OperandOrAttribute Struct Reference

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

#include "mlir/TableGen/Operator.h"

Public Types

enum class  Kind { Operand , Attribute }
 

Public Member Functions

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

Detailed Description

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

Definition at line 327 of file Operator.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Operand 
Attribute 

Definition at line 328 of file Operator.h.

Constructor & Destructor Documentation

◆ OperandOrAttribute()

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

Definition at line 329 of file Operator.h.

References Attribute, and kind().

Member Function Documentation

◆ kind()

Kind mlir::tblgen::Operator::OperandOrAttribute::kind ( )
inline

Definition at line 333 of file Operator.h.

References Attribute, and Operand.

Referenced by OperandOrAttribute().

◆ operandOrAttributeIndex()

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

Definition at line 332 of file Operator.h.


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