Home
last modified time | relevance | path

Searched refs:DefNode (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm/lib/Target/Hexagon/
DRDFLiveness.cpp107 auto TA = DFG.addr<DefNode*>(DefQ[i]); in getAllReachingDefs()
128 auto TA = DFG.addr<DefNode*>(N); in getAllReachingDefs()
205 for (NodeAddr<DefNode*> DA : TA.Addr->members_if(DefInSet, DFG)) { in getAllReachingDefs()
219 for (NodeAddr<DefNode*> DA : Ds) { in getAllReachingDefs()
246 const auto DA = DFG.addr<const DefNode*>(D); in getAllReachingDefsRec()
262 for (NodeAddr<DefNode*> DA : RDs) { in getAllReachingDefsRec()
282 NodeAddr<DefNode*> DefA, const RegisterSet &DefRRs) { in getAllReachedUses()
302 auto DA = DFG.addr<DefNode*>(D); in getAllReachedUses()
357 NodeAddr<DefNode*> DA = DFG.addr<DefNode*>(DefQ[i]); in computePhiInfo()
367 NodeAddr<DefNode*> A = DFG.addr<DefNode*>(DN); in computePhiInfo()
[all …]
DRDFGraph.cpp97 raw_ostream &operator<< (raw_ostream &OS, const Print<NodeAddr<DefNode*>> &P) { in operator <<()
146 OS << PrintNode<DefNode*>(P.Obj, P.G); in operator <<()
416 void DefNode::linkToDef(NodeId Self, NodeAddr<DefNode*> DA) { in linkToDef()
423 void UseNode::linkToDef(NodeId Self, NodeAddr<DefNode*> DA) { in linkToDef()
775 Stack.push_back(NodeAddr<DefNode*>(nullptr, N)); in start_block()
859 NodeAddr<DefNode*> DA = NA; in cloneNode()
886 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef()
888 NodeAddr<DefNode*> DA = newNode(NodeAttrs::Ref | NodeAttrs::Def | Flags); in newDef()
893 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef()
895 NodeAddr<DefNode*> DA = newNode(NodeAttrs::Ref | NodeAttrs::Def | Flags); in newDef()
[all …]
DRDFDeadCode.cpp83 void DeadCodeElimination::processDef(NodeAddr<DefNode*> DA, in processDef()
90 for (NodeAddr<DefNode*> TA : DFG.getRelatedRefs(IA, DA)) in processDef()
96 for (NodeAddr<DefNode*> DA : LV.getAllReachingDefs(UA)) { in processUse()
140 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) in collect()
DRDFGraph.h512 struct DefNode : public RefNode { struct
526 void linkToDef(NodeId Self, NodeAddr<DefNode*> DA); argument
530 void linkToDef(NodeId Self, NodeAddr<DefNode*> DA);
638 typedef NodeAddr<DefNode*> value_type;
667 void push(NodeAddr<DefNode*> DA) { Stack.push_back(DA); } in push()
708 void unlinkDef(NodeAddr<DefNode*> DA, bool RemoveFromOwner) { in unlinkDef()
748 NodeAddr<DefNode*> newDef(NodeAddr<InstrNode*> Owner,
750 NodeAddr<DefNode*> newDef(NodeAddr<InstrNode*> Owner,
780 void unlinkDefDF(NodeAddr<DefNode*> DA);
DRDFDeadCode.h61 void processDef(NodeAddr<DefNode*> DA, SetQueue<NodeId> &WorkQ);
DRDFCopy.cpp182 for (NodeAddr<DefNode*> DA : SA.Addr->members_if(DFG.IsDef, DFG)) { in run()
221 UA.Addr->linkToDef(UA.Id, DFG.addr<DefNode*>(RDefSR_SA)); in run()
DRDFLiveness.h45 NodeSet getAllReachedUses(RegisterRef RefRR, NodeAddr<DefNode*> DefA,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFLiveness.cpp141 auto TA = DFG.addr<DefNode*>(DefQ[i]); in getAllReachingDefs()
160 auto TA = DFG.addr<DefNode*>(N); in getAllReachingDefs()
236 for (NodeAddr<DefNode*> DA : TA.Addr->members_if(DefInSet, DFG)) { in getAllReachingDefs()
250 for (NodeAddr<DefNode*> DA : Ds) { in getAllReachingDefs()
260 auto DeadP = [](const NodeAddr<DefNode*> DA) -> bool { in getAllReachingDefs()
283 const auto DA = DFG.addr<const DefNode*>(D); in getAllReachingDefsRecImpl()
299 for (NodeAddr<DefNode*> DA : RDs) { in getAllReachingDefsRecImpl()
380 NodeAddr<DefNode*> DefA, const RegisterAggr &DefRRs) { in getAllReachedUses()
404 auto DA = DFG.addr<DefNode*>(D); in getAllReachedUses()
468 NodeAddr<DefNode*> DA = DFG.addr<DefNode*>(DefQ[i]); in computePhiInfo()
[all …]
DRDFGraph.cpp116 raw_ostream &operator<< (raw_ostream &OS, const Print<NodeAddr<DefNode*>> &P) { in operator <<()
162 OS << PrintNode<DefNode*>(P.Obj, P.G); in operator <<()
446 void DefNode::linkToDef(NodeId Self, NodeAddr<DefNode*> DA) { in linkToDef()
453 void UseNode::linkToDef(NodeId Self, NodeAddr<DefNode*> DA) { in linkToDef()
697 Stack.push_back(NodeAddr<DefNode*>(nullptr, N)); in start_block()
796 NodeAddr<DefNode*> DA = NA; in cloneNode()
822 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef()
824 NodeAddr<DefNode*> DA = newNode(NodeAttrs::Ref | NodeAttrs::Def | Flags); in newDef()
829 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef()
831 NodeAddr<DefNode*> DA = newNode(NodeAttrs::Ref | NodeAttrs::Def | Flags); in newDef()
[all …]
DRDFGraph.h558 struct DefNode : public RefNode { struct
572 void linkToDef(NodeId Self, NodeAddr<DefNode*> DA); argument
576 void linkToDef(NodeId Self, NodeAddr<DefNode*> DA);
675 using value_type = NodeAddr<DefNode *>;
711 void push(NodeAddr<DefNode*> DA) { Stack.push_back(DA); } in push()
778 void unlinkDef(NodeAddr<DefNode*> DA, bool RemoveFromOwner) { in unlinkDef()
812 static bool IsPreservingDef(const NodeAddr<DefNode*> DA) { in IsPreservingDef()
829 NodeAddr<DefNode*> newDef(NodeAddr<InstrNode*> Owner,
831 NodeAddr<DefNode*> newDef(NodeAddr<InstrNode*> Owner,
862 void unlinkDefDF(NodeAddr<DefNode*> DA);
[all …]
DRDFDeadCode.cpp94 void DeadCodeElimination::processDef(NodeAddr<DefNode*> DA, in processDef()
101 for (NodeAddr<DefNode*> TA : DFG.getRelatedRefs(IA, DA)) in processDef()
107 for (NodeAddr<DefNode*> DA : LV.getAllReachingDefs(UA)) { in processUse()
151 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) in collect()
DRDFLiveness.h70 NodeSet getAllReachedUses(RegisterRef RefRR, NodeAddr<DefNode*> DefA,
73 NodeSet getAllReachedUses(RegisterRef RefRR, NodeAddr<DefNode*> DefA) { in getAllReachedUses()
DRDFDeadCode.h60 void processDef(NodeAddr<DefNode*> DA, SetQueue<NodeId> &WorkQ);
DRDFCopy.cpp144 for (NodeAddr<DefNode*> DA : SA.Addr->members_if(DFG.IsDef, DFG)) { in run()
184 UA.Addr->linkToDef(UA.Id, DFG.addr<DefNode*>(AtCopy)); in run()
DHexagonOptAddrMode.cpp188 NodeAddr<DefNode *> OffsetRegDN = DFG->addr<DefNode *>(OffsetRegRD); in canRemoveAddasl()
246 for (NodeAddr<DefNode *> DA : SA.Addr->members_if(DFG->IsDef, *DFG)) { in getAllRealUses()
248 << Print<NodeAddr<DefNode *>>(DA, *DFG) << "\n"); in getAllRealUses()
315 NodeAddr<DefNode *> LRExtRegDN = DFG->addr<DefNode *>(LRExtRegRD); in isSafeToExtLR()
/external/llvm-project/llvm/lib/CodeGen/
DRDFLiveness.cpp144 auto TA = DFG.addr<DefNode*>(DefQ[i]); in getAllReachingDefs()
179 auto TA = DFG.addr<DefNode*>(N); in getAllReachingDefs()
276 for (NodeAddr<DefNode*> DA : TA.Addr->members_if(DefInSet, DFG)) { in getAllReachingDefs()
290 for (NodeAddr<DefNode*> DA : Ds) { in getAllReachingDefs()
300 auto DeadP = [](const NodeAddr<DefNode*> DA) -> bool { in getAllReachingDefs()
323 const auto DA = DFG.addr<const DefNode*>(D); in getAllReachingDefsRecImpl()
339 for (NodeAddr<DefNode*> DA : RDs) { in getAllReachingDefsRecImpl()
420 NodeAddr<DefNode*> DefA, const RegisterAggr &DefRRs) { in getAllReachedUses()
444 auto DA = DFG.addr<DefNode*>(D); in getAllReachedUses()
508 NodeAddr<DefNode*> DA = DFG.addr<DefNode*>(DefQ[i]); in computePhiInfo()
[all …]
DRDFGraph.cpp116 raw_ostream &operator<< (raw_ostream &OS, const Print<NodeAddr<DefNode*>> &P) { in operator <<()
162 OS << PrintNode<DefNode*>(P.Obj, P.G); in operator <<()
446 void DefNode::linkToDef(NodeId Self, NodeAddr<DefNode*> DA) { in linkToDef()
453 void UseNode::linkToDef(NodeId Self, NodeAddr<DefNode*> DA) { in linkToDef()
697 Stack.push_back(NodeAddr<DefNode*>(nullptr, N)); in start_block()
798 NodeAddr<DefNode*> DA = NA; in cloneNode()
824 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef()
826 NodeAddr<DefNode*> DA = newNode(NodeAttrs::Ref | NodeAttrs::Def | Flags); in newDef()
831 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef()
833 NodeAddr<DefNode*> DA = newNode(NodeAttrs::Ref | NodeAttrs::Def | Flags); in newDef()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DRDFGraph.h558 struct DefNode : public RefNode { struct
572 void linkToDef(NodeId Self, NodeAddr<DefNode*> DA); argument
576 void linkToDef(NodeId Self, NodeAddr<DefNode*> DA);
675 using value_type = NodeAddr<DefNode *>;
711 void push(NodeAddr<DefNode*> DA) { Stack.push_back(DA); } in push()
774 void unlinkDef(NodeAddr<DefNode*> DA, bool RemoveFromOwner) { in unlinkDef()
808 static bool IsPreservingDef(const NodeAddr<DefNode*> DA) { in IsPreservingDef()
825 NodeAddr<DefNode*> newDef(NodeAddr<InstrNode*> Owner,
827 NodeAddr<DefNode*> newDef(NodeAddr<InstrNode*> Owner,
858 void unlinkDefDF(NodeAddr<DefNode*> DA);
[all …]
DRDFLiveness.h95 NodeSet getAllReachedUses(RegisterRef RefRR, NodeAddr<DefNode*> DefA,
98 NodeSet getAllReachedUses(RegisterRef RefRR, NodeAddr<DefNode*> DefA) {
/external/llvm-project/llvm/lib/Target/Hexagon/
DRDFDeadCode.cpp94 void DeadCodeElimination::processDef(NodeAddr<DefNode*> DA, in processDef()
101 for (NodeAddr<DefNode*> TA : DFG.getRelatedRefs(IA, DA)) in processDef()
107 for (NodeAddr<DefNode*> DA : LV.getAllReachingDefs(UA)) { in processUse()
151 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) in collect()
DRDFDeadCode.h60 void processDef(NodeAddr<DefNode*> DA, SetQueue<NodeId> &WorkQ);
DRDFCopy.cpp144 for (NodeAddr<DefNode*> DA : SA.Addr->members_if(DFG.IsDef, DFG)) { in run()
184 UA.Addr->linkToDef(UA.Id, DFG.addr<DefNode*>(AtCopy)); in run()
DHexagonOptAddrMode.cpp188 NodeAddr<DefNode *> OffsetRegDN = DFG->addr<DefNode *>(OffsetRegRD); in canRemoveAddasl()
246 for (NodeAddr<DefNode *> DA : SA.Addr->members_if(DFG->IsDef, *DFG)) { in getAllRealUses()
248 << Print<NodeAddr<DefNode *>>(DA, *DFG) << "\n"); in getAllRealUses()
315 NodeAddr<DefNode *> LRExtRegDN = DFG->addr<DefNode *>(LRExtRegRD); in isSafeToExtLR()
DHexagonRDFOpt.cpp253 auto IsDead = [this] (NodeAddr<DefNode*> DA) -> bool { in rewrite()
258 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) { in rewrite()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h123 SDNode *DefNode, unsigned DefIdx, in getOperandLatency() argument
125 return PPCGenInstrInfo::getOperandLatency(ItinData, DefNode, DefIdx, in getOperandLatency()

12