LLVM 19.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.


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


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

Macro Definition Documentation


#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 

Definition at line 73 of file X86FixupInstTuning.cpp.


STATISTIC ( NumInstChanges  ,
"Number of instructions changes"