LLVM 24.0.0git
MacroFusion.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "machine-scheduler"

Functions

 STATISTIC (NumFused, "Number of instr pairs fused")
 STATISTIC (NumFusionConflicts, "Number of conflicts between a fusion pair and an already existing " "cluster (either fusion or non-fusion)")
static bool isHazard (const SDep &Dep)
static SUnit * getPredClusterSU (const SUnit &SU)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "machine-scheduler"

Definition at line 25 of file MacroFusion.cpp.

Function Documentation

◆ getPredClusterSU()

SUnit * getPredClusterSU ( const SUnit & SU)
static

Definition at line 38 of file MacroFusion.cpp.

References llvm::SUnit::Preds.

Referenced by llvm::hasLessThanNumFused().

◆ isHazard()

bool isHazard ( const SDep & Dep)
static

Definition at line 34 of file MacroFusion.cpp.

References llvm::SDep::Anti, llvm::SDep::getKind(), and llvm::SDep::Output.

Referenced by llvm::fuseInstructionPair().

◆ STATISTIC() [1/2]

STATISTIC ( NumFused ,
"Number of instr pairs fused"  )

◆ STATISTIC() [2/2]

STATISTIC ( NumFusionConflicts ,
"Number of conflicts between a fusion pair and an already existing " "cluster (either fusion or non-fusion)"  )