llvm::ModuloSchedule

Represents a schedule for a single-block loop. For every instruction we maintain a Cycle and Stage.

Synopsis

Declared in <llvm/CodeGen/ModuloSchedule.h>

class ModuloSchedule;

Member Functions

NameDescription
ModuloSchedule [constructor]Create a new ModuloSchedule.
dump Dump the schedule to dbgs().
getCycle Return the cycle that MI is scheduled at, or -1.
getFinalCycle Return the final cycle in the schedule, which is the cycle index of the last instruction.
getFirstCycle Return the first cycle in the schedule, which is the cycle index of the first instruction.
getInstructions Return the rescheduled instructions in order.
getLoop Return the single-block loop being scheduled.
getNumStages Return the number of stages contained in this schedule, which is the largest stage index + 1.
getStage Return the stage that MI is scheduled in, or -1.
print Print the schedule to the given stream.
setStage Set the stage of a newly created instruction.