LLVM  8.0.1
Functions | Variables
MachineRegisterInfo.cpp File Reference
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/CodeGen/LowLevelType.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>
Include dependency graph for MachineRegisterInfo.cpp:

Go to the source code of this file.

Functions

static const TargetRegisterClassconstrainRegClass (MachineRegisterInfo &MRI, unsigned Reg, const TargetRegisterClass *OldRC, const TargetRegisterClass *RC, unsigned MinNumRegs)
 
static const FunctiongetCalledFunction (const MachineInstr &MI)
 
static bool isNoReturnDef (const MachineOperand &MO)
 

Variables

static cl::opt< boolEnableSubRegLiveness ("enable-subreg-liveness", cl::Hidden, cl::init(true), cl::desc("Enable subregister liveness tracking."))
 

Function Documentation

◆ constrainRegClass()

static const TargetRegisterClass* constrainRegClass ( MachineRegisterInfo MRI,
unsigned  Reg,
const TargetRegisterClass OldRC,
const TargetRegisterClass RC,
unsigned  MinNumRegs 
)
static

◆ getCalledFunction()

static const Function* getCalledFunction ( const MachineInstr MI)
static

Definition at line 551 of file MachineRegisterInfo.cpp.

References llvm::dyn_cast(), and llvm::MachineInstr::operands().

Referenced by isNoReturnDef().

◆ isNoReturnDef()

static bool isNoReturnDef ( const MachineOperand MO)
static

Variable Documentation

◆ EnableSubRegLiveness

cl::opt<bool> EnableSubRegLiveness("enable-subreg-liveness", cl::Hidden, cl::init(true), cl::desc("Enable subregister liveness tracking."))
static