• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/

Lines Matching defs:SU

58   SUnit *SU = nullptr;
98 if (!SU && ((AllowSwitchToAlu && CurInstKind != IDAlu) ||
101 SU = pickAlu();
102 if (!SU && !PhysicalRegCopy.empty()) {
103 SU = PhysicalRegCopy.front();
106 if (SU) {
113 if (!SU) {
115 SU = pickOther(IDFetch);
116 if (SU)
121 if (!SU) {
122 SU = pickOther(IDOther);
123 if (SU)
127 LLVM_DEBUG(if (SU) {
129 DAG->dumpNode(*SU);
139 return SU;
142 void R600SchedStrategy::schedNode(SUnit *SU, bool IsTopNode) {
153 switch (getAluKind(SU)) {
161 for (MachineInstr::mop_iterator It = SU->getInstr()->operands_begin(),
162 E = SU->getInstr()->operands_end(); It != E; ++It) {
189 void R600SchedStrategy::releaseTopNode(SUnit *SU) {
190 LLVM_DEBUG(dbgs() << "Top Releasing "; DAG->dumpNode(*SU));
193 void R600SchedStrategy::releaseBottomNode(SUnit *SU) {
194 LLVM_DEBUG(dbgs() << "Bottom Releasing "; DAG->dumpNode(*SU));
195 if (isPhysicalRegCopy(SU->getInstr())) {
196 PhysicalRegCopy.push_back(SU);
200 int IK = getInstKind(SU);
204 Available[IDOther].push_back(SU);
206 Pending[IK].push_back(SU);
219 R600SchedStrategy::AluKind R600SchedStrategy::getAluKind(SUnit *SU) const {
220 MachineInstr *MI = SU->getInstr();
293 int R600SchedStrategy::getInstKind(SUnit* SU) {
294 int Opcode = SU->getInstr()->getOpcode();
322 SUnit *SU = *It;
323 InstructionsGroupCandidate.push_back(SU->getInstr());
325 (!AnyALU || !TII->isVectorOnly(*SU->getInstr()))) {
328 return SU;
431 SUnit *SU = AttemptFillSlot(3, true);
432 if (SU) {
434 return SU;
440 SUnit *SU = AttemptFillSlot(Chan, false);
441 if (SU) {
443 InstructionsGroupCandidate.push_back(SU->getInstr());
444 return SU;
454 SUnit *SU = nullptr;
461 SU = AQ.back();
464 return SU;