LLVM 20.0.0git
Macros | Functions | Variables
X86CallFrameOptimization.cpp File Reference
#include "MCTargetDesc/X86BaseInfo.h"
#include "X86.h"
#include "X86FrameLowering.h"
#include "X86InstrInfo.h"
#include "X86MachineFunctionInfo.h"
#include "X86RegisterInfo.h"
#include "X86Subtarget.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/Function.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <iterator>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "x86-cf-opt"
 

Functions

 INITIALIZE_PASS (X86CallFrameOptimization, DEBUG_TYPE, "X86 Call Frame Optimization", false, false) bool X86CallFrameOptimization
 

Variables

static cl::opt< boolNoX86CFOpt ("no-x86-call-frame-opt", cl::desc("Avoid optimizing x86 call frames for size"), cl::init(false), cl::Hidden)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "x86-cf-opt"

Definition at line 52 of file X86CallFrameOptimization.cpp.

Function Documentation

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( X86CallFrameOptimization  ,
DEBUG_TYPE  ,
"X86 Call Frame Optimization"  ,
false  ,
false   
)

Definition at line 129 of file X86CallFrameOptimization.cpp.

References MI, NoX86CFOpt, and TII.

Variable Documentation

◆ NoX86CFOpt

cl::opt< bool > NoX86CFOpt("no-x86-call-frame-opt", cl::desc("Avoid optimizing x86 call frames for size"), cl::init(false), cl::Hidden) ( "no-x86-call-frame-opt"  ,
cl::desc("Avoid optimizing x86 call frames for size")  ,
cl::init(false)  ,
cl::Hidden   
)
static

Referenced by INITIALIZE_PASS().