|
LLVM
8.0.1
|
#include "X86RegisterInfo.h"#include "X86FrameLowering.h"#include "X86MachineFunctionInfo.h"#include "X86Subtarget.h"#include "llvm/ADT/BitVector.h"#include "llvm/ADT/STLExtras.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/TargetFrameLowering.h"#include "llvm/CodeGen/TargetInstrInfo.h"#include "llvm/IR/Constants.h"#include "llvm/IR/Function.h"#include "llvm/IR/Type.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetOptions.h"#include "X86GenRegisterInfo.inc"
Go to the source code of this file.
Macros | |
| #define | GET_REGINFO_TARGET_DESC |
Functions | |
| static bool | CantUseSP (const MachineFrameInfo &MFI) |
| static bool | tryOptimizeLEAtoMOV (MachineBasicBlock::iterator II) |
Variables | |
| static cl::opt< bool > | EnableBasePointer ("x86-use-base-pointer", cl::Hidden, cl::init(true), cl::desc("Enable use of a base pointer for complex stack frames")) |
| #define GET_REGINFO_TARGET_DESC |
Definition at line 38 of file X86RegisterInfo.cpp.
|
static |
Definition at line 606 of file X86RegisterInfo.cpp.
References llvm::MachineFrameInfo::hasOpaqueSPAdjustment(), and llvm::MachineFrameInfo::hasVarSizedObjects().
Referenced by llvm::X86RegisterInfo::canRealignStack(), and llvm::X86RegisterInfo::hasBasePointer().
|
static |
Definition at line 655 of file X86RegisterInfo.cpp.
References llvm::X86InstrInfo::copyPhysReg(), llvm::MachineInstr::eraseFromParent(), llvm::MachineInstr::getDebugLoc(), llvm::MachineOperand::getImm(), llvm::MachineInstr::getOperand(), llvm::MachineBasicBlock::getParent(), llvm::MachineInstr::getParent(), llvm::MachineOperand::getReg(), llvm::MachineFunction::getSubtarget(), llvm::getX86SubSuperRegister(), llvm::MachineOperand::isKill(), MI, and TII.
Referenced by llvm::X86RegisterInfo::eliminateFrameIndex().
1.8.13