Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::simulation::PureAlu Class Reference

#include <pure_alu.hpp>

Inheritance diagram for bb::avm2::simulation::PureAlu:
bb::avm2::simulation::AluInterface

Public Member Functions

 PureAlu ()=default
 
 ~PureAlu () override=default
 
 PureAlu (const PureAlu &)=delete
 
PureAluoperator= (const PureAlu &)=delete
 
 PureAlu (PureAlu &&)=delete
 
PureAluoperator= (PureAlu &&)=delete
 
MemoryValue add (const MemoryValue &a, const MemoryValue &b) override
 
MemoryValue sub (const MemoryValue &a, const MemoryValue &b) override
 
MemoryValue mul (const MemoryValue &a, const MemoryValue &b) override
 
MemoryValue div (const MemoryValue &a, const MemoryValue &b) override
 
MemoryValue fdiv (const MemoryValue &a, const MemoryValue &b) override
 
MemoryValue eq (const MemoryValue &a, const MemoryValue &b) override
 
MemoryValue lt (const MemoryValue &a, const MemoryValue &b) override
 
MemoryValue lte (const MemoryValue &a, const MemoryValue &b) override
 
MemoryValue op_not (const MemoryValue &a) override
 
MemoryValue truncate (const FF &a, MemoryTag dst_tag) override
 
MemoryValue shr (const MemoryValue &a, const MemoryValue &b) override
 
MemoryValue shl (const MemoryValue &a, const MemoryValue &b) override
 
- Public Member Functions inherited from bb::avm2::simulation::AluInterface
virtual ~AluInterface ()=default
 

Detailed Description

Definition at line 8 of file pure_alu.hpp.

Constructor & Destructor Documentation

◆ PureAlu() [1/3]

bb::avm2::simulation::PureAlu::PureAlu ( )
default

◆ ~PureAlu()

bb::avm2::simulation::PureAlu::~PureAlu ( )
overridedefault

◆ PureAlu() [2/3]

bb::avm2::simulation::PureAlu::PureAlu ( const PureAlu )
delete

◆ PureAlu() [3/3]

bb::avm2::simulation::PureAlu::PureAlu ( PureAlu &&  )
delete

Member Function Documentation

◆ add()

MemoryValue bb::avm2::simulation::PureAlu::add ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 11 of file pure_alu.cpp.

◆ div()

MemoryValue bb::avm2::simulation::PureAlu::div ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 38 of file pure_alu.cpp.

◆ eq()

MemoryValue bb::avm2::simulation::PureAlu::eq ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 67 of file pure_alu.cpp.

◆ fdiv()

MemoryValue bb::avm2::simulation::PureAlu::fdiv ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 53 of file pure_alu.cpp.

◆ lt()

MemoryValue bb::avm2::simulation::PureAlu::lt ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 76 of file pure_alu.cpp.

◆ lte()

MemoryValue bb::avm2::simulation::PureAlu::lte ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 87 of file pure_alu.cpp.

◆ mul()

MemoryValue bb::avm2::simulation::PureAlu::mul ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 29 of file pure_alu.cpp.

◆ op_not()

MemoryValue bb::avm2::simulation::PureAlu::op_not ( const MemoryValue a)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 98 of file pure_alu.cpp.

◆ operator=() [1/2]

PureAlu & bb::avm2::simulation::PureAlu::operator= ( const PureAlu )
delete

◆ operator=() [2/2]

PureAlu & bb::avm2::simulation::PureAlu::operator= ( PureAlu &&  )
delete

◆ shl()

MemoryValue bb::avm2::simulation::PureAlu::shl ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 107 of file pure_alu.cpp.

◆ shr()

MemoryValue bb::avm2::simulation::PureAlu::shr ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 118 of file pure_alu.cpp.

◆ sub()

MemoryValue bb::avm2::simulation::PureAlu::sub ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 20 of file pure_alu.cpp.

◆ truncate()

MemoryValue bb::avm2::simulation::PureAlu::truncate ( const FF a,
MemoryTag  dst_tag 
)
overridevirtual

Implements bb::avm2::simulation::AluInterface.

Definition at line 129 of file pure_alu.cpp.


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