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

Method zeroBitsShortOffset

ir/pointer.cpp:182–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182unsigned Pointer::zeroBitsShortOffset() {
183 assert(is_power2(bits_byte));
184 return ilog2(bits_byte / 8);
185}
186
187bool Pointer::hasLocalBit() {
188 return (num_locals_src || num_locals_tgt) && num_nonlocals;

Callers

nothing calls this directly

Calls 2

ilog2Function · 0.85
is_power2Function · 0.50

Tested by

no test coverage detected