|
LLVM
4.0.0
|
This file implements the machine register scavenger. More...
#include "llvm/CodeGen/RegisterScavenging.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/Support/Debug.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "reg-scavenging" |
Functions | |
| static unsigned | getFrameIndexOperandNum (MachineInstr &MI) |
This file implements the machine register scavenger.
It can provide information, such as unused registers, at any point in a machine basic block. It also provides a mechanism to make registers available by evicting them to spill slots.
Definition in file RegisterScavenging.cpp.
| #define DEBUG_TYPE "reg-scavenging" |
Definition at line 32 of file RegisterScavenging.cpp.
|
static |
Definition at line 396 of file RegisterScavenging.cpp.
References assert(), llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOperand(), i, and llvm::MachineOperand::isFI().
Referenced by llvm::RegScavenger::scavengeRegister().
1.8.6