MLIR  16.0.0git
mlir::AsmParserState::OperationDefinition Struct Reference

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

#include "mlir/AsmParser/AsmParserState.h"

Collaboration diagram for mlir::AsmParserState::OperationDefinition:

## 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 48 of file AsmParserState.h.

## ◆ OperationDefinition()

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

Definition at line 59 of file AsmParserState.h.

## ◆ loc

 SMRange mlir::AsmParserState::OperationDefinition::loc

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

Definition at line 66 of file AsmParserState.h.

## ◆ op

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

The operation representing this definition.

Definition at line 63 of file AsmParserState.h.

Referenced by getLspDiagnoticFromDiag().

## ◆ resultGroups

 SmallVector mlir::AsmParserState::OperationDefinition::resultGroups

Source definitions for any result groups of this operation.

Definition at line 73 of file AsmParserState.h.

## ◆ 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 70 of file AsmParserState.h.

## ◆ symbolUses

 SmallVector mlir::AsmParserState::OperationDefinition::symbolUses

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

Definition at line 77 of file AsmParserState.h.

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