MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::plug::ll::BB Struct Reference

#include </home/runner/work/mimir/mimir/src/mim/plug/ll/include/mim/plug/ll/ll.h>

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, std::format_string< Args... > s, Args &&... args)
template<class... Args>
void tail (std::format_string< Args... > s, Args &&... args)

Public Attributes

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

Friends

void swap (BB &a, BB &b) noexcept

Detailed Description

Definition at line 77 of file ll.h.

Constructor & Destructor Documentation

◆ BB() [1/3]

mim::plug::ll::BB::BB ( )
default

Referenced by BB(), BB(), operator=(), and swap.

◆ BB() [2/3]

mim::plug::ll::BB::BB ( const BB & )
delete

References BB().

◆ BB() [3/3]

mim::plug::ll::BB::BB ( BB && other)
defaultnoexcept

References BB().

Member Function Documentation

◆ assign()

template<class... Args>
std::string mim::plug::ll::BB::assign ( std::string_view name,
std::format_string< Args... > s,
Args &&... args )
inline

Definition at line 88 of file ll.h.

References body().

Referenced by mim::plug::ll::Emitter::emit_bb().

◆ body()

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

Definition at line 84 of file ll.h.

References parts.

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

◆ head()

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

Definition at line 83 of file ll.h.

References parts.

◆ operator=()

BB & mim::plug::ll::BB::operator= ( BB other)
inlinenoexcept

Definition at line 81 of file ll.h.

References BB(), and swap.

◆ tail() [1/2]

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

Definition at line 85 of file ll.h.

References parts.

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

◆ tail() [2/2]

template<class... Args>
void mim::plug::ll::BB::tail ( std::format_string< Args... > s,
Args &&... args )
inline

Definition at line 96 of file ll.h.

References tail().

◆ swap

void swap ( BB & a,
BB & b )
friend

Definition at line 100 of file ll.h.

References BB(), and swap.

Referenced by operator=(), and swap.

Member Data Documentation

◆ parts

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

Definition at line 107 of file ll.h.

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

◆ phis

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

Definition at line 106 of file ll.h.


The documentation for this struct was generated from the following file:
  • src/mim/plug/ll/include/mim/plug/ll/ll.h