mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Private Member Functions | Private Attributes | Friends
m::wasm::detail::local_bit_storage< L > Class Template Reference

Helper class to select appropriate storage for a LocalBit. More...

#include <WasmDSL.hpp>

Collaboration diagram for m::wasm::detail::local_bit_storage< L >:
[legend]

Private Member Functions

 local_bit_storage ()=default
 
 local_bit_storage (LocalBitvector &bitvector, uint8_t bit_offset, uint8_t starting_lane)
 Creates multiple bits with storage allocated in bitvector.
 

Private Attributes

LocalBitvectorbitvector_ = nullptr
 the bitvector in which the multiple bits are contained
 
uint8_t bit_offset_
 the offset of each bit in every lane
 
uint8_t starting_lane_
 the lane index at which the L bits start
 

Friends

struct LocalBit< L >
 
void swap (local_bit_storage &first, local_bit_storage &second)
 

Detailed Description

template<std::size_t L>
requires (L <= 16)
class m::wasm::detail::local_bit_storage< L >

Helper class to select appropriate storage for a LocalBit.

Definition at line 5919 of file WasmDSL.hpp.

Constructor & Destructor Documentation

◆ local_bit_storage() [1/2]

template<std::size_t L>
m::wasm::detail::local_bit_storage< L >::local_bit_storage ( )
privatedefault

◆ local_bit_storage() [2/2]

template<std::size_t L>
m::wasm::detail::local_bit_storage< L >::local_bit_storage ( LocalBitvector bitvector,
uint8_t  bit_offset,
uint8_t  starting_lane 
)
inlineprivate

Creates multiple bits with storage allocated in bitvector.

Definition at line 5936 of file WasmDSL.hpp.

References m::wasm::L, and M_insist.

Friends And Related Function Documentation

◆ LocalBit< L >

template<std::size_t L>
friend struct LocalBit< L >
friend

Definition at line 5911 of file WasmDSL.hpp.

◆ swap

template<std::size_t L>
void swap ( local_bit_storage< L > &  first,
local_bit_storage< L > &  second 
)
friend

Definition at line 5923 of file WasmDSL.hpp.

Field Documentation

◆ bit_offset_

template<std::size_t L>
uint8_t m::wasm::detail::local_bit_storage< L >::bit_offset_
private

the offset of each bit in every lane

Definition at line 5931 of file WasmDSL.hpp.

◆ bitvector_

template<std::size_t L>
LocalBitvector* m::wasm::detail::local_bit_storage< L >::bitvector_ = nullptr
private

the bitvector in which the multiple bits are contained

Definition at line 5930 of file WasmDSL.hpp.

◆ starting_lane_

template<std::size_t L>
uint8_t m::wasm::detail::local_bit_storage< L >::starting_lane_
private

the lane index at which the L bits start

Definition at line 5932 of file WasmDSL.hpp.


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