MCPcopy Create free account
hub / github.com/SVF-tools/SVF / intersectWithComplement

Method intersectWithComplement

svf/lib/MemoryModel/PointsTo.cpp:286–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286bool PointsTo::intersectWithComplement(const PointsTo &rhs)
287{
288 assert(metaSame(rhs) && "PointsTo::intersectWithComplement: mappings of operands do not match!");
289
290 if (type == CBV) return cbv.intersectWithComplement(rhs.cbv);
291 else if (type == SBV) return sbv.intersectWithComplement(rhs.sbv);
292 else if (type == BV) return bv.intersectWithComplement(rhs.bv);
293
294 assert(false && "PointsTo::intersectWithComplement(PT): unknown type");
295 abort();
296}
297
298void PointsTo::intersectWithComplement(const PointsTo &lhs, const PointsTo &rhs)
299{

Callers 2

operator-=Method · 0.45
computeIntersectionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected