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

#include "mlir/TableGen/Operator.h"

Public Types

enum  Kind { Kind::Operand, Kind::Attribute }
 

Public Member Functions

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

Detailed Description

Definition at line 287 of file Operator.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Operand 
Attribute 

Definition at line 288 of file Operator.h.

Constructor & Destructor Documentation

◆ OperandOrAttribute()

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

Definition at line 289 of file Operator.h.

Member Function Documentation

◆ kind()

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

Definition at line 293 of file Operator.h.

◆ operandOrAttributeIndex()

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

Definition at line 292 of file Operator.h.


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