/external/llvm/lib/Target/Hexagon/ |
D | RDFDeadCode.cpp | 71 void DeadCodeElimination::scanInstr(NodeAddr<InstrNode*> IA, in scanInstr() 85 NodeAddr<InstrNode*> IA = DA.Addr->getOwner(DFG); in processDef() 118 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) in collect() 139 auto IsDead = [this] (NodeAddr<InstrNode*> IA) -> bool { in collect() 147 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in collect() 157 dbgs() << "Dead instr: " << PrintNode<InstrNode*>(IA, DFG) << "\n"; in collect() 189 DINs.push_back(DFG.addr<InstrNode*>(I)); in erase() 220 for (NodeAddr<InstrNode*> IA : DINs) { in erase()
|
D | RDFGraph.h | 564 struct InstrNode : public CodeNode { struct 568 struct PhiNode : public InstrNode { 574 struct StmtNode : public InstrNode { 685 void pushDefs(NodeAddr<InstrNode*> IA, DefStackMap &DM); 689 NodeAddr<RefNode*> getNextRelated(NodeAddr<InstrNode*> IA, 691 NodeAddr<RefNode*> getNextImp(NodeAddr<InstrNode*> IA, 693 NodeAddr<RefNode*> getNextImp(NodeAddr<InstrNode*> IA, 695 NodeAddr<RefNode*> getNextShadow(NodeAddr<InstrNode*> IA, 697 NodeAddr<RefNode*> getNextShadow(NodeAddr<InstrNode*> IA, 700 NodeList getRelatedRefs(NodeAddr<InstrNode*> IA, [all …]
|
D | RDFCopy.cpp | 92 void CopyPropagation::updateMap(NodeAddr<InstrNode*> IA) { in updateMap() 122 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in scanBlock() 176 auto SA = DFG.addr<InstrNode*>(C); in run() 203 NodeAddr<InstrNode*> IA = UA.Addr->getOwner(DFG); in run()
|
D | HexagonOptAddrMode.cpp | 88 void updateMap(NodeAddr<InstrNode *> IA); 160 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in canRemoveAddasl() 204 << Print<NodeAddr<InstrNode *>>(TempIA, *DFG) << "\n"; in allValidCandidates() 226 << Print<NodeAddr<InstrNode *>>(TempIA, *DFG) << "\n"; in getAllRealUses() 439 DEBUG(dbgs() << "[InstrNode]: " << Print<NodeAddr<InstrNode *>>(UseIA, *DFG) in changeAddAsl() 520 DEBUG(dbgs() << "\t[InstrNode]: " << Print<NodeAddr<InstrNode *>>(IA, *DFG) in processBlock() 575 void HexagonOptAddrMode::updateMap(NodeAddr<InstrNode *> IA) { in updateMap() 602 for (NodeAddr<InstrNode *> IA : BA.Addr->members(*DFG)) { in constructDefMap()
|
D | RDFGraph.cpp | 219 const Print<NodeAddr<InstrNode*>> &P) { in operator <<() 264 OS << PrintNode<InstrNode*>(I, P.G) << '\n'; in operator <<() 503 NodeAddr<NodeBase*> InstrNode::getOwner(const DataFlowGraph &G) { in getOwner() 870 NodeAddr<UseNode*> DataFlowGraph::newUse(NodeAddr<InstrNode*> Owner, in newUse() 886 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef() 893 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef() 1005 void DataFlowGraph::pushDefs(NodeAddr<InstrNode*> IA, DefStackMap &DefM) { in pushDefs() 1055 NodeList DataFlowGraph::getRelatedRefs(NodeAddr<InstrNode*> IA, in getRelatedRefs() 1082 NodeAddr<RefNode*> DataFlowGraph::getNextRelated(NodeAddr<InstrNode*> IA, in getNextRelated() 1121 DataFlowGraph::locateNextRef(NodeAddr<InstrNode*> IA, NodeAddr<RefNode*> RA, in locateNextRef() [all …]
|
D | HexagonRDFOpt.cpp | 89 bool rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove); 90 void removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum); 175 void HexagonDCE::removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum) { in removeOperand() 201 bool HexagonDCE::rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove) { in rewrite()
|
D | RDFLiveness.cpp | 137 auto Block = [this] (NodeAddr<InstrNode*> IA) -> MachineBasicBlock* { in getAllReachingDefs() 149 auto OA = DFG.addr<InstrNode*>(A), OB = DFG.addr<InstrNode*>(B); in getAllReachingDefs() 202 auto TA = DFG.addr<InstrNode*>(T); in getAllReachingDefs() 532 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in computeLiveIns() 732 bool Liveness::isRestricted(NodeAddr<InstrNode*> IA, NodeAddr<RefNode*> RA, in isRestricted() 842 NodeAddr<InstrNode*> IA = DA.Addr->getOwner(DFG); in traverse() 872 NodeAddr<InstrNode*> IA = TA.Addr->getOwner(DFG); in traverse() 896 NodeAddr<InstrNode*> IA = I; in traverse()
|
D | RDFCopy.h | 48 void updateMap(NodeAddr<InstrNode*> IA);
|
D | RDFDeadCode.h | 60 void scanInstr(NodeAddr<InstrNode*> IA, SetQueue<NodeId> &WorkQ);
|
D | RDFLiveness.h | 99 bool isRestricted(NodeAddr<InstrNode*> IA, NodeAddr<RefNode*> RA,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | RDFDeadCode.cpp | 82 void DeadCodeElimination::scanInstr(NodeAddr<InstrNode*> IA, in scanInstr() 96 NodeAddr<InstrNode*> IA = DA.Addr->getOwner(DFG); in processDef() 129 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) in collect() 150 auto IsDead = [this] (NodeAddr<InstrNode*> IA) -> bool { in collect() 158 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in collect() 168 dbgs() << "Dead instr: " << PrintNode<InstrNode*>(IA, DFG) << "\n"; in collect() 200 DINs.push_back(DFG.addr<InstrNode*>(I)); in erase() 231 for (NodeAddr<InstrNode*> IA : DINs) { in erase()
|
D | RDFGraph.h | 611 struct InstrNode : public CodeNode { struct 615 struct PhiNode : public InstrNode { 621 struct StmtNode : public InstrNode { 737 void pushAllDefs(NodeAddr<InstrNode*> IA, DefStackMap &DM); 755 NodeAddr<RefNode*> getNextRelated(NodeAddr<InstrNode*> IA, 757 NodeAddr<RefNode*> getNextImp(NodeAddr<InstrNode*> IA, 759 NodeAddr<RefNode*> getNextImp(NodeAddr<InstrNode*> IA, 761 NodeAddr<RefNode*> getNextShadow(NodeAddr<InstrNode*> IA, 763 NodeAddr<RefNode*> getNextShadow(NodeAddr<InstrNode*> IA, 766 NodeList getRelatedRefs(NodeAddr<InstrNode*> IA, [all …]
|
D | RDFCopy.cpp | 73 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in scanBlock() 90 NodeAddr<InstrNode*> IA) { in getLocalReachingDef() 139 auto SA = DFG.addr<InstrNode*>(C); in run() 165 NodeAddr<InstrNode*> IA = UA.Addr->getOwner(DFG); in run()
|
D | RDFGraph.cpp | 263 const Print<NodeAddr<InstrNode*>> &P) { in operator <<() 308 OS << PrintNode<InstrNode*>(I, P.G) << '\n'; in operator <<() 552 NodeAddr<NodeBase*> InstrNode::getOwner(const DataFlowGraph &G) { in getOwner() 825 NodeAddr<UseNode*> DataFlowGraph::newUse(NodeAddr<InstrNode*> Owner, in newUse() 841 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef() 848 NodeAddr<DefNode*> DataFlowGraph::newDef(NodeAddr<InstrNode*> Owner, in newDef() 908 for (NodeAddr<InstrNode*> IA : BA.Addr->members(*this)) in build() 1042 void DataFlowGraph::pushAllDefs(NodeAddr<InstrNode*> IA, DefStackMap &DefM) { in pushAllDefs() 1049 void DataFlowGraph::pushClobbers(NodeAddr<InstrNode*> IA, DefStackMap &DefM) { in pushClobbers() 1093 void DataFlowGraph::pushDefs(NodeAddr<InstrNode*> IA, DefStackMap &DefM) { in pushDefs() [all …]
|
D | HexagonRDFOpt.cpp | 95 bool rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove); 96 void removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum); 189 void HexagonDCE::removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum) { in removeOperand() 215 bool HexagonDCE::rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove) { in rewrite()
|
D | RDFLiveness.cpp | 171 auto Block = [this] (NodeAddr<InstrNode*> IA) -> MachineBasicBlock* { in getAllReachingDefs() 183 auto OA = DFG.addr<InstrNode*>(A), OB = DFG.addr<InstrNode*>(B); in getAllReachingDefs() 235 auto TA = DFG.addr<InstrNode*>(T); in getAllReachingDefs() 325 NodeAddr<InstrNode*> IA) { in getNearestAliasedRef() 331 [FindId] (const NodeAddr<InstrNode*> T) { in getNearestAliasedRef() 340 for (NodeAddr<InstrNode*> I : make_range(B, E)) { in getNearestAliasedRef() 690 for (NodeAddr<InstrNode*> IA : BA.Addr->members(DFG)) { in computeLiveIns() 1003 NodeAddr<InstrNode*> IA = DA.Addr->getOwner(DFG); in traverse() 1037 NodeAddr<InstrNode*> ITA = TA.Addr->getOwner(DFG); in traverse() 1072 NodeAddr<InstrNode*> IA = I; in traverse()
|
D | HexagonOptAddrMode.cpp | 179 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in canRemoveAddasl() 235 << Print<NodeAddr<InstrNode *>>(TempIA, *DFG) << "\n"; in allValidCandidates() 258 << Print<NodeAddr<InstrNode *>>(TempIA, *DFG) << "\n"; in getAllRealUses() 301 NodeAddr<InstrNode *> IA = UA.Addr->getOwner(*DFG); in isSafeToExtLR() 618 << Print<NodeAddr<InstrNode *>>(UseIA, *DFG) << "\n"); in changeAddAsl() 701 << Print<NodeAddr<InstrNode *>>(IA, *DFG) << '\n'); in processBlock()
|
D | RDFCopy.h | 55 NodeId getLocalReachingDef(RegisterRef RefRR, NodeAddr<InstrNode*> IA);
|
D | RDFDeadCode.h | 60 void scanInstr(NodeAddr<InstrNode*> IA, SetQueue<NodeId> &WorkQ);
|
D | RDFLiveness.h | 82 NodeAddr<InstrNode*> IA);
|