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

Method blockSizeAligned

ir/pointer.cpp:333–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333expr Pointer::blockSizeAligned() const {
334 auto size = blockSize();
335 // programs can't observe whether the size was increased up to alignment
336 if (!has_globals_diff_align)
337 return size;
338 return size.round_up_bits(blockAlignment().zextOrTrunc(bits_size_t));
339}
340
341expr Pointer::blockSizeAlignedOffsetT() const {
342 expr sz = blockSizeAligned();

Callers 8

loadMethod · 0.80
storeMethod · 0.80
storeLambdaMethod · 0.80
mkAxiomsMethod · 0.80
disjoint_local_blocksFunction · 0.80
startLifetimeMethod · 0.80
fillPoisonMethod · 0.80
isInboundsOfMethod · 0.80

Calls 2

round_up_bitsMethod · 0.80
zextOrTruncMethod · 0.45

Tested by

no test coverage detected