Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:SUnit

33   /// An individual mapping from virtual register number to SUnit.
36 SUnit *SU;
38 VReg2SUnit(unsigned reg, SUnit *su): VirtReg(reg), SU(su) {}
48 SUnit *SU;
52 PhysRegSUOper(SUnit *su, int op, unsigned R): SU(su), OpIdx(op), Reg(R) {}
118 /// scheduling region is mapped to an SUnit.
119 DenseMap<MachineInstr*, SUnit*> MISUnitMap;
142 std::vector<SUnit *> PendingLoads;
173 /// \brief Resolve and cache a resolved scheduling class for an SUnit.
174 const MCSchedClassDesc *getSchedClass(SUnit *SU) const {
186 /// newSUnit - Creates a new SUnit and return a ptr to it.
187 SUnit *newSUnit(MachineInstr *MI);
189 /// getSUnit - Return an existing SUnit for this MI, or NULL.
190 SUnit *getSUnit(MachineInstr *MI) const;
233 void dumpNode(const SUnit *SU) const override;
236 std::string getGraphNodeLabel(const SUnit *SU) const override;
245 void addPhysRegDataDeps(SUnit *SU, unsigned OperIdx);
246 void addPhysRegDeps(SUnit *SU, unsigned OperIdx);
247 void addVRegDefDeps(SUnit *SU, unsigned OperIdx);
248 void addVRegUseDeps(SUnit *SU, unsigned OperIdx);
260 /// newSUnit - Creates a new SUnit and return a ptr to it.
261 inline SUnit *ScheduleDAGInstrs::newSUnit(MachineInstr *MI) {
263 const SUnit *Addr = SUnits.empty() ? nullptr : &SUnits[0];
265 SUnits.push_back(SUnit(MI, (unsigned)SUnits.size()));
272 /// getSUnit - Return an existing SUnit for this MI, or NULL.
273 inline SUnit *ScheduleDAGInstrs::getSUnit(MachineInstr *MI) const {
274 DenseMap<MachineInstr*, SUnit*>::const_iterator I = MISUnitMap.find(MI);