/external/llvm/include/llvm/CodeGen/ |
ResourcePriorityQueue.h | 31 struct resource_sort : public std::binary_function<SUnit*, SUnit*, bool> { 35 bool operator()(const SUnit* left, const SUnit* right) const; 40 std::vector<SUnit> *SUnits; 49 std::vector<SUnit*> Queue; 71 std::vector<SUnit*> Packet; 82 void initNodes(std::vector<SUnit> &sunits) override; 84 void addNode(const SUnit *SU) override { 88 void updateNode(const SUnit *SU) override { [all...] |
LatencyPriorityQueue.h | 25 struct latency_sort : public std::binary_function<SUnit*, SUnit*, bool> { 29 bool operator()(const SUnit* left, const SUnit* right) const; 34 std::vector<SUnit> *SUnits; 43 std::vector<SUnit*> Queue; 52 void initNodes(std::vector<SUnit> &sunits) override { 57 void addNode(const SUnit *SU) override { 61 void updateNode(const SUnit *SU) override { 80 void push(SUnit *U) override [all...] |
ScheduleHazardRecognizer.h | 21 class SUnit; 61 virtual HazardType getHazardType(SUnit *m, int Stalls = 0) { 72 virtual void EmitInstruction(SUnit *) {} 83 virtual unsigned PreEmitNoops(SUnit *) { 96 virtual bool ShouldPreferAnother(SUnit *) {
|
ScheduleDAGInstrs.h | 34 /// An individual mapping from virtual register number to SUnit. 38 SUnit *SU; 40 VReg2SUnit(unsigned VReg, LaneBitmask LaneMask, SUnit *SU) 48 /// Mapping from virtual register to SUnit including an operand index. 53 unsigned OperandIndex, SUnit *SU) 60 SUnit *SU; 64 PhysRegSUOper(SUnit *su, int op, unsigned R): SU(su), OpIdx(op), Reg(R) {} 138 /// scheduling region is mapped to an SUnit. 139 DenseMap<MachineInstr*, SUnit*> MISUnitMap; 168 SUnit *BarrierChain [all...] |
ScheduleDAG.h | 28 class SUnit; 74 /// Dep - A pointer to the depending/depended-on SUnit, and an enum 76 PointerIntPair<SUnit *, 2, Kind> Dep; 101 SDep(SUnit *S, Kind kind, unsigned Reg) 119 SDep(SUnit *S, OrderKind kind) 148 //// getSUnit - Return the SUnit to which this edge points. 149 SUnit *getSUnit() const; 151 //// setSUnit - Assign the SUnit to which this edge points. 152 void setSUnit(SUnit *SU); 243 /// SUnit - Scheduling unit. This is a node in the scheduling DAG [all...] |
MachineScheduler.h | 205 virtual SUnit *pickNode(bool &IsTopNode) = 0; 212 virtual void schedNode(SUnit *SU, bool IsTopNode) = 0; 216 virtual void releaseTopNode(SUnit *SU) = 0; 219 virtual void releaseBottomNode(SUnit *SU) = 0; 246 const SUnit *NextClusterPred; 247 const SUnit *NextClusterSucc; 286 bool canAddEdge(SUnit *SuccSU, SUnit *PredSU); 293 bool addEdge(SUnit *SuccSU, const SDep &PredDep); 314 const SUnit *getNextClusterPred() const { return NextClusterPred; [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
LatencyPriorityQueue.h | 25 struct latency_sort : public std::binary_function<SUnit*, SUnit*, bool> { 29 bool operator()(const SUnit* left, const SUnit* right) const; 34 std::vector<SUnit> *SUnits; 43 std::vector<SUnit*> Queue; 52 void initNodes(std::vector<SUnit> &sunits) { 57 void addNode(const SUnit *SU) { 61 void updateNode(const SUnit *SU) { 80 virtual void push(SUnit *U) [all...] |
ScheduleHazardRecognizer.h | 20 class SUnit; 58 virtual HazardType getHazardType(SUnit *m, int Stalls) { 69 virtual void EmitInstruction(SUnit *) {}
|
ScheduleDAG.h | 28 class SUnit; 55 /// Dep - A pointer to the depending/depended-on SUnit, and an enum 57 PointerIntPair<SUnit *, 2, Kind> Dep; 95 SDep(SUnit *S, Kind kind, unsigned latency = 1, unsigned Reg = 0, 153 //// getSUnit - Return the SUnit to which this edge points. 154 SUnit *getSUnit() const { 158 //// setSUnit - Assign the SUnit to which this edge points. 159 void setSUnit(SUnit *SU) { 227 /// SUnit - Scheduling unit. This is a node in the scheduling DAG. 228 class SUnit { [all...] |
/external/llvm/lib/Target/AMDGPU/ |
R600MachineScheduler.h | 53 std::vector<SUnit *> Available[IDLast], Pending[IDLast]; 54 std::vector<SUnit *> AvailableAlus[AluLast]; 55 std::vector<SUnit *> PhysicalRegCopy; 76 SUnit *pickNode(bool &IsTopNode) override; 77 void schedNode(SUnit *SU, bool IsTopNode) override; 78 void releaseTopNode(SUnit *SU) override; 79 void releaseBottomNode(SUnit *SU) override; 85 int getInstKind(SUnit *SU); 87 AluKind getAluKind(SUnit *SU) const; 90 SUnit *AttemptFillSlot (unsigned Slot, bool AnyAlu) [all...] |
/external/llvm/lib/CodeGen/ |
LatencyPriorityQueue.cpp | 23 bool latency_sort::operator()(const SUnit *LHS, const SUnit *RHS) const { 56 SUnit *LatencyPriorityQueue::getSingleUnscheduledPred(SUnit *SU) { 57 SUnit *OnlyAvailablePred = nullptr; 58 for (SUnit::const_pred_iterator I = SU->Preds.begin(), E = SU->Preds.end(); 60 SUnit &Pred = *I->getSUnit(); 73 void LatencyPriorityQueue::push(SUnit *SU) { 77 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); 92 void LatencyPriorityQueue::scheduledNode(SUnit *SU) [all...] |
ScheduleDAGPrinter.cpp | 41 static bool isNodeHidden(const SUnit *Node) { 45 static std::string getNodeIdentifierLabel(const SUnit *Node, 55 static std::string getEdgeAttributes(const SUnit *Node, 66 std::string getNodeLabel(const SUnit *Node, const ScheduleDAG *Graph); 67 static std::string getNodeAttributes(const SUnit *N, 79 std::string DOTGraphTraits<ScheduleDAG*>::getNodeLabel(const SUnit *SU,
|
ScheduleDAG.cpp | 52 EntrySU = SUnit(); 53 ExitSU = SUnit(); 65 bool SUnit::addPred(const SDep &D, bool Required) { 76 SUnit *PredSU = I->getSUnit(); 95 SUnit *N = D.getSUnit(); 133 void SUnit::removePred(const SDep &D) { 141 SUnit *N = D.getSUnit(); 178 void SUnit::setDepthDirty() { 180 SmallVector<SUnit*, 8> WorkList; 183 SUnit *SU = WorkList.pop_back_val() [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
TargetSubtargetInfo.h | 23 class SUnit; 62 virtual void adjustSchedDependency(SUnit *def, SUnit *use,
|
/external/llvm/lib/Target/PowerPC/ |
PPCHazardRecognizers.h | 28 SmallVector<SUnit *, 7> CurGroup; 31 bool isLoadAfterStore(SUnit *SU); 32 bool isBCTRAfterSet(SUnit *SU); 40 HazardType getHazardType(SUnit *SU, int Stalls) override; 41 bool ShouldPreferAnother(SUnit* SU) override; 42 unsigned PreEmitNoops(SUnit *SU) override; 43 void EmitInstruction(SUnit *SU) override; 79 HazardType getHazardType(SUnit *SU, int Stalls) override; 80 void EmitInstruction(SUnit *SU) override;
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
ScheduleDAGSDNodes.h | 30 /// nodes into a single SUnit so that they are scheduled together. 68 /// NewSUnit - Creates a new SUnit and return a ptr to it. 70 SUnit *NewSUnit(SDNode *N); 72 /// Clone - Creates a clone of the specified SUnit. It does not copy the 75 SUnit *Clone(SUnit *N); 77 /// BuildSchedGraph - Build the SUnit graph from the selection dag that we 78 /// are input. This SUnit graph is similar to the SelectionDAG, but 80 /// flagged together nodes with a single SUnit. 87 void InitVRegCycleFlag(SUnit *SU) [all...] |
ScheduleDAGRRList.cpp | 139 std::vector<SUnit*> PendingQueue; 158 std::vector<SUnit*> LiveRegDefs; 159 std::vector<SUnit*> LiveRegGens; 190 bool IsReachable(const SUnit *SU, const SUnit *TargetSU) { 196 bool WillCreateCycle(SUnit *SU, SUnit *TargetSU) { 200 /// AddPred - adds a predecessor edge to SUnit SU. 203 void AddPred(SUnit *SU, const SDep &D) { 208 /// RemovePred - removes a predecessor edge from SUnit SU [all...] |
ScheduleDAGFast.cpp | 43 SmallVector<SUnit *, 16> Queue; 47 void push(SUnit *U) { 51 SUnit *pop() { 53 SUnit *V = Queue.back(); 71 std::vector<SUnit*> LiveRegDefs; 80 /// AddPred - adds a predecessor edge to SUnit SU. 82 void AddPred(SUnit *SU, const SDep &D) { 86 /// RemovePred - removes a predecessor edge from SUnit SU. 88 void RemovePred(SUnit *SU, const SDep &D) { 93 void ReleasePred(SUnit *SU, SDep *PredEdge) [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
SPUHazardRecognizers.h | 33 virtual HazardType getHazardType(SUnit *SU, int Stalls); 34 virtual void EmitInstruction(SUnit *SU);
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
LatencyPriorityQueue.cpp | 22 bool latency_sort::operator()(const SUnit *LHS, const SUnit *RHS) const { 55 SUnit *LatencyPriorityQueue::getSingleUnscheduledPred(SUnit *SU) { 56 SUnit *OnlyAvailablePred = 0; 57 for (SUnit::const_pred_iterator I = SU->Preds.begin(), E = SU->Preds.end(); 59 SUnit &Pred = *I->getSUnit(); 72 void LatencyPriorityQueue::push(SUnit *SU) { 76 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); 91 void LatencyPriorityQueue::ScheduledNode(SUnit *SU) [all...] |
ScheduleDAG.cpp | 56 if (SUnit *SU = Sequence[i]) 73 EntrySU = SUnit(); 74 ExitSU = SUnit(); 88 bool SUnit::addPred(const SDep &D) { 97 SUnit *N = D.getSUnit(); 125 void SUnit::removePred(const SDep &D) { 134 SUnit *N = D.getSUnit(); 168 void SUnit::setDepthDirty() { 170 SmallVector<SUnit*, 8> WorkList; 173 SUnit *SU = WorkList.pop_back_val() [all...] |
ScheduleDAGEmit.cpp | 35 void ScheduleDAG::EmitPhysRegCopy(SUnit *SU, 36 DenseMap<SUnit*, unsigned> &VRBaseMap) { 37 for (SUnit::const_pred_iterator I = SU->Preds.begin(), E = SU->Preds.end(); 42 DenseMap<SUnit*, unsigned>::iterator VRI = VRBaseMap.find(I->getSUnit()); 46 for (SUnit::const_succ_iterator II = SU->Succs.begin(),
|
/external/llvm/lib/Target/Hexagon/ |
HexagonMachineScheduler.h | 50 std::vector<SUnit*> Packet; 86 bool isResourceAvailable(SUnit *SU); 87 bool reserveResources(SUnit *SU); 113 // The best SUnit candidate. 114 SUnit *SU; 175 bool checkHazard(SUnit *SU); 177 void releaseNode(SUnit *SU, unsigned ReadyCycle); 181 void bumpNode(SUnit *SU); 185 void removeReady(SUnit *SU); 187 SUnit *pickOnlyChoice() [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
ScheduleDAGSDNodes.h | 30 /// nodes into a single SUnit so that they are scheduled together. 42 /// The schedule. Null SUnit*'s represent noop instructions. 43 std::vector<SUnit*> Sequence; 74 /// NewSUnit - Creates a new SUnit and return a ptr to it. 76 SUnit *newSUnit(SDNode *N); 78 /// Clone - Creates a clone of the specified SUnit. It does not copy the 81 SUnit *Clone(SUnit *N); 83 /// BuildSchedGraph - Build the SUnit graph from the selection dag that we 84 /// are input. This SUnit graph is similar to the SelectionDAG, bu [all...] |
/external/llvm/lib/Target/ARM/ |
ARMHazardRecognizer.h | 40 HazardType getHazardType(SUnit *SU, int Stalls) override; 42 void EmitInstruction(SUnit *SU) override;
|