Lines Matching refs:NodeAddr
91 bool processBlock(NodeAddr<BlockNode *> BA);
93 NodeAddr<UseNode *> UseN, unsigned UseMOnum);
94 bool processAddUses(NodeAddr<StmtNode *> AddSN, MachineInstr *AddMI,
100 bool canRemoveAddasl(NodeAddr<StmtNode *> AddAslSN, MachineInstr &MI,
102 bool isSafeToExtLR(NodeAddr<StmtNode *> SN, MachineInstr *MI,
104 void getAllRealUses(NodeAddr<StmtNode *> SN, NodeList &UNodeList);
105 bool allValidCandidates(NodeAddr<StmtNode *> SA, NodeList &UNodeList);
110 bool changeAddAsl(NodeAddr<UseNode *> AddAslUN, MachineInstr *AddAslMI,
158 bool HexagonOptAddrMode::canRemoveAddasl(NodeAddr<StmtNode *> AddAslSN, in canRemoveAddasl()
169 for (NodeAddr<UseNode *> UA : AddAslSN.Addr->members_if(DFG->IsUse, *DFG)) { in canRemoveAddasl()
178 NodeAddr<UseNode *> UA = *I; in canRemoveAddasl()
179 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in canRemoveAddasl()
182 NodeAddr<RefNode*> AA = LV->getNearestAliasedRef(OffsetRR, IA); in canRemoveAddasl()
187 MachineInstr &UseMI = *NodeAddr<StmtNode *>(IA).Addr->getCode(); in canRemoveAddasl()
188 NodeAddr<DefNode *> OffsetRegDN = DFG->addr<DefNode *>(OffsetRegRD); in canRemoveAddasl()
212 bool HexagonOptAddrMode::allValidCandidates(NodeAddr<StmtNode *> SA, in allValidCandidates()
215 NodeAddr<UseNode *> UN = *I; 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()
244 void HexagonOptAddrMode::getAllRealUses(NodeAddr<StmtNode *> SA, in getAllRealUses()
246 for (NodeAddr<DefNode *> DA : SA.Addr->members_if(DFG->IsDef, *DFG)) { in getAllRealUses()
248 << Print<NodeAddr<DefNode *>>(DA, *DFG) << "\n"); 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()
273 NodeAddr<UseNode *> phiUA = DFG->addr<UseNode *>(phiUI.first); in getAllRealUses()
284 bool HexagonOptAddrMode::isSafeToExtLR(NodeAddr<StmtNode *> SN, in isSafeToExtLR()
291 for (NodeAddr<UseNode *> UA : SN.Addr->members_if(DFG->IsUse, *DFG)) { in isSafeToExtLR()
300 NodeAddr<UseNode *> UA = *I; in isSafeToExtLR()
301 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in isSafeToExtLR()
306 NodeAddr<RefNode*> AA = LV->getNearestAliasedRef(LRExtRR, IA); in isSafeToExtLR()
314 MachineInstr *UseMI = NodeAddr<StmtNode *>(IA).Addr->getCode(); in isSafeToExtLR()
315 NodeAddr<DefNode *> LRExtRegDN = DFG->addr<DefNode *>(LRExtRegRD); in isSafeToExtLR()
348 bool HexagonOptAddrMode::processAddUses(NodeAddr<StmtNode *> AddSN, in processAddUses()
354 NodeAddr<UseNode *> UN = *I; in processAddUses()
355 NodeAddr<StmtNode *> SN = UN.Addr->getOwner(*DFG); in processAddUses()
394 NodeAddr<UseNode *> UseN = *I; in processAddUses()
398 NodeAddr<StmtNode *> OwnerN = UseN.Addr->getOwner(*DFG); in processAddUses()
441 NodeAddr<UseNode *> UN = *I; in analyzeUses()
442 NodeAddr<StmtNode *> SN = UN.Addr->getOwner(*DFG); in analyzeUses()
604 bool HexagonOptAddrMode::changeAddAsl(NodeAddr<UseNode *> AddAslUN, in changeAddAsl()
608 NodeAddr<StmtNode *> SA = AddAslUN.Addr->getOwner(*DFG); in changeAddAsl()
616 NodeAddr<UseNode *> UseUN = *I; in changeAddAsl()
620 NodeAddr<StmtNode *> UseIA = UseUN.Addr->getOwner(*DFG); in changeAddAsl()
622 << Print<NodeAddr<InstrNode *>>(UseIA, *DFG) << "\n"); in changeAddAsl()
670 NodeAddr<UseNode *> UseN, in xformUseMI()
688 bool HexagonOptAddrMode::processBlock(NodeAddr<BlockNode *> BA) { in processBlock()
695 NodeAddr<StmtNode *> SA = IA; in processBlock()
705 << Print<NodeAddr<InstrNode *>>(IA, *DFG) << '\n'); in processBlock()
745 NodeAddr<UseNode *> UseN = *I; in processBlock()
749 NodeAddr<StmtNode *> OwnerN = UseN.Addr->getOwner(*DFG); in processBlock()
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()