Lines Matching refs:NodeAddr
88 NodeAddr<RefNode*> RefA, bool FullChain, const RegisterSet &DefRRs) { in getAllReachingDefs()
120 if (auto RD = NodeAddr<RefNode*>(S).Addr->getReachingDef()) in getAllReachingDefs()
137 auto Block = [this] (NodeAddr<InstrNode*> IA) -> MachineBasicBlock* { in getAllReachingDefs()
139 return NodeAddr<StmtNode*>(IA).Addr->getCode()->getParent(); in getAllReachingDefs()
141 NodeAddr<PhiNode*> PA = IA; in getAllReachingDefs()
142 NodeAddr<BlockNode*> BA = PA.Addr->getOwner(DFG); in getAllReachingDefs()
159 auto CA = NodeAddr<StmtNode*>(OA).Addr->getCode(); in getAllReachingDefs()
160 auto CB = NodeAddr<StmtNode*>(OB).Addr->getCode(); in getAllReachingDefs()
195 auto DefInSet = [&Defs] (NodeAddr<RefNode*> TA) -> bool { in getAllReachingDefs()
205 for (NodeAddr<DefNode*> DA : TA.Addr->members_if(DefInSet, DFG)) { in getAllReachingDefs()
219 for (NodeAddr<DefNode*> DA : Ds) { in getAllReachingDefs()
235 NodeList Liveness::getAllReachingDefs(NodeAddr<RefNode*> RefA) { in getAllReachingDefs()
241 NodeAddr<RefNode*> RefA, NodeSet &Visited, const NodeSet &Defs) { in getAllReachingDefsRec()
262 for (NodeAddr<DefNode*> DA : RDs) { in getAllReachingDefsRec()
266 NodeAddr<PhiNode*> PA = DA.Addr->getOwner(DFG); in getAllReachingDefsRec()
282 NodeAddr<DefNode*> DefA, const RegisterSet &DefRRs) { in getAllReachedUses()
328 NodeAddr<FuncNode*> FA = DFG.getFunc(); in computePhiInfo()
330 for (NodeAddr<BlockNode*> BA : Blocks) { in computePhiInfo()
340 for (NodeAddr<PhiNode*> PhiA : Phis) { in computePhiInfo()
357 NodeAddr<DefNode*> DA = DFG.addr<DefNode*>(DefQ[i]); in computePhiInfo()
360 NodeAddr<UseNode*> A = DFG.addr<UseNode*>(UN); in computePhiInfo()
367 NodeAddr<DefNode*> A = DFG.addr<DefNode*>(DN); in computePhiInfo()
369 uint16_t Flags = NodeAddr<DefNode*>(T).Addr->getFlags(); in computePhiInfo()
391 auto HasDef = [&PhiDefs] (NodeAddr<DefNode*> DA) -> bool { in computePhiInfo()
427 NodeAddr<UseNode*> UA = I; in computePhiInfo()
430 for (NodeAddr<DefNode*> DA : getAllReachingDefs(UA)) { in computePhiInfo()
477 NodeAddr<UseNode*> UA = U; in computePhiInfo()
512 NodeAddr<PhiNode*> PA = DFG.addr<PhiNode*>(I.first); in computePhiInfo()
515 RegisterRef RR = NodeAddr<DefNode*>(Ds[0]).Addr->getRegRef(); in computePhiInfo()
530 for (NodeAddr<BlockNode*> BA : DFG.getFunc().Addr->members(DFG)) { in computeLiveIns()
532 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in computeLiveIns()
533 for (NodeAddr<RefNode*> RA : IA.Addr->members(DFG)) in computeLiveIns()
564 NodeAddr<FuncNode*> FA = DFG.getFunc(); in computeLiveIns()
568 for (NodeAddr<BlockNode*> BA : Blocks) { in computeLiveIns()
586 for (NodeAddr<BlockNode*> BA : Blocks) { in computeLiveIns()
588 for (NodeAddr<PhiNode*> PA : Phis) { in computeLiveIns()
594 NodeAddr<PhiUseNode*> UA = U; in computeLiveIns()
732 bool Liveness::isRestricted(NodeAddr<InstrNode*> IA, NodeAddr<RefNode*> RA, in isRestricted()
735 for (NodeAddr<RefNode*> TA = DFG.getNextShadow(IA, RA); in isRestricted()
747 RegisterRef Liveness::getRestrictedRegRef(NodeAddr<RefNode*> RA) const { in getRestrictedRegRef()
842 NodeAddr<InstrNode*> IA = DA.Addr->getOwner(DFG); in traverse()
843 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in traverse()
871 for (NodeAddr<DefNode*> TA : getAllReachingDefs(DA)) { in traverse()
872 NodeAddr<InstrNode*> IA = TA.Addr->getOwner(DFG); in traverse()
873 NodeAddr<BlockNode*> BA = IA.Addr->getOwner(DFG); in traverse()
896 NodeAddr<InstrNode*> IA = I; in traverse()
899 for (NodeAddr<UseNode*> UA : IA.Addr->members_if(DFG.IsUse, DFG)) { in traverse()