• Home
  • Raw
  • Download

Lines Matching refs:DA

205     for (NodeAddr<DefNode*> DA : TA.Addr->members_if(DefInSet, DFG)) {  in getAllReachingDefs()
206 auto QR = DA.Addr->getRegRef(); in getAllReachingDefs()
216 Ds.push_back(DA); in getAllReachingDefs()
219 for (NodeAddr<DefNode*> DA : Ds) { in getAllReachingDefs()
222 uint16_t Flags = DA.Addr->getFlags(); in getAllReachingDefs()
225 RRs.insert(DA.Addr->getRegRef()); in getAllReachingDefs()
246 const auto DA = DFG.addr<const DefNode*>(D); in getAllReachingDefsRec() local
247 if (!(DA.Addr->getFlags() & NodeAttrs::PhiRef)) in getAllReachingDefsRec()
248 DefRRs.insert(DA.Addr->getRegRef()); in getAllReachingDefsRec()
262 for (NodeAddr<DefNode*> DA : RDs) { in getAllReachingDefsRec()
263 Result.insert(DA.Id); in getAllReachingDefsRec()
264 if (!(DA.Addr->getFlags() & NodeAttrs::PhiRef)) in getAllReachingDefsRec()
266 NodeAddr<PhiNode*> PA = DA.Addr->getOwner(DFG); in getAllReachingDefsRec()
302 auto DA = DFG.addr<DefNode*>(D); in getAllReachedUses() local
303 NextD = DA.Addr->getSibling(); in getAllReachedUses()
304 auto DR = DA.Addr->getRegRef(); in getAllReachedUses()
310 if (DA.Addr->getFlags() & NodeAttrs::Preserving) { in getAllReachedUses()
312 T = getAllReachedUses(RefRR, DA, DefRRs); in getAllReachedUses()
316 T = getAllReachedUses(RefRR, DA, NewDefRRs); in getAllReachedUses()
357 NodeAddr<DefNode*> DA = DFG.addr<DefNode*>(DefQ[i]); in computePhiInfo() local
358 NodeId UN = DA.Addr->getReachedUse(); in computePhiInfo()
365 NodeId DN = DA.Addr->getReachedDef(); in computePhiInfo()
391 auto HasDef = [&PhiDefs] (NodeAddr<DefNode*> DA) -> bool { in computePhiInfo() argument
392 return PhiDefs.count(DA.Id); in computePhiInfo()
430 for (NodeAddr<DefNode*> DA : getAllReachingDefs(UA)) { in computePhiInfo()
431 if (DA.Addr->getFlags() & NodeAttrs::PhiRef) in computePhiInfo()
432 UpMap[DA.Addr->getOwner(DFG).Id] = DefRRs; in computePhiInfo()
434 DefRRs.insert(DA.Addr->getRegRef()); in computePhiInfo()
840 auto DA = DFG.addr<DefNode*>(R); in traverse() local
841 RegisterRef DDR = DA.Addr->getRegRef(); in traverse()
842 NodeAddr<InstrNode*> IA = DA.Addr->getOwner(DFG); in traverse()
850 bool IsPreserving = DA.Addr->getFlags() & NodeAttrs::Preserving; in traverse()
853 NodeId U = DA.Addr->getReachedUse(); in traverse()
857 Covering = RAI.covers(DA.Addr->getRegRef(), Q); in traverse()
868 auto DA = DFG.addr<DefNode*>(R); in traverse() local
869 RegisterRef DRR = DA.Addr->getRegRef(); in traverse()
871 for (NodeAddr<DefNode*> TA : getAllReachingDefs(DA)) { in traverse()