LLVM  9.0.0svn
Functions | Variables
MachineOperand.cpp File Reference
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Analysis/Loads.h"
#include "llvm/Analysis/MemoryLocation.h"
#include "llvm/CodeGen/MIRPrinter.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/IRPrintingPasses.h"
#include "llvm/IR/ModuleSlotTracker.h"
#include "llvm/Target/TargetIntrinsicInfo.h"
#include "llvm/Target/TargetMachine.h"
Include dependency graph for MachineOperand.cpp:

Go to the source code of this file.

Functions

static const MachineFunctiongetMFIfAvailable (const MachineOperand &MO)
 
static MachineFunctiongetMFIfAvailable (MachineOperand &MO)
 
static void tryToGetTargetInfo (const MachineOperand &MO, const TargetRegisterInfo *&TRI, const TargetIntrinsicInfo *&IntrinsicInfo)
 
static const chargetTargetIndexName (const MachineFunction &MF, int Index)
 
static const chargetTargetFlagName (const TargetInstrInfo *TII, unsigned TF)
 
static void printCFIRegister (unsigned DwarfReg, raw_ostream &OS, const TargetRegisterInfo *TRI)
 
static void printIRBlockReference (raw_ostream &OS, const BasicBlock &BB, ModuleSlotTracker &MST)
 
static void printIRValueReference (raw_ostream &OS, const Value &V, ModuleSlotTracker &MST)
 
static void printSyncScope (raw_ostream &OS, const LLVMContext &Context, SyncScope::ID SSID, SmallVectorImpl< StringRef > &SSNs)
 
static const chargetTargetMMOFlagName (const TargetInstrInfo &TII, unsigned TMMOFlag)
 
static void printFrameIndex (raw_ostream &OS, int FrameIndex, bool IsFixed, const MachineFrameInfo *MFI)
 
static void printCFI (raw_ostream &OS, const MCCFIInstruction &CFI, const TargetRegisterInfo *TRI)
 

Variables

static cl::opt< int > PrintRegMaskNumRegs ("print-regmask-num-regs", cl::desc("Number of registers to limit to when " "printing regmask operands in IR dumps. " "unlimited = -1"), cl::init(32), cl::Hidden)
 

Function Documentation

◆ getMFIfAvailable() [1/2]

static const MachineFunction* getMFIfAvailable ( const MachineOperand MO)
static

◆ getMFIfAvailable() [2/2]

static MachineFunction* getMFIfAvailable ( MachineOperand MO)
static

Definition at line 46 of file MachineOperand.cpp.

References getMFIfAvailable().

◆ getTargetFlagName()

static const char* getTargetFlagName ( const TargetInstrInfo TII,
unsigned  TF 
)
static

◆ getTargetIndexName()

static const char* getTargetIndexName ( const MachineFunction MF,
int  Index 
)
static

◆ getTargetMMOFlagName()

static const char* getTargetMMOFlagName ( const TargetInstrInfo TII,
unsigned  TMMOFlag 
)
static

◆ printCFI()

static void printCFI ( raw_ostream OS,
const MCCFIInstruction CFI,
const TargetRegisterInfo TRI 
)
static

◆ printCFIRegister()

static void printCFIRegister ( unsigned  DwarfReg,
raw_ostream OS,
const TargetRegisterInfo TRI 
)
static

◆ printFrameIndex()

static void printFrameIndex ( raw_ostream OS,
int  FrameIndex,
bool  IsFixed,
const MachineFrameInfo MFI 
)
static

◆ printIRBlockReference()

static void printIRBlockReference ( raw_ostream OS,
const BasicBlock BB,
ModuleSlotTracker MST 
)
static

◆ printIRValueReference()

static void printIRValueReference ( raw_ostream OS,
const Value V,
ModuleSlotTracker MST 
)
static

◆ printSyncScope()

static void printSyncScope ( raw_ostream OS,
const LLVMContext Context,
SyncScope::ID  SSID,
SmallVectorImpl< StringRef > &  SSNs 
)
static

◆ tryToGetTargetInfo()

static void tryToGetTargetInfo ( const MachineOperand MO,
const TargetRegisterInfo *&  TRI,
const TargetIntrinsicInfo *&  IntrinsicInfo 
)
static

Definition at line 376 of file MachineOperand.cpp.

References getMFIfAvailable().

Referenced by llvm::MachineOperand::print().

Variable Documentation

◆ PrintRegMaskNumRegs

cl::opt<int> PrintRegMaskNumRegs("print-regmask-num-regs", cl::desc("Number of registers to limit to when " "printing regmask operands in IR dumps. " "unlimited = -1"), cl::init(32), cl::Hidden)
static