MCPcopy Create free account
hub / github.com/Samsung/UTopia / includes

Method includes

lib/rootdefanalysis/RDTarget.cpp:264–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264bool RDTarget::includes(const RDTarget &Target) const {
265
266 if (IR != &Target.getIR())
267 return false;
268
269 auto TargetMemoryIndices = Target.getMemoryIndices();
270 if (MemoryIndices.size() > TargetMemoryIndices.size())
271 return false;
272
273 for (unsigned S = 0, E = MemoryIndices.size(); S < E; ++S) {
274 if (MemoryIndices[S] != TargetMemoryIndices[S])
275 return false;
276 }
277
278 return true;
279}
280
281bool RDTarget::operator==(const RDTarget &Rhs) const {
282

Callers 2

isPropagatedMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected