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

Method nonptrValue

ir/memory.cpp:342–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342expr Byte::nonptrValue() const {
343 if (!does_int_mem_access)
344 return expr::mkUInt(0, bits_byte);
345 unsigned start = padding_nonptr_byte() + sub_byte_bits();
346 return p.extract(start + bits_byte - 1, start);
347}
348
349expr Byte::numStoredBits() const {
350 unsigned start = padding_nonptr_byte() + size_byte_number();

Callers 4

refinedMethod · 0.80
memory.cppFile · 0.80
bytesToValueFunction · 0.80

Calls 3

padding_nonptr_byteFunction · 0.85
sub_byte_bitsFunction · 0.85
extractMethod · 0.45

Tested by

no test coverage detected