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

Method getUndefVar

ir/value.cpp:286–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286expr Input::getUndefVar(const Type &ty, unsigned child) const {
287 string tyname = "isundef_" + getSMTName(child);
288 //return expr::mkVar(tyname.c_str(), ty.getDummyValue(false).value);
289 // FIXME: only whole value undef or non-undef for now
290 return expr::mkVar(tyname.c_str(), expr::mkUInt(0, 1));
291}
292
293}

Callers 2

print_single_varvalFunction · 0.80
instantiate_undefFunction · 0.80

Calls 1

mkVarFunction · 0.85

Tested by

no test coverage detected