MLIR 22.0.0git
mlir::AsmParserState::BlockDefinition Struct Reference

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

#include "mlir/AsmParser/AsmParserState.h"

Public Member Functions

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

Public Attributes

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

Detailed Description

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

Definition at line 81 of file AsmParserState.h.

Constructor & Destructor Documentation

◆ BlockDefinition()

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

Definition at line 82 of file AsmParserState.h.

References block.

Member Data Documentation

◆ arguments

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

Source definitions for any arguments of this block.

Definition at line 93 of file AsmParserState.h.

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

◆ block

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

The block representing this definition.

Definition at line 86 of file AsmParserState.h.

Referenced by BlockDefinition(), 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 90 of file AsmParserState.h.

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


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