Project Alice
Loading...
Searching...
No Matches
fif::type_stack Class Reference

#include <fif.hpp>

Inheritance diagram for fif::type_stack:
Collaboration diagram for fif::type_stack:

Public Member Functions

virtual void pop_main () override
 
virtual void pop_return () override
 
virtual void resize (size_t main_sz, size_t return_sz) override
 
virtual int64_t main_data (size_t index) const override
 
virtual int64_t return_data (size_t index) const override
 
virtual LLVMValueRef main_ex (size_t index) const override
 
virtual LLVMValueRef return_ex (size_t index) const override
 
virtual int64_t main_data_back (size_t index) const override
 
virtual int64_t return_data_back (size_t index) const override
 
virtual LLVMValueRef main_ex_back (size_t index) const override
 
virtual LLVMValueRef return_ex_back (size_t index) const override
 
virtual stack_type get_type () const override
 
virtual void set_main_data (size_t index, int64_t value) override
 
virtual void set_return_data (size_t index, int64_t value) override
 
virtual void set_main_ex (size_t index, LLVMValueRef value) override
 
virtual void set_return_ex (size_t index, LLVMValueRef value) override
 
virtual void set_main_data_back (size_t index, int64_t value) override
 
virtual void set_return_data_back (size_t index, int64_t value) override
 
virtual void set_main_ex_back (size_t index, LLVMValueRef value) override
 
virtual void set_return_ex_back (size_t index, LLVMValueRef value) override
 
virtual void move_into (state_stack &&other) override
 
virtual void copy_into (state_stack const &other) override
 
virtual void push_back_main (int32_t type, int64_t data, LLVMValueRef expr) override
 
virtual void push_back_return (int32_t type, int64_t data, LLVMValueRef expr) override
 
virtual std::unique_ptr< state_stackcopy () const override
 
- Public Member Functions inherited from fif::state_stack
void mark_used_from_main (size_t count)
 
void mark_used_from_return (size_t count)
 
 state_stack ()=default
 
 state_stack (state_stack &&)=default
 
 state_stack (const state_stack &)=default
 
virtual ~state_stack ()=default
 
virtual void pop_main ()=0
 
virtual void pop_return ()=0
 
virtual int64_t main_data (size_t index) const =0
 
virtual int64_t return_data (size_t index) const =0
 
virtual LLVMValueRef main_ex (size_t index) const =0
 
virtual LLVMValueRef return_ex (size_t index) const =0
 
virtual int64_t main_data_back (size_t index) const =0
 
virtual int64_t return_data_back (size_t index) const =0
 
virtual LLVMValueRef main_ex_back (size_t index) const =0
 
virtual LLVMValueRef return_ex_back (size_t index) const =0
 
virtual void set_main_data (size_t index, int64_t value)=0
 
virtual void set_return_data (size_t index, int64_t value)=0
 
virtual void set_main_ex (size_t index, LLVMValueRef value)=0
 
virtual void set_return_ex (size_t index, LLVMValueRef value)=0
 
virtual void set_main_data_back (size_t index, int64_t value)=0
 
virtual void set_return_data_back (size_t index, int64_t value)=0
 
virtual void set_main_ex_back (size_t index, LLVMValueRef value)=0
 
virtual void set_return_ex_back (size_t index, LLVMValueRef value)=0
 
virtual stack_type get_type () const =0
 
virtual void move_into (state_stack &&other)=0
 
virtual void copy_into (state_stack const &other)=0
 
virtual void push_back_main (int32_t type, int64_t data, LLVMValueRef expr)=0
 
virtual void push_back_return (int32_t type, int64_t data, LLVMValueRef expr)=0
 
virtual std::unique_ptr< state_stackcopy () const =0
 
virtual void resize (size_t main_sz, size_t return_sz)=0
 
size_t main_size () const
 
size_t return_size () const
 
int32_t main_type (size_t index) const
 
int32_t return_type (size_t index) const
 
int32_t main_type_back (size_t index) const
 
int32_t return_type_back (size_t index) const
 
void set_main_type (size_t index, int32_t type)
 
void set_return_type (size_t index, int32_t type)
 
void set_main_type_back (size_t index, int32_t type)
 
void set_return_type_back (size_t index, int32_t type)
 

Additional Inherited Members

- Public Attributes inherited from fif::state_stack
size_t min_main_depth = 0
 
size_t min_return_depth = 0
 
- Protected Attributes inherited from fif::state_stack
std::vector< int32_t > main_types
 
std::vector< int32_t > return_types
 

Detailed Description

Definition at line 300 of file fif.hpp.

Member Function Documentation

◆ copy()

virtual std::unique_ptr< state_stack > fif::type_stack::copy ( ) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 397 of file fif.hpp.

◆ copy_into()

virtual void fif::type_stack::copy_into ( state_stack const &  other)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 381 of file fif.hpp.

◆ get_type()

virtual stack_type fif::type_stack::get_type ( ) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 344 of file fif.hpp.

◆ main_data()

virtual int64_t fif::type_stack::main_data ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 320 of file fif.hpp.

◆ main_data_back()

virtual int64_t fif::type_stack::main_data_back ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 332 of file fif.hpp.

◆ main_ex()

virtual LLVMValueRef fif::type_stack::main_ex ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 326 of file fif.hpp.

◆ main_ex_back()

virtual LLVMValueRef fif::type_stack::main_ex_back ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 338 of file fif.hpp.

◆ move_into()

virtual void fif::type_stack::move_into ( state_stack &&  other)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 371 of file fif.hpp.

◆ pop_main()

virtual void fif::type_stack::pop_main ( )
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 302 of file fif.hpp.

◆ pop_return()

virtual void fif::type_stack::pop_return ( )
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 308 of file fif.hpp.

◆ push_back_main()

virtual void fif::type_stack::push_back_main ( int32_t  type,
int64_t  data,
LLVMValueRef  expr 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 391 of file fif.hpp.

◆ push_back_return()

virtual void fif::type_stack::push_back_return ( int32_t  type,
int64_t  data,
LLVMValueRef  expr 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 394 of file fif.hpp.

◆ resize()

virtual void fif::type_stack::resize ( size_t  main_sz,
size_t  return_sz 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 314 of file fif.hpp.

◆ return_data()

virtual int64_t fif::type_stack::return_data ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 323 of file fif.hpp.

◆ return_data_back()

virtual int64_t fif::type_stack::return_data_back ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 335 of file fif.hpp.

◆ return_ex()

virtual LLVMValueRef fif::type_stack::return_ex ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 329 of file fif.hpp.

◆ return_ex_back()

virtual LLVMValueRef fif::type_stack::return_ex_back ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 341 of file fif.hpp.

◆ set_main_data()

virtual void fif::type_stack::set_main_data ( size_t  index,
int64_t  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 347 of file fif.hpp.

◆ set_main_data_back()

virtual void fif::type_stack::set_main_data_back ( size_t  index,
int64_t  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 359 of file fif.hpp.

◆ set_main_ex()

virtual void fif::type_stack::set_main_ex ( size_t  index,
LLVMValueRef  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 353 of file fif.hpp.

◆ set_main_ex_back()

virtual void fif::type_stack::set_main_ex_back ( size_t  index,
LLVMValueRef  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 365 of file fif.hpp.

◆ set_return_data()

virtual void fif::type_stack::set_return_data ( size_t  index,
int64_t  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 350 of file fif.hpp.

◆ set_return_data_back()

virtual void fif::type_stack::set_return_data_back ( size_t  index,
int64_t  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 362 of file fif.hpp.

◆ set_return_ex()

virtual void fif::type_stack::set_return_ex ( size_t  index,
LLVMValueRef  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 356 of file fif.hpp.

◆ set_return_ex_back()

virtual void fif::type_stack::set_return_ex_back ( size_t  index,
LLVMValueRef  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 368 of file fif.hpp.


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