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

Method ptrNonpoison

ir/memory.cpp:300–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300expr Byte::ptrNonpoison() const {
301 auto bit = p.bits() - 1 - byte_has_ptr_bit();
302 return isAsmMode() ? expr(true) : p.extract(bit, bit) == 1;
303}
304
305Pointer Byte::ptr() const {
306 return { m, ptrValue() };

Callers 4

refinedMethod · 0.80
memory.cppFile · 0.80
storeMethod · 0.80
checkNocaptureMethod · 0.80

Calls 4

byte_has_ptr_bitFunction · 0.85
exprClass · 0.70
bitsMethod · 0.45
extractMethod · 0.45

Tested by

no test coverage detected