Initializes DAG and scheduler state for a new scheduling region.

Synopsis

Declared in <llvm/CodeGen/ScheduleDAGInstrs.h>

virtual
void
enterRegion(
    MachineBasicBlock* bb,
    MachineBasicBlock::iterator begin,
    MachineBasicBlock::iterator end,
    unsigned int regioninstrs);

Description

This does not actually create the DAG, only clears it. The scheduling driver may call BuildSchedGraph multiple times per scheduling region.

Parameters

Name

Description

bb

Basic block containing the region.

begin

Iterator to the first instruction in the region.

end

Iterator past the last instruction in the region.

regioninstrs

Number of instructions in the region.

Created with MrDocs