CIRCT 20.0.0git
|
Public Member Functions | |
Impl (llvm::raw_string_ostream &os, LoweringOptions::LocationInfoStyle style, const SmallPtrSetImpl< Attribute > &locationSet) | |
void | emitLocationInfo (mlir::CallSiteLoc loc) |
void | emitLocationInfo (mlir::NameLoc loc) |
void | emitLocationInfo (FileLineColLoc loc) |
void | printFileLineColSetInfo (llvm::SmallVector< FileLineColLoc, 8 > locVector) |
void | emitLocationInfo (Location loc) |
Return the location information in the specified style. | |
void | emitLocationSetInfoImpl (const SmallPtrSetImpl< Attribute > &locationSet) |
Emit the location information of locationSet to sstr . | |
Public Attributes | |
llvm::raw_string_ostream & | os |
LoweringOptions::LocationInfoStyle | style |
Definition at line 518 of file ExportVerilog.cpp.
|
inline |
Definition at line 521 of file ExportVerilog.cpp.
References emitLocationSetInfoImpl().
|
inline |
Definition at line 548 of file ExportVerilog.cpp.
References os.
|
inline |
Return the location information in the specified style.
This is the main dispatch function for calling the location-specific routines.
Definition at line 608 of file ExportVerilog.cpp.
References collectAndUniqueLocations(), emitLocationInfo(), and emitLocationSetInfoImpl().
|
inline |
Definition at line 528 of file ExportVerilog.cpp.
References emitLocationInfo(), and os.
Referenced by emitLocationInfo(), emitLocationInfo(), emitLocationInfo(), and emitLocationSetInfoImpl().
|
inline |
Definition at line 537 of file ExportVerilog.cpp.
References emitLocationInfo(), and os.
|
inline |
Emit the location information of locationSet
to sstr
.
The emitted string may potentially be an empty string given the contents of the locationSet
.
Definition at line 627 of file ExportVerilog.cpp.
References emitLocationInfo(), os, printFileLineColSetInfo(), and sortLocationVector().
Referenced by emitLocationInfo(), and Impl().
|
inline |
Definition at line 561 of file ExportVerilog.cpp.
References circt::pretty::end, and os.
Referenced by emitLocationSetInfoImpl().
llvm::raw_string_ostream& LocationEmitter::Impl::os |
Definition at line 688 of file ExportVerilog.cpp.
Referenced by emitLocationInfo(), emitLocationInfo(), emitLocationInfo(), emitLocationSetInfoImpl(), and printFileLineColSetInfo().
LoweringOptions::LocationInfoStyle LocationEmitter::Impl::style |
Definition at line 689 of file ExportVerilog.cpp.