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

Function getIntOr

ir/constant.cpp:237–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237uint64_t getIntOr(const Value &val, uint64_t default_value) {
238 if (auto n = getInt(val))
239 return *n;
240 return default_value;
241}
242}

Callers 3

getAlignMethod · 0.85
getMaxAccessSizeMethod · 0.85
implict_attrs_Function · 0.85

Calls 1

getIntFunction · 0.85

Tested by

no test coverage detected