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

Method blockSizeAlignedOffsetT

ir/pointer.cpp:341–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341expr Pointer::blockSizeAlignedOffsetT() const {
342 expr sz = blockSizeAligned();
343 return bits_for_offset > bits_size_t ? sz.zextOrTrunc(bits_for_offset) : sz;
344}
345
346expr Pointer::reprWithoutAttrs() const {
347 return p.extract(totalBits() - 1, bits_for_ptrattrs);

Callers 2

isOfBlockMethod · 0.80
isDereferenceableMethod · 0.80

Calls 1

zextOrTruncMethod · 0.45

Tested by

no test coverage detected