LLVM 24.0.0git
false::MachinePipelinerImpl Class Reference

The main class in the implementation of the target independent software pipeliner pass. More...

Classes

struct  LoopInfo
 Cache the target analysis information about the loop. More...

Public Member Functions

 MachinePipelinerImpl (MachineFunction &MF, const MachineLoopInfo &MLI, LiveIntervals &LIS, AAResults &AA, MachineOptimizationRemarkEmitter &ORE, RegisterClassInfo &RegClassInfo, MachineDominatorTree *MDT)
bool run ()
 Run the software pipeliner over all loops in the function.

Public Attributes

const CodeGenOptions & Opts
MachineFunction * MF = nullptr
MachineOptimizationRemarkEmitter * ORE = nullptr
const MachineLoopInfo * MLI = nullptr
const InstrItineraryData * InstrItins = nullptr
const TargetInstrInfo * TII = nullptr
RegisterClassInfo * RegClassInfo = nullptr
LiveIntervals * LIS = nullptr
AAResults * AA = nullptr
MachineDominatorTree * MDT = nullptr
const TargetMachine * TM = nullptr
bool disabledByPragma = false
unsigned II_setByPragma = 0
LoopInfo LI

Static Public Attributes

static int NumTries = 0

Detailed Description

The main class in the implementation of the target independent software pipeliner pass.

Definition at line 245 of file MachinePipeliner.cpp.

Constructor & Destructor Documentation

◆ MachinePipelinerImpl()

MachinePipelinerImpl::MachinePipelinerImpl ( MachineFunction & MF,
const MachineLoopInfo & MLI,
LiveIntervals & LIS,
AAResults & AA,
MachineOptimizationRemarkEmitter & ORE,
RegisterClassInfo & RegClassInfo,
MachineDominatorTree * MDT )

Definition at line 303 of file MachinePipeliner.cpp.

References AA, llvm::getCodeGenOptions(), LIS, MachinePipelinerImpl(), MDT, MF, MLI, Opts, ORE, RegClassInfo, TII, and TM.

Referenced by MachinePipelinerImpl().

Member Function Documentation

◆ run()

bool MachinePipelinerImpl::run ( )

Run the software pipeliner over all loops in the function.

The "main" function for implementing Swing Modulo Scheduling.

Definition at line 312 of file MachinePipeliner.cpp.

References Changed, and MLI.

Member Data Documentation

◆ AA

AAResults* false::MachinePipelinerImpl::AA = nullptr

Definition at line 255 of file MachinePipeliner.cpp.

Referenced by MachinePipelinerImpl().

◆ disabledByPragma

bool false::MachinePipelinerImpl::disabledByPragma = false

Definition at line 258 of file MachinePipeliner.cpp.

◆ II_setByPragma

unsigned false::MachinePipelinerImpl::II_setByPragma = 0

Definition at line 259 of file MachinePipeliner.cpp.

◆ InstrItins

const InstrItineraryData* false::MachinePipelinerImpl::InstrItins = nullptr

Definition at line 251 of file MachinePipeliner.cpp.

◆ LI

LoopInfo false::MachinePipelinerImpl::LI

Definition at line 275 of file MachinePipeliner.cpp.

◆ LIS

LiveIntervals* false::MachinePipelinerImpl::LIS = nullptr

Definition at line 254 of file MachinePipeliner.cpp.

Referenced by MachinePipelinerImpl().

◆ MDT

MachineDominatorTree* false::MachinePipelinerImpl::MDT = nullptr

Definition at line 256 of file MachinePipeliner.cpp.

Referenced by MachinePipelinerImpl().

◆ MF

MachineFunction* false::MachinePipelinerImpl::MF = nullptr

Definition at line 248 of file MachinePipeliner.cpp.

Referenced by MachinePipelinerImpl().

◆ MLI

const MachineLoopInfo* false::MachinePipelinerImpl::MLI = nullptr

Definition at line 250 of file MachinePipeliner.cpp.

Referenced by MachinePipelinerImpl(), and run().

◆ NumTries

int MachinePipelinerImpl::NumTries = 0
static

Definition at line 262 of file MachinePipeliner.cpp.

◆ Opts

const CodeGenOptions& false::MachinePipelinerImpl::Opts

Definition at line 247 of file MachinePipeliner.cpp.

Referenced by MachinePipelinerImpl().

◆ ORE

MachineOptimizationRemarkEmitter* false::MachinePipelinerImpl::ORE = nullptr

Definition at line 249 of file MachinePipeliner.cpp.

Referenced by MachinePipelinerImpl().

◆ RegClassInfo

RegisterClassInfo* false::MachinePipelinerImpl::RegClassInfo = nullptr

Definition at line 253 of file MachinePipeliner.cpp.

Referenced by MachinePipelinerImpl().

◆ TII

const TargetInstrInfo* false::MachinePipelinerImpl::TII = nullptr

Definition at line 252 of file MachinePipeliner.cpp.

Referenced by MachinePipelinerImpl().

◆ TM

const TargetMachine* false::MachinePipelinerImpl::TM = nullptr

Definition at line 257 of file MachinePipeliner.cpp.

Referenced by MachinePipelinerImpl().


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