MLIR
20.0.0git
|
This class represents a definition within the source manager, containing it's defining location and locations of any uses. More...
#include "mlir/AsmParser/AsmParserState.h"
Public Member Functions | |
SMDefinition ()=default | |
SMDefinition (SMRange loc) | |
Public Attributes | |
SMRange | loc |
The source location of the definition. More... | |
SmallVector< SMRange > | uses |
The source location of all uses of the definition. More... | |
This class represents a definition within the source manager, containing it's defining location and locations of any uses.
SMDefinitions are only provided for entities that have uses within an input file, e.g. SSA values, Blocks, and Symbols.
Definition at line 35 of file AsmParserState.h.
|
default |
|
inline |
Definition at line 37 of file AsmParserState.h.
SMRange mlir::AsmParserState::SMDefinition::loc |
The source location of the definition.
Definition at line 40 of file AsmParserState.h.
Referenced by mlir::AsmParserState::addAttrAliasDefinition(), isDefOrUse(), and printDefBlockName().
SmallVector<SMRange> mlir::AsmParserState::SMDefinition::uses |
The source location of all uses of the definition.
Definition at line 42 of file AsmParserState.h.
Referenced by mlir::AsmParserState::addAttrAliasUses(), mlir::AsmParserState::addTypeAliasUses(), mlir::AsmParserState::addUses(), and isDefOrUse().