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

Method zext

ir/state_value.cpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20StateValue StateValue::zext(unsigned amount) const {
21 return { value.zext(amount),
22 (bits_poison_per_byte == 1 || non_poison.isBool())
23 ? expr(non_poison) : non_poison.zext(amount) };
24}
25
26StateValue StateValue::trunc(unsigned bw_val, unsigned bw_np) const {
27 return { value.trunc(bw_val),

Callers 4

mkFnRetMethod · 0.45
PointerMethod · 0.45
toSMTMethod · 0.45
toSMTMethod · 0.45

Calls 2

isBoolMethod · 0.80
exprClass · 0.70

Tested by

no test coverage detected