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

Method round_up_bits

smt/expr.cpp:1150–1152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1148}
1149
1150expr expr::round_up_bits(const expr &nbits) const {
1151 return round_up(mkUInt(1, *this) << nbits.zextOrTrunc(bits()));
1152}
1153
1154expr expr::round_up_bits_no_overflow(const expr &nbits) const {
1155 expr power_2 = mkUInt(1, *this) << nbits.zextOrTrunc(bits());

Callers 1

blockSizeAlignedMethod · 0.80

Calls 2

round_upFunction · 0.85
zextOrTruncMethod · 0.45

Tested by

no test coverage detected