Lines Matching defs:SGID
91 unsigned SGID;
103 InstructionRule(const SIInstrInfo *TII, unsigned SGID,
105 : TII(TII), SGID(SGID) {
133 // SGID is used to map instructions to candidate SchedGroups
134 unsigned SGID;
139 // Count of the number of created SchedGroups, used to initialize SGID.
225 int getSGID() { return SGID; }
232 SGID = NumSchedGroups++;
238 SGID = NumSchedGroups++;
324 int addEdges(SmallVectorImpl<SchedGroup> &SyncPipeline, SUnit *SU, int SGID,
326 /// Link the pipeline as if \p SU was in the SchedGroup with ID \p SGID. It
330 int linkSUnit(SUnit *SU, int SGID,
434 LLVM_DEBUG(dbgs() << "SchedGroup with SGID " << SG.getSGID()
457 SUnit *SU, int SGID, std::vector<std::pair<SUnit *, SUnit *>> &AddedEdges,
462 if (I->getSGID() == SGID) {
474 SmallVectorImpl<SchedGroup> &SyncPipeline, SUnit *SU, int SGID,
480 // candidate SGID are successors of the candidate SchedGroup, thus the current
485 return IsBottomUp ? linkSUnit(SU, SGID, AddedEdges, SyncPipeline.rbegin(),
487 : linkSUnit(SU, SGID, AddedEdges, SyncPipeline.begin(),
723 LLVM_DEBUG(dbgs() << "Trying SGID # " << CandSGID << " with Mask "
727 LLVM_DEBUG(dbgs() << "SGID # " << CandSGID << " is full\n");
731 LLVM_DEBUG(dbgs() << "SGID # " << CandSGID << " has conflicting rule\n");
946 IsPipeExp(const SIInstrInfo *TII, unsigned SGID, bool NeedsCache = false)
947 : InstructionRule(TII, SGID, NeedsCache) {}
986 EnablesNthMFMA(unsigned Number, const SIInstrInfo *TII, unsigned SGID,
988 : InstructionRule(TII, SGID, NeedsCache), Number(Number) {}
1033 const SIInstrInfo *TII, unsigned SGID,
1035 : InstructionRule(TII, SGID, NeedsCache), Number(Number),
1073 LessThanNSuccs(unsigned Size, const SIInstrInfo *TII, unsigned SGID,
1075 : InstructionRule(TII, SGID, NeedsCache), Size(Size),
1115 unsigned SGID, bool HasIntermediary = false,
1117 : InstructionRule(TII, SGID, NeedsCache), Size(Size),
1130 IsCvt(const SIInstrInfo *TII, unsigned SGID, bool NeedsCache = false)
1131 : InstructionRule(TII, SGID, NeedsCache) {}
1142 IsFMA(const SIInstrInfo *TII, unsigned SGID, bool NeedsCache = false)
1143 : InstructionRule(TII, SGID, NeedsCache) {}
1153 IsPipeAdd(const SIInstrInfo *TII, unsigned SGID, bool NeedsCache = false)
1154 : InstructionRule(TII, SGID, NeedsCache) {}
1171 if ((unsigned)PipeSG.getSGID() == SGID - Distance)
1190 unsigned SGID, bool NeedsCache = false)
1191 : InstructionRule(TII, SGID, NeedsCache), Distance(Distance) {}
1208 if ((unsigned)PipeSG.getSGID() == SGID - Distance)
1226 unsigned SGID, bool NeedsCache = false)
1227 : InstructionRule(TII, SGID, NeedsCache), Distance(Distance) {}
1241 OccursAtOrAfterNode(unsigned Number, const SIInstrInfo *TII, unsigned SGID,
1243 : InstructionRule(TII, SGID, NeedsCache), Number(Number) {}
1286 unsigned SGID, bool NeedsCache = false)
1287 : InstructionRule(TII, SGID, NeedsCache), Number(Number),
1314 OccursAfterExp(const SIInstrInfo *TII, unsigned SGID,
1316 : InstructionRule(TII, SGID, NeedsCache) {}
1903 EnablesInitialMFMA(const SIInstrInfo *TII, unsigned SGID,
1905 : InstructionRule(TII, SGID, NeedsCache) {}
1942 IsPermForDSW(const SIInstrInfo *TII, unsigned SGID, bool NeedsCache = false)
1943 : InstructionRule(TII, SGID, NeedsCache) {}
1953 if ((unsigned)PipeSG.getSGID() == SGID - 1) {
1969 IsSuccOfPrevGroup(const SIInstrInfo *TII, unsigned SGID,
1971 : InstructionRule(TII, SGID, NeedsCache) {}
2007 VMEMSize(const SIInstrInfo *TII, unsigned SGID, bool NeedsCache = false)
2008 : InstructionRule(TII, SGID, NeedsCache) {}
2027 if ((unsigned)PipeSG.getSGID() == SGID - Distance) {
2058 unsigned SGID, bool NeedsCache = false)
2059 : InstructionRule(TII, SGID, NeedsCache), Distance(Distance) {}
2552 SyncedInstrs[&SU].push_back(SGID);
2568 SyncedInstrs[&SU].push_back(SGID);