|
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 Types inherited from mini_llvm::ir::Value | |
| using | use_iterator = IndirectIterator<UseSet::iterator, UseBase> |
Public Member Functions | |
| 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::shared_ptr< Instruction > I) |
| Instruction & | prepend (std::shared_ptr< Instruction > I) |
| Instruction & | append (std::shared_ptr< Instruction > I) |
| template<typename T> requires std::derived_from<T, Instruction> | |
| T & | add (const_iterator pos, std::shared_ptr< T > I) |
| template<typename T> requires std::derived_from<T, Instruction> | |
| T & | prepend (std::shared_ptr< T > I) |
| template<typename T> requires std::derived_from<T, Instruction> | |
| T & | append (std::shared_ptr< T > I) |
| void | remove (const_iterator pos) |
| void | removeFirst () |
| void | removeLast () |
| void | clear () |
| Function * | parent () const |
| Function::iterator | parentIterator () const |
| bool | isWellFormed () const override |
| std::unique_ptr< Type > | type () const override |
| std::string | format () const override |
| std::string | formatAsOperand () const override |
| std::string | formatAsLabel () const |
| std::unique_ptr< Value > | clone () const override |
| Public Member Functions inherited from mini_llvm::ir::Value | |
| virtual | ~Value ()=default |
| Value ()=default | |
| Value (const Value &)=delete | |
| Value & | operator= (const Value &)=delete |
| Value (Value &&)=delete | |
| Value & | operator= (Value &&)=delete |
| const std::string & | name () const & |
| std::string && | name () && |
| void | setName (std::string name) |
| std::string | formatName () const |
| use_iterator | use_begin () const |
| use_iterator | use_end () const |
| bool | use_empty () const |
| size_t | use_size () const |
Friends | |
| class | Function |
| using mini_llvm::ir::BasicBlock::const_iterator = IndirectIterator<InstructionList::const_iterator, const Instruction> |
| using mini_llvm::ir::BasicBlock::const_reverse_iterator = IndirectIterator<InstructionList::const_reverse_iterator, const Instruction> |
| using mini_llvm::ir::BasicBlock::iterator = IndirectIterator<InstructionList::iterator, Instruction> |
| using mini_llvm::ir::BasicBlock::reverse_iterator = IndirectIterator<InstructionList::reverse_iterator, Instruction> |
| Instruction & mini_llvm::ir::BasicBlock::add | ( | const_iterator | pos, |
| std::shared_ptr< Instruction > | I ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void mini_llvm::ir::BasicBlock::clear | ( | ) |
|
inlineoverridevirtual |
Implements mini_llvm::ir::Value.
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Implements mini_llvm::ir::Value.
|
inline |
|
inlineoverridevirtual |
Implements mini_llvm::ir::Value.
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from mini_llvm::ir::Value.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void mini_llvm::ir::BasicBlock::remove | ( | const_iterator | pos | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements mini_llvm::ir::Value.
|
friend |