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

Method trunc

ir/state_value.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26StateValue StateValue::trunc(unsigned bw_val, unsigned bw_np) const {
27 return { value.trunc(bw_val),
28 non_poison.isBool() ? expr(non_poison) : non_poison.trunc(bw_np) };
29}
30
31StateValue StateValue::zextOrTrunc(unsigned tobw) const {
32 return

Callers 7

fromFloatMethod · 0.45
bytesToValueFunction · 0.45
record_storeMethod · 0.45
mkUndefMethod · 0.45
isAlignedMethod · 0.45
toSMTMethod · 0.45
toSMTMethod · 0.45

Calls 2

isBoolMethod · 0.80
exprClass · 0.70

Tested by

no test coverage detected