|
LLVM 23.0.0git
|
#include "X86.h"#include "X86MachineFunctionInfo.h"#include "X86RegisterInfo.h"#include "X86Subtarget.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/MachineOperand.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/TargetRegisterInfo.h"#include "llvm/CodeGen/TargetSubtargetInfo.h"#include "llvm/IR/Attributes.h"#include "llvm/IR/Function.h"#include "llvm/Pass.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "x86-argument-stack-slot" |
Functions | |
| INITIALIZE_PASS (X86ArgumentStackSlotLegacy, DEBUG_TYPE, "Argument Stack Rebase", false, false) FunctionPass *llvm | |
| static Register | getArgBaseReg (MachineFunction &MF) |
| static bool | argumentStackSlotRebase (MachineFunction &MF) |
| #define DEBUG_TYPE "x86-argument-stack-slot" |
Definition at line 33 of file X86ArgumentStackSlotRebase.cpp.
|
static |
Definition at line 100 of file X86ArgumentStackSlotRebase.cpp.
References llvm::MachineInstrBuilder::addFrameIndex(), llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addUse(), llvm::BuildMI(), Changed, llvm::MachineFrameInfo::CreateSpillStackObject(), DL, F, llvm::MachineInstr::FrameSetup, llvm::MachineFunction::front(), getArgBaseReg(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getFunction(), llvm::MachineFunction::getInfo(), llvm::X86Subtarget::getInstrInfo(), llvm::MachineFrameInfo::getObjectOffset(), llvm::X86Subtarget::getRegisterInfo(), llvm::MachineFunction::getSubtarget(), I, llvm::MachineFrameInfo::isFixedObjectIndex(), llvm::X86Subtarget::isTarget64BitILP32(), llvm::X86Subtarget::isTargetELF(), llvm::X86Subtarget::isTargetLinux(), llvm::Register::isValid(), MBB, MBBI, MI, llvm::Offset, Reg, llvm::MachineInstrBuilder::setMIFlag(), llvm::X86MachineFunctionInfo::setStackPtrSaveMI(), TII, and TRI.
Referenced by llvm::X86ArgumentStackSlotPass::run().
|
static |
Definition at line 63 of file X86ArgumentStackSlotRebase.cpp.
References llvm::CallingConv::C, F, llvm::MachineFunction::getFunction(), llvm::MachineFunction::getRegInfo(), llvm::MachineFunction::getSubtarget(), MRI, and llvm::CallingConv::X86_RegCall.
Referenced by argumentStackSlotRebase().
| INITIALIZE_PASS | ( | X86ArgumentStackSlotLegacy | , |
| DEBUG_TYPE | , | ||
| "Argument Stack Rebase" | , | ||
| false | , | ||
| false | ) |
Definition at line 56 of file X86ArgumentStackSlotRebase.cpp.
References llvm::createX86ArgumentStackSlotLegacyPass(), and DEBUG_TYPE.