search for: creatememoryaccessaft

Displaying 2 results from an estimated 2 matches for "creatememoryaccessaft".

2017 Feb 17
2
[MemorySSA] inserting or removing memory instructions
In particular, if you want to add support, the right way to know what to rename is (off the top of my head) add a flag or something to have renamepass reset all uses it sees (you only have to change the uses, defs are all linked together and thus already fixed by the updater). Right now it only does that if they have no defining access. Make it skip blocks already in the visited set (the
2016 Oct 30
0
[PATCH] D26127: [MemorySSA] Repair AccessList invariants after insertion of new MemoryUseOrDef.
...e, memcpy, or > memset), into the IR and wish to keep the MSSA tree synchronized. > This, in general, is not possible right now. See below. > > >> MemoryAccess *Def = OldMemAcc->getDefiningAccess(); >> NewMemAcc = >> MSSA->createMemoryAccessAfter(Repl, Def, >> OldMemAccess->getMemoryInst()); >> OldMemAcc->replaceAllUsesWith(NewMemAcc); >> >> It doesn't make any sense to create a replacing access with the thing you >> are going to replace as the definition. >> >> Really, I don&...