LLVM 20.0.0git
|
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/Function.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
Go to the source code of this file.
Functions | |
static const TargetRegisterClass * | constrainRegClass (MachineRegisterInfo &MRI, Register Reg, const TargetRegisterClass *OldRC, const TargetRegisterClass *RC, unsigned MinNumRegs) |
static const Function * | getCalledFunction (const MachineInstr &MI) |
static bool | isNoReturnDef (const MachineOperand &MO) |
Variables | |
static cl::opt< bool > | EnableSubRegLiveness ("enable-subreg-liveness", cl::Hidden, cl::init(true), cl::desc("Enable subregister liveness tracking.")) |
|
static |
Definition at line 69 of file MachineRegisterInfo.cpp.
References llvm::TargetRegisterClass::getNumRegs(), and MRI.
|
static |
Definition at line 554 of file MachineRegisterInfo.cpp.
References MI.
|
static |
Definition at line 565 of file MachineRegisterInfo.cpp.
References getCalledFunction(), llvm::MachineFunction::getFunction(), llvm::MachineOperand::getParent(), llvm::MachineBasicBlock::getParent(), llvm::Function::hasFnAttribute(), MBB, MI, and llvm::MachineBasicBlock::succ_empty().
Referenced by llvm::MachineRegisterInfo::isPhysRegModified().