MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / Byte

Method Byte

ir/memory.cpp:231–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229namespace IR {
230
231Byte::Byte(const Memory &m, expr &&byterepr) : m(m), p(std::move(byterepr)) {
232 assert(!p.isValid() || p.bits() == bitsByte());
233}
234
235Byte::Byte(const Memory &m, const StateValue &ptr, unsigned i) : m(m) {
236 // TODO: support pointers larger than 64 bits.

Callers

nothing calls this directly

Calls 13

bits_ptr_byte_offsetFunction · 0.85
byte_has_ptr_bitFunction · 0.85
concat_ifFunction · 0.85
padding_ptr_byteFunction · 0.85
sub_byte_bitsFunction · 0.85
size_byte_numberFunction · 0.85
padding_nonptr_byteFunction · 0.85
concat_zerosMethod · 0.80
isBoolMethod · 0.80
isValidMethod · 0.45
bitsMethod · 0.45
concatMethod · 0.45

Tested by

no test coverage detected