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

Method numMayAlias

ir/memory.cpp:765–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765unsigned Memory::AliasSet::numMayAlias(bool islocal) const {
766 auto &v = islocal ? local : non_local;
767 return count(v.begin(), v.end(), true);
768}
769
770void Memory::AliasSet::setMayAlias(bool islocal, unsigned bid) {
771 (islocal ? local : non_local)[bid] = true;

Callers 4

accessMethod · 0.80
memory.cppFile · 0.80
isDereferenceableMethod · 0.80
hasEscapedLocalsMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected