LLVM 20.0.0git
Macros | Functions
X86FixupInstTuning.cpp File Reference
#include "X86.h"
#include "X86InstrInfo.h"
#include "X86Subtarget.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "x86-fixup-inst-tuning"
 

Functions

 STATISTIC (NumInstChanges, "Number of instructions changes")
 
template<typename T >
static std::optional< boolCmpOptionals (T NewVal, T CurVal)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "x86-fixup-inst-tuning"

Definition at line 34 of file X86FixupInstTuning.cpp.

Function Documentation

◆ CmpOptionals()

template<typename T >
static std::optional< bool > CmpOptionals ( T  NewVal,
T  CurVal 
)
static

Definition at line 73 of file X86FixupInstTuning.cpp.

◆ STATISTIC()

STATISTIC ( NumInstChanges  ,
"Number of instructions changes"   
)