• Home
  • Raw
  • Download

Lines Matching refs:DA

416 void DefNode::linkToDef(NodeId Self, NodeAddr<DefNode*> DA) {  in linkToDef()  argument
417 Ref.RD = DA.Id; in linkToDef()
418 Ref.Sib = DA.Addr->getReachedDef(); in linkToDef()
419 DA.Addr->setReachedDef(Self); in linkToDef()
423 void UseNode::linkToDef(NodeId Self, NodeAddr<DefNode*> DA) { in linkToDef() argument
424 Ref.RD = DA.Id; in linkToDef()
425 Ref.Sib = DA.Addr->getReachedUse(); in linkToDef()
426 DA.Addr->setReachedUse(Self); in linkToDef()
859 NodeAddr<DefNode*> DA = NA; in cloneNode() local
860 DA.Addr->setReachedDef(0); in cloneNode()
861 DA.Addr->setReachedUse(0); in cloneNode()
888 NodeAddr<DefNode*> DA = newNode(NodeAttrs::Ref | NodeAttrs::Def | Flags); in newDef() local
889 DA.Addr->setRegRef(&Op); in newDef()
890 return DA; in newDef()
895 NodeAddr<DefNode*> DA = newNode(NodeAttrs::Ref | NodeAttrs::Def | Flags); in newDef() local
897 DA.Addr->setRegRef(RR); in newDef()
898 return DA; in newDef()
957 NodeAddr<DefNode*> DA = newDef(PA, RR, PhiFlags); in build() local
958 PA.Addr->addMember(DA, *this); in build()
1024 for (NodeAddr<DefNode*> DA : Defs) { in pushDefs()
1025 if (Visited.count(DA.Id)) in pushDefs()
1027 NodeList Rel = getRelatedRefs(IA, DA); in pushDefs()
1042 DefM[RR].push(DA); in pushDefs()
1045 DefM[A].push(DA); in pushDefs()
1223 NodeAddr<DefNode*> DA = newDef(SA, Op, Flags); in buildStmt() local
1224 SA.Addr->addMember(DA, *this); in buildStmt()
1246 NodeAddr<DefNode*> DA = newDef(SA, Op, Flags); in buildStmt() local
1247 SA.Addr->addMember(DA, *this); in buildStmt()
1417 NodeAddr<DefNode*> DA = newDef(PA, RR, PhiFlags); in buildPhis() local
1418 PA.Addr->addMember(DA, *this); in buildPhis()
1455 NodeAddr<DefNode*> DA = M; in removeUnusedPhis() local
1456 if (DA.Addr->getReachedDef() != 0 || DA.Addr->getReachedUse() != 0) in removeUnusedPhis()
1644 void DataFlowGraph::unlinkDefDF(NodeAddr<DefNode*> DA) { in unlinkDefDF() argument
1663 NodeId RD = DA.Addr->getReachingDef(); in unlinkDefDF()
1679 NodeList ReachedDefs = getAllNodes(DA.Addr->getReachedDef()); in unlinkDefDF()
1680 NodeList ReachedUses = getAllNodes(DA.Addr->getReachedUse()); in unlinkDefDF()
1693 NodeId Sib = DA.Addr->getSibling(); in unlinkDefDF()
1702 if (TA.Id == DA.Id) { in unlinkDefDF()
1711 if (S == DA.Id) { in unlinkDefDF()