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

Method canWriteSomething

ir/state.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67expr SMTMemoryAccess::canWriteSomething() const {
68 OrExpr ret;
69 for (unsigned i = 0; i < AccessType::NumTypes; ++i) {
70 ret.add(canWrite(AccessType(i)));
71 }
72 return ret();
73}
74
75expr SMTMemoryAccess::refinedBy(const SMTMemoryAccess &other) const {
76 return (val & other.val) == val;

Callers 4

incMethod · 0.45
mkCallStateMethod · 0.45
setStateMethod · 0.45

Calls 2

AccessTypeEnum · 0.85
addMethod · 0.45

Tested by

no test coverage detected