|
mini-llvm 0.1.0
|
#include <BasicBlock.h>
Public Types | |
| using | iterator = IndirectIterator<InstructionList::iterator, Instruction> |
| using | const_iterator = IndirectIterator<InstructionList::const_iterator, const Instruction> |
| using | reverse_iterator = IndirectIterator<InstructionList::reverse_iterator, Instruction> |
| using | const_reverse_iterator = IndirectIterator<InstructionList::const_reverse_iterator, const Instruction> |
Public Member Functions | |
| BasicBlock ()=default | |
| BasicBlock (const BasicBlock &)=delete | |
| BasicBlock (BasicBlock &&)=delete | |
| BasicBlock & | operator= (const BasicBlock &)=delete |
| BasicBlock & | operator= (BasicBlock &&)=delete |
| const std::string & | name () const & |
| std::string && | name () && |
| void | setName (std::string name) |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| Instruction & | front () |
| const Instruction & | front () const |
| Instruction & | back () |
| const Instruction & | back () const |
| bool | empty () const |
| size_t | size () const |
| Instruction & | add (const_iterator pos, std::unique_ptr< Instruction > I) |
| Instruction & | prepend (std::unique_ptr< Instruction > I) |
| Instruction & | append (std::unique_ptr< Instruction > I) |
| template<typename T> requires std::derived_from<T, Instruction> | |
| T & | add (const_iterator pos, std::unique_ptr< T > I) |
| template<typename T> requires std::derived_from<T, Instruction> | |
| T & | prepend (std::unique_ptr< T > I) |
| template<typename T> requires std::derived_from<T, Instruction> | |
| T & | append (std::unique_ptr< T > I) |
| std::unique_ptr< Instruction > | remove (const_iterator pos) |
| std::unique_ptr< Instruction > | removeFirst () |
| std::unique_ptr< Instruction > | removeLast () |
| void | replace (const_iterator pos, std::unique_ptr< Instruction > I) |
| void | clear () |
| template<typename I> requires std::input_iterator<I> | |
| void | assign (I first, I last) |
| template<typename R> requires std::ranges::range<R> | |
| void | assign_range (R &&range) |
| std::string | format () const |
| std::string | formatAsOperand () const |
| using mini_llvm::mir::BasicBlock::const_iterator = IndirectIterator<InstructionList::const_iterator, const Instruction> |
| using mini_llvm::mir::BasicBlock::const_reverse_iterator = IndirectIterator<InstructionList::const_reverse_iterator, const Instruction> |
| using mini_llvm::mir::BasicBlock::iterator = IndirectIterator<InstructionList::iterator, Instruction> |
| using mini_llvm::mir::BasicBlock::reverse_iterator = IndirectIterator<InstructionList::reverse_iterator, Instruction> |
|
default |
|
delete |
|
delete |
| Instruction & mini_llvm::mir::BasicBlock::add | ( | const_iterator | pos, |
| std::unique_ptr< Instruction > | I ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void mini_llvm::mir::BasicBlock::clear | ( | ) |
|
inline |
|
inline |
|
inline |
| std::string mini_llvm::mir::BasicBlock::format | ( | ) | const |
| std::string mini_llvm::mir::BasicBlock::formatAsOperand | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
| std::unique_ptr< Instruction > mini_llvm::mir::BasicBlock::remove | ( | const_iterator | pos | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| void mini_llvm::mir::BasicBlock::replace | ( | const_iterator | pos, |
| std::unique_ptr< Instruction > | I ) |
|
inline |
|
inline |