Lines Matching refs:DFG
40 MachineRegisterInfo &MRI = DFG.getMF().getRegInfo(); in interpretAsCopy()
46 const TargetRegisterInfo &TRI = DFG.getTRI(); in interpretAsCopy()
61 const TargetInstrInfo &TII = DFG.getTII(); in interpretAsCopy()
65 unsigned S = DFG.getTRI().composeSubRegIndices(DefR.Sub, I.SubIdx); in interpretAsCopy()
94 for (NodeAddr<RefNode*> RA : IA.Addr->members(DFG)) in updateMap()
119 auto BA = DFG.getFunc().Addr->findBlock(B, DFG); in scanBlock()
120 DFG.markBlock(BA.Id, DefM); in scanBlock()
122 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in scanBlock()
123 if (DFG.IsCode<NodeAttrs::Stmt>(IA)) { in scanBlock()
131 DFG.pushDefs(IA, DefM); in scanBlock()
138 DFG.releaseBlock(BA.Id, DefM); in scanBlock()
144 scanBlock(&DFG.getMF().front()); in run()
149 dbgs() << "Instr: " << *DFG.addr<StmtNode*>(I).Addr->getCode(); in run()
152 dbgs() << ' ' << Print<RegisterRef>(J.first, DFG) << '=' in run()
153 << Print<RegisterRef>(J.second, DFG); in run()
158 dbgs() << Print<RegisterRef>(R.first, DFG) << " -> {"; in run()
160 dbgs() << ' ' << Print<NodeId>(M.first, DFG) << ':' in run()
161 << Print<NodeId>(M.second, DFG); in run()
176 auto SA = DFG.addr<InstrNode*>(C); in run()
182 for (NodeAddr<DefNode*> DA : SA.Addr->members_if(DFG.IsDef, DFG)) { in run()
195 auto UA = DFG.addr<UseNode*>(N); in run()
203 NodeAddr<InstrNode*> IA = UA.Addr->getOwner(DFG); in run()
204 assert(DFG.IsCode<NodeAttrs::Stmt>(IA)); in run()
212 dbgs() << "Can replace " << Print<RegisterRef>(DR, DFG) in run()
213 << " with " << Print<RegisterRef>(SR, DFG) << " in " in run()
219 DFG.unlinkUse(UA, false); in run()
221 UA.Addr->linkToDef(UA.Id, DFG.addr<DefNode*>(RDefSR_SA)); in run()