MLIR  20.0.0git
Classes | Public Member Functions | Public Attributes | List of all members
mlir::AsmParserState::OperationDefinition Struct Reference

This class represents the information for an operation definition within an input file. More...

#include "mlir/AsmParser/AsmParserState.h"

Classes

struct  ResultGroupDefinition
 

Public Member Functions

 OperationDefinition (Operation *op, SMRange loc, SMLoc endLoc)
 

Public Attributes

Operationop
 The operation representing this definition. More...
 
SMRange loc
 The source location for the operation, i.e. the location of its name. More...
 
SMRange scopeLoc
 The full source range of the operation definition, i.e. More...
 
SmallVector< ResultGroupDefinitionresultGroups
 Source definitions for any result groups of this operation. More...
 
SmallVector< SMRange > symbolUses
 If this operation is a symbol operation, this vector contains symbol uses of this operation. More...
 

Detailed Description

This class represents the information for an operation definition within an input file.

Definition at line 47 of file AsmParserState.h.

Constructor & Destructor Documentation

◆ OperationDefinition()

mlir::AsmParserState::OperationDefinition::OperationDefinition ( Operation op,
SMRange  loc,
SMLoc  endLoc 
)
inline

Definition at line 58 of file AsmParserState.h.

Member Data Documentation

◆ loc

SMRange mlir::AsmParserState::OperationDefinition::loc

The source location for the operation, i.e. the location of its name.

Definition at line 65 of file AsmParserState.h.

◆ op

Operation* mlir::AsmParserState::OperationDefinition::op

The operation representing this definition.

Definition at line 62 of file AsmParserState.h.

◆ resultGroups

SmallVector<ResultGroupDefinition> mlir::AsmParserState::OperationDefinition::resultGroups

Source definitions for any result groups of this operation.

Definition at line 72 of file AsmParserState.h.

Referenced by mlir::AsmParserState::addUses().

◆ scopeLoc

SMRange mlir::AsmParserState::OperationDefinition::scopeLoc

The full source range of the operation definition, i.e.

a range encompassing the start and end of the full operation definition.

Definition at line 69 of file AsmParserState.h.

◆ symbolUses

SmallVector<SMRange> mlir::AsmParserState::OperationDefinition::symbolUses

If this operation is a symbol operation, this vector contains symbol uses of this operation.

Definition at line 76 of file AsmParserState.h.


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