MCPcopy Index your code
hub / github.com/lutzroeder/netron / writesToAlias

Method writesToAlias

source/python.js:7585–7603  ·  view source on GitHub ↗
(/* n, vs */)

Source from the content-addressed store, hash-verified

7583 throw new python.Error('Not implemented.');
7584 }
7585 writesToAlias(/* n, vs */) {
7586 /*
7587 const writtenTo = this.getWrites(n);
7588 if (writtenTo.length === 0) {
7589 return false;
7590 }
7591 MemoryLocations locs;
7592 for (const v of vs) {
7593 const it = elementMap_.find(v);
7594 if (it != elementMap_.end()) {
7595 const auto& vlocs = memoryDAG_->getMemoryLocations(it->second);
7596 if (writtenTo.intersects(vlocs)) {
7597 return true;
7598 }
7599 }
7600 }
7601 */
7602 return false;
7603 }
7604 writesToWildcard(n) {
7605 if (!this._writeIndex.has(n)) {
7606 return false;

Callers 1

markIfLiveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected