Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
thorin::ll::BB Struct Reference

Public Member Functions

 BB ()=default
 
 BB (const BB &)=delete
 
 BB (BB &&other) noexcept=default
 
BBoperator= (BB other) noexcept
 
std::deque< std::ostringstream > & head ()
 
std::deque< std::ostringstream > & body ()
 
std::deque< std::ostringstream > & tail ()
 
template<class... Args>
std::string assign (std::string_view name, const char *s, Args &&... args)
 
template<class... Args>
void tail (const char *s, Args &&... args)
 

Public Attributes

DefMap< std::deque< std::pair< std::string, std::string > > > phis
 
std::array< std::deque< std::ostringstream >, 3 > parts
 

Detailed Description

Definition at line 86 of file ll.cpp.

Constructor & Destructor Documentation

◆ BB() [1/3]

thorin::ll::BB::BB ( )
default

◆ BB() [2/3]

thorin::ll::BB::BB ( const BB )
delete

◆ BB() [3/3]

thorin::ll::BB::BB ( BB &&  other)
defaultnoexcept

Member Function Documentation

◆ assign()

template<class... Args>
std::string thorin::ll::BB::assign ( std::string_view  name,
const char *  s,
Args &&...  args 
)
inline

Definition at line 96 of file ll.cpp.

References body(), and thorin::print().

Referenced by thorin::ll::Emitter::emit_bb().

◆ body()

std::deque< std::ostringstream > & thorin::ll::BB::body ( )
inline

Definition at line 93 of file ll.cpp.

References parts.

Referenced by assign(), and thorin::ll::Emitter::emit_bb().

◆ head()

std::deque< std::ostringstream > & thorin::ll::BB::head ( )
inline

Definition at line 92 of file ll.cpp.

References parts.

◆ operator=()

BB & thorin::ll::BB::operator= ( BB  other)
inlinenoexcept

Definition at line 90 of file ll.cpp.

References swap.

◆ tail() [1/2]

std::deque< std::ostringstream > & thorin::ll::BB::tail ( )
inline

Definition at line 94 of file ll.cpp.

References parts.

Referenced by thorin::ll::Emitter::emit_bb(), and tail().

◆ tail() [2/2]

template<class... Args>
void thorin::ll::BB::tail ( const char *  s,
Args &&...  args 
)
inline

Definition at line 101 of file ll.cpp.

References thorin::print(), and tail().

Member Data Documentation

◆ parts

std::array<std::deque<std::ostringstream>, 3> thorin::ll::BB::parts

Definition at line 112 of file ll.cpp.

Referenced by body(), head(), and tail().

◆ phis

DefMap<std::deque<std::pair<std::string, std::string> > > thorin::ll::BB::phis

Definition at line 111 of file ll.cpp.


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