LLVM 22.0.0git
llvm::ModuloScheduleTestAnnotater Class Reference

Expander that simply annotates each scheduled instruction with a post-instr symbol that can be consumed by the ModuloScheduleTest pass. More...

#include "llvm/CodeGen/ModuloSchedule.h"

Public Member Functions

 ModuloScheduleTestAnnotater (MachineFunction &MF, ModuloSchedule &S)
void annotate ()
 Performs the annotation.

Detailed Description

Expander that simply annotates each scheduled instruction with a post-instr symbol that can be consumed by the ModuloScheduleTest pass.

The post-instr symbol is a way of annotating an instruction that can be roundtripped in MIR. The syntax is: MYINST %0, post-instr-symbol <mcsymbol Stage-1_Cycle-5>

Definition at line 451 of file ModuloSchedule.h.

Constructor & Destructor Documentation

◆ ModuloScheduleTestAnnotater()

llvm::ModuloScheduleTestAnnotater::ModuloScheduleTestAnnotater ( MachineFunction & MF,
ModuloSchedule & S )
inline

Definition at line 456 of file ModuloSchedule.h.

Member Function Documentation

◆ annotate()

void ModuloScheduleTestAnnotater::annotate ( )

Performs the annotation.

Definition at line 2879 of file ModuloSchedule.cpp.

References MI, and llvm::raw_svector_ostream::str().

Referenced by llvm::SwingSchedulerDAG::schedule().


The documentation for this class was generated from the following files: