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

Method canOnlyWrite

ir/state.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51expr SMTMemoryAccess::canOnlyWrite(AccessType ty) const {
52 AndExpr ret;
53 for (unsigned i = 0; i < AccessType::NumTypes; ++i) {
54 ret.add(canWrite(AccessType(i)) == expr(i == ty));
55 }
56 return ret();
57}
58
59expr SMTMemoryAccess::canReadSomething() const {
60 OrExpr ret;

Callers 6

overlapsMethod · 0.45
addFnCallMethod · 0.45
mkCallStateMethod · 0.45
setStateMethod · 0.45
visitIntrinsicInstMethod · 0.45

Calls 3

AccessTypeEnum · 0.85
exprClass · 0.70
addMethod · 0.45

Tested by

no test coverage detected