Lines Matching refs:NodeAddr

58 bool DeadCodeElimination::isLiveInstr(NodeAddr<StmtNode *> S) const {  in isLiveInstr()
83 void DeadCodeElimination::scanInstr(NodeAddr<InstrNode*> IA, in scanInstr()
89 for (NodeAddr<RefNode*> RA : IA.Addr->members(DFG)) { in scanInstr()
95 void DeadCodeElimination::processDef(NodeAddr<DefNode*> DA, in processDef()
97 NodeAddr<InstrNode*> IA = DA.Addr->getOwner(DFG); in processDef()
98 for (NodeAddr<UseNode*> UA : IA.Addr->members_if(DFG.IsUse, DFG)) { in processDef()
102 for (NodeAddr<DefNode*> TA : DFG.getRelatedRefs(IA, DA)) in processDef()
106 void DeadCodeElimination::processUse(NodeAddr<UseNode*> UA, in processUse()
108 for (NodeAddr<DefNode*> DA : LV.getAllReachingDefs(UA)) { in processUse()
129 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) in collect()
130 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) in collect()
151 auto IsDead = [this] (NodeAddr<InstrNode*> IA) -> bool { in collect()
152 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) in collect()
158 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in collect()
159 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in collect()
160 for (NodeAddr<RefNode*> RA : IA.Addr->members(DFG)) in collect()
199 append_range(DRNs, NodeAddr<CodeNode*>(BA).Addr->members(DFG)); in erase()
209 auto UsesFirst = [] (NodeAddr<RefNode*> A, NodeAddr<RefNode*> B) -> bool { in erase()
221 for (NodeAddr<RefNode*> RA : DRNs) { in erase()
231 for (NodeAddr<InstrNode*> IA : DINs) { in erase()
232 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in erase()
237 MachineInstr *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in erase()