Home
last modified time | relevance | path

Searched refs:DefNode (Results 1 – 25 of 33) 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 …]
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.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()
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()
DHexagonOptAddrMode.cpp166 NodeAddr<DefNode *> OffsetRegDN = DFG->addr<DefNode *>(OffsetRegRD); in canRemoveAddasl()
215 for (NodeAddr<DefNode *> DA : SA.Addr->members_if(DFG->IsDef, *DFG)) { in getAllRealUses()
216 DEBUG(dbgs() << "\t\t[DefNode]: " << Print<NodeAddr<DefNode *>>(DA, *DFG) in getAllRealUses()
DHexagonRDFOpt.cpp239 auto IsDead = [this] (NodeAddr<DefNode*> DA) -> bool { in rewrite()
244 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) { in rewrite()
DRDFLiveness.h45 NodeSet getAllReachedUses(RegisterRef RefRR, NodeAddr<DefNode*> DefA,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DRDFLiveness.cpp143 auto TA = DFG.addr<DefNode*>(DefQ[i]); in getAllReachingDefs()
162 auto TA = DFG.addr<DefNode*>(N); in getAllReachingDefs()
238 for (NodeAddr<DefNode*> DA : TA.Addr->members_if(DefInSet, DFG)) { in getAllReachingDefs()
252 for (NodeAddr<DefNode*> DA : Ds) { in getAllReachingDefs()
262 auto DeadP = [](const NodeAddr<DefNode*> DA) -> bool { in getAllReachingDefs()
285 const auto DA = DFG.addr<const DefNode*>(D); in getAllReachingDefsRecImpl()
301 for (NodeAddr<DefNode*> DA : RDs) { in getAllReachingDefsRecImpl()
382 NodeAddr<DefNode*> DefA, const RegisterAggr &DefRRs) { in getAllReachedUses()
406 auto DA = DFG.addr<DefNode*>(D); in getAllReachedUses()
470 NodeAddr<DefNode*> DA = DFG.addr<DefNode*>(DefQ[i]); in computePhiInfo()
[all …]
DRDFGraph.cpp120 raw_ostream &operator<< (raw_ostream &OS, const Print<NodeAddr<DefNode*>> &P) { in operator <<()
169 OS << PrintNode<DefNode*>(P.Obj, P.G); in operator <<()
465 void DefNode::linkToDef(NodeId Self, NodeAddr<DefNode*> DA) { in linkToDef()
472 void UseNode::linkToDef(NodeId Self, NodeAddr<DefNode*> DA) { in linkToDef()
716 Stack.push_back(NodeAddr<DefNode*>(nullptr, N)); in start_block()
815 NodeAddr<DefNode*> DA = NA; in cloneNode()
841 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef()
843 NodeAddr<DefNode*> DA = newNode(NodeAttrs::Ref | NodeAttrs::Def | Flags); in newDef()
848 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef()
850 NodeAddr<DefNode*> DA = newNode(NodeAttrs::Ref | NodeAttrs::Def | Flags); in newDef()
[all …]
DRDFGraph.h559 struct DefNode : public RefNode { struct
573 void linkToDef(NodeId Self, NodeAddr<DefNode*> DA); argument
577 void linkToDef(NodeId Self, NodeAddr<DefNode*> DA);
676 using value_type = NodeAddr<DefNode *>;
712 void push(NodeAddr<DefNode*> DA) { Stack.push_back(DA); } in push()
779 void unlinkDef(NodeAddr<DefNode*> DA, bool RemoveFromOwner) { in unlinkDef()
813 static bool IsPreservingDef(const NodeAddr<DefNode*> DA) { in IsPreservingDef()
830 NodeAddr<DefNode*> newDef(NodeAddr<InstrNode*> Owner,
832 NodeAddr<DefNode*> newDef(NodeAddr<InstrNode*> Owner,
863 void unlinkDefDF(NodeAddr<DefNode*> DA);
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.h71 NodeSet getAllReachedUses(RegisterRef RefRR, NodeAddr<DefNode*> DefA,
74 NodeSet getAllReachedUses(RegisterRef RefRR, NodeAddr<DefNode*> DefA) { in getAllReachedUses()
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()
DRDFCopy.cpp145 for (NodeAddr<DefNode*> DA : SA.Addr->members_if(DFG.IsDef, DFG)) { in run()
185 UA.Addr->linkToDef(UA.Id, DFG.addr<DefNode*>(AtCopy)); in run()
DRDFDeadCode.h61 void processDef(NodeAddr<DefNode*> DA, SetQueue<NodeId> &WorkQ);
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/swiftshader/third_party/LLVM/lib/Target/
DTargetInstrInfo.cpp78 SDNode *DefNode, unsigned DefIdx, in getOperandLatency() argument
83 if (!DefNode->isMachineOpcode()) in getOperandLatency()
86 unsigned DefClass = get(DefNode->getMachineOpcode()).getSchedClass(); in getOperandLatency()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h123 SDNode *DefNode, unsigned DefIdx, in getOperandLatency() argument
125 return PPCGenInstrInfo::getOperandLatency(ItinData, DefNode, DefIdx, in getOperandLatency()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h178 SDNode *DefNode, unsigned DefIdx, in getOperandLatency() argument
180 return PPCGenInstrInfo::getOperandLatency(ItinData, DefNode, DefIdx, in getOperandLatency()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetInstrInfo.cpp1041 SDNode *DefNode, unsigned DefIdx, in getOperandLatency() argument
1046 if (!DefNode->isMachineOpcode()) in getOperandLatency()
1049 unsigned DefClass = get(DefNode->getMachineOpcode()).getSchedClass(); in getOperandLatency()
/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp982 SDNode *DefNode, unsigned DefIdx, in getOperandLatency() argument
987 if (!DefNode->isMachineOpcode()) in getOperandLatency()
990 unsigned DefClass = get(DefNode->getMachineOpcode()).getSchedClass(); in getOperandLatency()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.h213 SDNode *DefNode, unsigned DefIdx,
DARMBaseInstrInfo.cpp2498 SDNode *DefNode, unsigned DefIdx, in getOperandLatency() argument
2500 if (!DefNode->isMachineOpcode()) in getOperandLatency()
2503 const MCInstrDesc &DefMCID = get(DefNode->getMachineOpcode()); in getOperandLatency()
2520 const MachineSDNode *DefMN = dyn_cast<MachineSDNode>(DefNode); in getOperandLatency()
2538 cast<ConstantSDNode>(DefNode->getOperand(2))->getZExtValue(); in getOperandLatency()
2551 cast<ConstantSDNode>(DefNode->getOperand(2))->getZExtValue(); in getOperandLatency()

12