LLVM 22.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::SchedRegion Struct Reference

A region of an MBB for scheduling. More...

#include "llvm/CodeGen/MachineScheduler.h"

Public Member Functions

 SchedRegion (MachineBasicBlock::iterator B, MachineBasicBlock::iterator E, unsigned N)
 

Public Attributes

MachineBasicBlock::iterator RegionBegin
 RegionBegin is the first instruction in the scheduling region, and RegionEnd is either MBB->end() or the scheduling boundary after the last instruction in the scheduling region.
 
MachineBasicBlock::iterator RegionEnd
 
unsigned NumRegionInstrs
 

Detailed Description

A region of an MBB for scheduling.

Definition at line 222 of file MachineScheduler.h.

Constructor & Destructor Documentation

◆ SchedRegion()

llvm::SchedRegion::SchedRegion ( MachineBasicBlock::iterator  B,
MachineBasicBlock::iterator  E,
unsigned  N 
)
inline

Definition at line 232 of file MachineScheduler.h.

Member Data Documentation

◆ NumRegionInstrs

unsigned llvm::SchedRegion::NumRegionInstrs

Definition at line 230 of file MachineScheduler.h.

◆ RegionBegin

MachineBasicBlock::iterator llvm::SchedRegion::RegionBegin

RegionBegin is the first instruction in the scheduling region, and RegionEnd is either MBB->end() or the scheduling boundary after the last instruction in the scheduling region.

These iterators cannot refer to instructions outside of the identified scheduling region because those may be reordered before scheduling this region.

Definition at line 228 of file MachineScheduler.h.

◆ RegionEnd

MachineBasicBlock::iterator llvm::SchedRegion::RegionEnd

Definition at line 229 of file MachineScheduler.h.


The documentation for this struct was generated from the following file: