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

Method canRead

ir/state.cpp:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33expr SMTMemoryAccess::canRead(AccessType ty) const {
34 unsigned bit = ty * 2 + 1;
35 return val.extract(bit, bit) == 1;
36}
37
38expr SMTMemoryAccess::canWrite(AccessType ty) const {
39 unsigned bit = ty * 2;

Callers 3

overlapsMethod · 0.45
addFnCallMethod · 0.45
check_can_loadFunction · 0.45

Calls 1

extractMethod · 0.45

Tested by

no test coverage detected