Jlm
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
jlm::llvm::ThreeAddressCodeList Class Referencefinal

#include <tac.hpp>

Public Types

typedef std::list< ThreeAddressCode * >::const_iterator const_iterator
 
typedef std::list< ThreeAddressCode * >::const_reverse_iterator const_reverse_iterator
 

Public Member Functions

 ~ThreeAddressCodeList () noexcept
 
 ThreeAddressCodeList ()=default
 
 ThreeAddressCodeList (const ThreeAddressCodeList &)=delete
 
 ThreeAddressCodeList (ThreeAddressCodeList &&other) noexcept
 
ThreeAddressCodeList & operator= (const ThreeAddressCodeList &)=delete
 
ThreeAddressCodeList & operator= (ThreeAddressCodeList &&other) noexcept
 
const_iterator begin () const noexcept
 
const_reverse_iterator rbegin () const noexcept
 
const_iterator end () const noexcept
 
const_reverse_iterator rend () const noexcept
 
ThreeAddressCode * insert_before (const const_iterator &it, std::unique_ptr< llvm::ThreeAddressCode > tac)
 
void insert_before (const const_iterator &it, ThreeAddressCodeList &tl)
 
void append_last (std::unique_ptr< llvm::ThreeAddressCode > tac)
 
void append_first (std::unique_ptr< llvm::ThreeAddressCode > tac)
 
void append_first (ThreeAddressCodeList &tl)
 
size_t ntacs () const noexcept
 
ThreeAddressCode * first () const noexcept
 
ThreeAddressCode * last () const noexcept
 
std::unique_ptr< ThreeAddressCode > pop_first () noexcept
 
std::unique_ptr< ThreeAddressCode > pop_last () noexcept
 
void drop_first ()
 
void drop_last ()
 

Private Attributes

std::list< ThreeAddressCode * > tacs_
 

Detailed Description

Definition at line 225 of file tac.hpp.

Member Typedef Documentation

◆ const_iterator

Definition at line 228 of file tac.hpp.

◆ const_reverse_iterator

Definition at line 229 of file tac.hpp.

Constructor & Destructor Documentation

◆ ~ThreeAddressCodeList()

jlm::llvm::ThreeAddressCodeList::~ThreeAddressCodeList ( )
noexcept

Definition at line 15 of file tac.cpp.

◆ ThreeAddressCodeList() [1/3]

jlm::llvm::ThreeAddressCodeList::ThreeAddressCodeList ( )
default

◆ ThreeAddressCodeList() [2/3]

jlm::llvm::ThreeAddressCodeList::ThreeAddressCodeList ( const ThreeAddressCodeList &  )
delete

◆ ThreeAddressCodeList() [3/3]

jlm::llvm::ThreeAddressCodeList::ThreeAddressCodeList ( ThreeAddressCodeList &&  other)
inlinenoexcept

Definition at line 237 of file tac.hpp.

Member Function Documentation

◆ append_first() [1/2]

void jlm::llvm::ThreeAddressCodeList::append_first ( std::unique_ptr< llvm::ThreeAddressCode >  tac)
inline

Definition at line 302 of file tac.hpp.

◆ append_first() [2/2]

void jlm::llvm::ThreeAddressCodeList::append_first ( ThreeAddressCodeList &  tl)
inline

Definition at line 308 of file tac.hpp.

◆ append_last()

void jlm::llvm::ThreeAddressCodeList::append_last ( std::unique_ptr< llvm::ThreeAddressCode >  tac)
inline

Definition at line 296 of file tac.hpp.

◆ begin()

const_iterator jlm::llvm::ThreeAddressCodeList::begin ( ) const
inlinenoexcept

Definition at line 260 of file tac.hpp.

◆ drop_first()

void jlm::llvm::ThreeAddressCodeList::drop_first ( )
inline

Definition at line 349 of file tac.hpp.

◆ drop_last()

void jlm::llvm::ThreeAddressCodeList::drop_last ( )
inline

Definition at line 356 of file tac.hpp.

◆ end()

const_iterator jlm::llvm::ThreeAddressCodeList::end ( ) const
inlinenoexcept

Definition at line 272 of file tac.hpp.

◆ first()

ThreeAddressCode * jlm::llvm::ThreeAddressCodeList::first ( ) const
inlinenoexcept

Definition at line 321 of file tac.hpp.

◆ insert_before() [1/2]

ThreeAddressCode * jlm::llvm::ThreeAddressCodeList::insert_before ( const const_iterator &  it,
std::unique_ptr< llvm::ThreeAddressCode >  tac 
)
inline

Definition at line 284 of file tac.hpp.

◆ insert_before() [2/2]

void jlm::llvm::ThreeAddressCodeList::insert_before ( const const_iterator &  it,
ThreeAddressCodeList &  tl 
)
inline

Definition at line 290 of file tac.hpp.

◆ last()

ThreeAddressCode * jlm::llvm::ThreeAddressCodeList::last ( ) const
inlinenoexcept

Definition at line 327 of file tac.hpp.

◆ ntacs()

size_t jlm::llvm::ThreeAddressCodeList::ntacs ( ) const
inlinenoexcept

Definition at line 315 of file tac.hpp.

◆ operator=() [1/2]

ThreeAddressCodeList & jlm::llvm::ThreeAddressCodeList::operator= ( const ThreeAddressCodeList &  )
delete

◆ operator=() [2/2]

ThreeAddressCodeList & jlm::llvm::ThreeAddressCodeList::operator= ( ThreeAddressCodeList &&  other)
inlinenoexcept

Definition at line 245 of file tac.hpp.

◆ pop_first()

std::unique_ptr< ThreeAddressCode > jlm::llvm::ThreeAddressCodeList::pop_first ( )
inlinenoexcept

Definition at line 333 of file tac.hpp.

◆ pop_last()

std::unique_ptr< ThreeAddressCode > jlm::llvm::ThreeAddressCodeList::pop_last ( )
inlinenoexcept

Definition at line 341 of file tac.hpp.

◆ rbegin()

const_reverse_iterator jlm::llvm::ThreeAddressCodeList::rbegin ( ) const
inlinenoexcept

Definition at line 266 of file tac.hpp.

◆ rend()

const_reverse_iterator jlm::llvm::ThreeAddressCodeList::rend ( ) const
inlinenoexcept

Definition at line 278 of file tac.hpp.

Member Data Documentation

◆ tacs_

std::list<ThreeAddressCode *> jlm::llvm::ThreeAddressCodeList::tacs_
private

Definition at line 363 of file tac.hpp.


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