• Home
  • Raw
  • Download

Lines Matching refs:DFG

86   DataFlowGraph *DFG = nullptr;  member in __anon413928f30111::HexagonOptAddrMode
169 for (NodeAddr<UseNode *> UA : AddAslSN.Addr->members_if(DFG->IsUse, *DFG)) { in canRemoveAddasl()
170 RegisterRef RR = UA.Addr->getRegRef(*DFG); in canRemoveAddasl()
179 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in canRemoveAddasl()
183 if ((DFG->IsDef(AA) && AA.Id != OffsetRegRD) || in canRemoveAddasl()
188 NodeAddr<DefNode *> OffsetRegDN = DFG->addr<DefNode *>(OffsetRegRD); in canRemoveAddasl()
216 RegisterRef UR = UN.Addr->getRegRef(*DFG); in allValidCandidates()
222 << PrintNode<UseNode*>(UN, *DFG) << '\n' in allValidCandidates()
232 NodeAddr<UseNode *> DA = DFG->addr<UseNode *>(DI); in allValidCandidates()
233 NodeAddr<StmtNode *> TempIA = DA.Addr->getOwner(*DFG); in allValidCandidates()
235 << Print<NodeAddr<InstrNode *>>(TempIA, *DFG) << "\n"; in allValidCandidates()
246 for (NodeAddr<DefNode *> DA : SA.Addr->members_if(DFG->IsDef, *DFG)) { in getAllRealUses()
248 << Print<NodeAddr<DefNode *>>(DA, *DFG) << "\n"); in getAllRealUses()
249 RegisterRef DR = DA.Addr->getRegRef(*DFG); in getAllRealUses()
254 NodeAddr<UseNode *> UA = DFG->addr<UseNode *>(UI); in getAllRealUses()
256 NodeAddr<StmtNode *> TempIA = UA.Addr->getOwner(*DFG); in getAllRealUses()
258 << Print<NodeAddr<InstrNode *>>(TempIA, *DFG) << "\n"; in getAllRealUses()
262 NodeAddr<PhiNode *> PA = UA.Addr->getOwner(*DFG); in getAllRealUses()
266 << Print<Liveness::RefMap>(phiUse, *DFG) << "\n"); in getAllRealUses()
269 if (!DFG->getPRI().alias(RegisterRef(I.first), DR)) in getAllRealUses()
273 NodeAddr<UseNode *> phiUA = DFG->addr<UseNode *>(phiUI.first); in getAllRealUses()
291 for (NodeAddr<UseNode *> UA : SN.Addr->members_if(DFG->IsUse, *DFG)) { in isSafeToExtLR()
292 RegisterRef RR = UA.Addr->getRegRef(*DFG); in isSafeToExtLR()
301 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in isSafeToExtLR()
307 if ((DFG->IsDef(AA) && AA.Id != LRExtRegRD) || in isSafeToExtLR()
315 NodeAddr<DefNode *> LRExtRegDN = DFG->addr<DefNode *>(LRExtRegRD); in isSafeToExtLR()
355 NodeAddr<StmtNode *> SN = UN.Addr->getOwner(*DFG); in processAddUses()
398 NodeAddr<StmtNode *> OwnerN = UseN.Addr->getOwner(*DFG); in processAddUses()
442 NodeAddr<StmtNode *> SN = UN.Addr->getOwner(*DFG); in analyzeUses()
608 NodeAddr<StmtNode *> SA = AddAslUN.Addr->getOwner(*DFG); in changeAddAsl()
620 NodeAddr<StmtNode *> UseIA = UseUN.Addr->getOwner(*DFG); in changeAddAsl()
622 << Print<NodeAddr<InstrNode *>>(UseIA, *DFG) << "\n"); in changeAddAsl()
691 for (auto IA : BA.Addr->members(*DFG)) { in processBlock()
692 if (!DFG->IsCode<NodeAttrs::Stmt>(IA)) in processBlock()
705 << Print<NodeAddr<InstrNode *>>(IA, *DFG) << '\n'); in processBlock()
749 NodeAddr<StmtNode *> OwnerN = UseN.Addr->getOwner(*DFG); in processBlock()
796 DFG = &G; in runOnMachineFunction()
798 Liveness L(*MRI, *DFG); in runOnMachineFunction()
803 NodeAddr<FuncNode *> FA = DFG->getFunc(); in runOnMachineFunction()
805 << Print<NodeAddr<FuncNode *>>(FA, *DFG) << "\n"); in runOnMachineFunction()
807 for (NodeAddr<BlockNode *> BA : FA.Addr->members(*DFG)) in runOnMachineFunction()