MLIR  16.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::AsmParserState::BlockDefinition Struct Reference

This class represents the information for a block definition within the input file. More...

#include "mlir/AsmParser/AsmParserState.h"

+ Collaboration diagram for mlir::AsmParserState::BlockDefinition:

Public Member Functions

 BlockDefinition (Block *block, SMRange loc={})
 

Public Attributes

Blockblock
 The block representing this definition. More...
 
SMDefinition definition
 The source location for the block, i.e. More...
 
SmallVector< SMDefinitionarguments
 Source definitions for any arguments of this block. More...
 

Detailed Description

This class represents the information for a block definition within the input file.

Definition at line 82 of file AsmParserState.h.

Constructor & Destructor Documentation

◆ BlockDefinition()

mlir::AsmParserState::BlockDefinition::BlockDefinition ( Block block,
SMRange  loc = {} 
)
inline

Definition at line 83 of file AsmParserState.h.

References mlir::AsmParserState::SMDefinition::loc.

Member Data Documentation

◆ arguments

SmallVector<SMDefinition> mlir::AsmParserState::BlockDefinition::arguments

Source definitions for any arguments of this block.

Definition at line 94 of file AsmParserState.h.

◆ block

Block* mlir::AsmParserState::BlockDefinition::block

The block representing this definition.

Definition at line 87 of file AsmParserState.h.

Referenced by getLspDiagnoticFromDiag(), and printDefBlockName().

◆ definition

SMDefinition mlir::AsmParserState::BlockDefinition::definition

The source location for the block, i.e.

the location of its name, and any uses it has.

Definition at line 91 of file AsmParserState.h.

Referenced by mlir::AsmParserState::addUses(), and printDefBlockName().


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