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

#include <instruction_builder.hpp>

Public Member Functions

 InstructionBuilder (WireOpCode opcode)
 
InstructionBuilderoperand (OperandBuilder operand)
 
template<typename T >
InstructionBuilderoperand (T value)
 
InstructionBuilderoperand (MemoryTag tag)
 
InstructionBuilderindirect ()
 
InstructionBuilderrelative ()
 
simulation::Instruction build () const
 

Private Attributes

WireOpCode opcode
 
std::vector< OperandBuilderoperands
 

Detailed Description

Definition at line 34 of file instruction_builder.hpp.

Constructor & Destructor Documentation

◆ InstructionBuilder()

bb::avm2::testing::InstructionBuilder::InstructionBuilder ( WireOpCode  opcode)
inline

Definition at line 40 of file instruction_builder.hpp.

Member Function Documentation

◆ build()

simulation::Instruction bb::avm2::testing::InstructionBuilder::build ( ) const

Definition at line 5 of file instruction_builder.cpp.

◆ indirect()

InstructionBuilder & bb::avm2::testing::InstructionBuilder::indirect ( )
inline

Definition at line 56 of file instruction_builder.hpp.

◆ operand() [1/3]

InstructionBuilder & bb::avm2::testing::InstructionBuilder::operand ( MemoryTag  tag)
inline

Definition at line 50 of file instruction_builder.hpp.

◆ operand() [2/3]

InstructionBuilder & bb::avm2::testing::InstructionBuilder::operand ( OperandBuilder  operand)
inline

Definition at line 44 of file instruction_builder.hpp.

◆ operand() [3/3]

template<typename T >
InstructionBuilder & bb::avm2::testing::InstructionBuilder::operand ( value)
inline

Definition at line 49 of file instruction_builder.hpp.

◆ relative()

InstructionBuilder & bb::avm2::testing::InstructionBuilder::relative ( )
inline

Definition at line 61 of file instruction_builder.hpp.

Member Data Documentation

◆ opcode

WireOpCode bb::avm2::testing::InstructionBuilder::opcode
private

Definition at line 36 of file instruction_builder.hpp.

◆ operands

std::vector<OperandBuilder> bb::avm2::testing::InstructionBuilder::operands
private

Definition at line 37 of file instruction_builder.hpp.


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