CIRCT  20.0.0git
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
LocationEmitter Class Reference
Collaboration diagram for LocationEmitter:
Collaboration graph
[legend]

Classes

struct  Impl
 

Public Member Functions

 LocationEmitter (LoweringOptions::LocationInfoStyle style, Location loc)
 
 LocationEmitter (LoweringOptions::LocationInfoStyle style, const SmallPtrSetImpl< Operation * > &ops)
 
StringRef strref ()
 

Private Member Functions

void emitLocationSetInfo (llvm::raw_string_ostream &os, LoweringOptions::LocationInfoStyle style, const SmallPtrSetImpl< Attribute > &locationSet)
 

Private Attributes

std::string output
 

Detailed Description

Definition at line 473 of file ExportVerilog.cpp.

Constructor & Destructor Documentation

◆ LocationEmitter() [1/2]

LocationEmitter::LocationEmitter ( LoweringOptions::LocationInfoStyle  style,
Location  loc 
)
inline

Definition at line 476 of file ExportVerilog.cpp.

◆ LocationEmitter() [2/2]

LocationEmitter::LocationEmitter ( LoweringOptions::LocationInfoStyle  style,
const SmallPtrSetImpl< Operation * > &  ops 
)
inline

Definition at line 484 of file ExportVerilog.cpp.

References collectAndUniqueLocations().

Member Function Documentation

◆ emitLocationSetInfo()

void LocationEmitter::emitLocationSetInfo ( llvm::raw_string_ostream &  os,
LoweringOptions::LocationInfoStyle  style,
const SmallPtrSetImpl< Attribute > &  locationSet 
)
inlineprivate

Definition at line 499 of file ExportVerilog.cpp.

References assert().

◆ strref()

StringRef LocationEmitter::strref ( )
inline

Definition at line 496 of file ExportVerilog.cpp.

Member Data Documentation

◆ output

std::string LocationEmitter::output
private

Definition at line 516 of file ExportVerilog.cpp.


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