Lines Matching refs:IA
1005 void DataFlowGraph::pushDefs(NodeAddr<InstrNode*> IA, DefStackMap &DefM) { in pushDefs() argument
1006 NodeList Defs = IA.Addr->members_if(IsDef, *this); in pushDefs()
1027 NodeList Rel = getRelatedRefs(IA, DA); in pushDefs()
1035 auto *MI = NodeAddr<StmtNode*>(IA).Addr->getCode(); in pushDefs()
1055 NodeList DataFlowGraph::getRelatedRefs(NodeAddr<InstrNode*> IA, in getRelatedRefs() argument
1057 assert(IA.Id != 0 && RA.Id != 0); in getRelatedRefs()
1063 RA = getNextRelated(IA, RA); in getRelatedRefs()
1082 NodeAddr<RefNode*> DataFlowGraph::getNextRelated(NodeAddr<InstrNode*> IA, in getNextRelated() argument
1084 assert(IA.Id != 0 && RA.Id != 0); in getNextRelated()
1109 if (IA.Addr->getKind() == NodeAttrs::Stmt) in getNextRelated()
1121 DataFlowGraph::locateNextRef(NodeAddr<InstrNode*> IA, NodeAddr<RefNode*> RA, in locateNextRef() argument
1123 assert(IA.Id != 0 && RA.Id != 0); in locateNextRef()
1128 NA = getNextRelated(IA, RA); in locateNextRef()
1143 NodeAddr<RefNode*> DataFlowGraph::getNextShadow(NodeAddr<InstrNode*> IA, in getNextShadow() argument
1145 assert(IA.Id != 0 && RA.Id != 0); in getNextShadow()
1151 auto Loc = locateNextRef(IA, RA, IsShadow); in getNextShadow()
1158 IA.Addr->addMemberAfter(Loc.first, NA, *this); in getNextShadow()
1164 NodeAddr<RefNode*> DataFlowGraph::getNextShadow(NodeAddr<InstrNode*> IA, in getNextShadow() argument
1166 assert(IA.Id != 0 && RA.Id != 0); in getNextShadow()
1171 return locateNextRef(IA, RA, IsShadow).second; in getNextShadow()
1286 for (NodeAddr<InstrNode*> IA : BA.Addr->members(*this)) in buildBlockRefs()
1287 for (NodeAddr<RefNode*> RA : IA.Addr->members(*this)) in buildBlockRefs()
1314 NodeAddr<InstrNode*> IA = I; in recordDefsForDF() local
1315 for (NodeAddr<RefNode*> RA : IA.Addr->members_if(IsDef, *this)) in recordDefsForDF()
1492 void DataFlowGraph::linkRefUp(NodeAddr<InstrNode*> IA, NodeAddr<T> TA, in linkRefUp() argument
1524 TAP = getNextShadow(IA, TAP, true); in linkRefUp()
1573 for (NodeAddr<InstrNode*> IA : BA.Addr->members(*this)) { in linkBlockRefs()
1576 if (IA.Addr->getKind() == NodeAttrs::Stmt) in linkBlockRefs()
1577 linkStmtRefs(DefM, IA); in linkBlockRefs()
1580 pushDefs(IA, DefM); in linkBlockRefs()
1602 for (NodeAddr<InstrNode*> IA : SBA.Addr->members_if(IsPhi, *this)) { in linkBlockRefs()
1604 for (auto U : IA.Addr->members_if(IsUseForBA, *this)) { in linkBlockRefs()
1607 linkRefUp<UseNode*>(IA, PUA, DefM[RR]); in linkBlockRefs()