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

Method markByVal

ir/memory.cpp:1724–1727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1722}
1723
1724void Memory::markByVal(unsigned bid, bool is_const) {
1725 assert(is_globalvar(bid, false));
1726 byval_blks.emplace_back(bid, is_const);
1727}
1728
1729expr Memory::mkInput(const char *name, const ParamAttrs &attrs0) {
1730 unsigned max_bid = has_null_block + num_globals_src + next_ptr_input++;

Callers 1

mkInputMethod · 0.80

Calls 1

is_globalvarFunction · 0.85

Tested by

no test coverage detected