LLVM  mainline
Public Member Functions
llvm::MCInstrInfo Class Reference

Interface to description of machine instruction set. More...

#include <MCInstrInfo.h>

Inheritance diagram for llvm::MCInstrInfo:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void InitMCInstrInfo (const MCInstrDesc *D, const unsigned *NI, const char *ND, unsigned NO)
 Initialize MCInstrInfo, called by TableGen auto-generated routines.
unsigned getNumOpcodes () const
const MCInstrDescget (unsigned Opcode) const
 Return the machine instruction descriptor that corresponds to the specified instruction opcode.
const char * getName (unsigned Opcode) const
 Returns the name for the instructions with the given opcode.

Detailed Description

Interface to description of machine instruction set.

Definition at line 24 of file MCInstrInfo.h.


Member Function Documentation

const MCInstrDesc& llvm::MCInstrInfo::get ( unsigned  Opcode) const [inline]

Return the machine instruction descriptor that corresponds to the specified instruction opcode.

Definition at line 45 of file MCInstrInfo.h.

Referenced by llvm::MachineBasicBlock::addLiveIn(), canClobberPhysRegDefs(), canClobberReachingPhysRegUse(), CheckForPhysRegDependency(), combineRestoreADD(), combineRestoreOR(), combineRestoreSETHIi(), llvm::TargetSchedModel::computeInstrLatency(), llvm::ScheduleDAGSDNodes::computeOperandLatency(), llvm::FastISel::constrainOperandRegClass(), llvm::PPCFrameLowering::eliminateCallFramePseudoInstr(), llvm::BPFRegisterInfo::eliminateFrameIndex(), llvm::MSP430RegisterInfo::eliminateFrameIndex(), llvm::SparcRegisterInfo::eliminateFrameIndex(), emitAlignedDPRCS2Restores(), emitAlignedDPRCS2Spills(), emitAligningInstructions(), llvm::PPCTargetLowering::EmitAtomicBinary(), llvm::AArch64FrameLowering::emitCalleeSavedFrameMoves(), llvm::X86FrameLowering::emitCalleeSavedFrameMoves(), EmitCfiOffset(), llvm::InstrEmitter::EmitDbgValue(), EmitDefCfaOffset(), EmitDefCfaRegister(), llvm::PPCTargetLowering::emitEHSjLjLongJmp(), llvm::PPCTargetLowering::emitEHSjLjSetJmp(), llvm::X86FrameLowering::emitEpilogue(), llvm::AArch64TargetLowering::EmitF128CSEL(), emitIncrement(), llvm::BPFTargetLowering::EmitInstrWithCustomInserter(), llvm::XCoreTargetLowering::EmitInstrWithCustomInserter(), llvm::MSP430TargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::EmitInstrWithCustomInserter(), llvm::MachineRegisterInfo::EmitLiveInCopies(), llvm::ARMBaseRegisterInfo::emitLoadConstPool(), EmitMonitor(), llvm::PPCTargetLowering::EmitPartwordAtomicBinary(), EmitPCMPSTRI(), EmitPCMPSTRM(), emitPostLd(), emitPostSt(), llvm::NVPTXFrameLowering::emitPrologue(), llvm::AArch64FrameLowering::emitPrologue(), llvm::X86FrameLowering::emitPrologue(), llvm::MSP430TargetLowering::EmitShiftInstr(), llvm::X86FrameLowering::emitSPUpdate(), emitThumb2LoadConstPool(), emitThumbRegPlusImmInReg(), EmitXBegin(), llvm::MCInstrAnalysis::evaluateBranch(), llvm::SparcTargetLowering::expandAtomicRMW(), expandLoadStackGuard(), llvm::SparcTargetLowering::expandSelectCC(), llvm::FastISel::fastEmitInst_(), llvm::FastISel::fastEmitInst_extractsubreg(), llvm::FastISel::fastEmitInst_i(), llvm::FastISel::fastEmitInst_ii(), llvm::FastISel::fastEmitInst_r(), llvm::FastISel::fastEmitInst_rf(), llvm::FastISel::fastEmitInst_ri(), llvm::FastISel::fastEmitInst_rii(), llvm::FastISel::fastEmitInst_rr(), llvm::FastISel::fastEmitInst_rri(), llvm::FastISel::fastEmitInst_rrii(), llvm::FastISel::fastEmitInst_rrr(), llvm::finalizeBundle(), foldPatchpoint(), FuseInst(), FuseTwoAddrInst(), llvm::AArch64InstrInfo::genAlternativeCodeSequence(), genMadd(), genMaddR(), GetCostForDef(), llvm::HexagonMCInstrInfo::getDesc(), getItineraryLatency(), getLatency(), getPhysicalRegisterVT(), llvm::ARMTargetLowering::getSchedulingPreference(), HandleVRSaveUpdate(), IfNeededExtSP(), IfNeededLDAWSP(), llvm::ResourcePriorityQueue::initNumRegDefsLeft(), insertCopy(), insertDivByZeroTrap(), InsertLDR_STR(), InsertNewDef(), insertNopBeforeInstruction(), llvm::MCInstrAnalysis::isBranch(), llvm::MCInstrAnalysis::isCall(), llvm::MCInstrAnalysis::isConditionalBranch(), llvm::MCInstrAnalysis::isIndirectBranch(), llvm::ResourcePriorityQueue::isResourceAvailable(), llvm::MCInstrAnalysis::isReturn(), llvm::MCInstrAnalysis::isTerminator(), llvm::MCInstrAnalysis::isUnconditionalBranch(), MakeM0Inst(), llvm::ARMBaseRegisterInfo::materializeFrameBaseRegister(), llvm::HexagonInstPrinter::printExtBrtarget(), llvm::HexagonInstPrinter::printExtOperand(), replaceFI(), llvm::ResourcePriorityQueue::reserveResources(), llvm::SystemZFrameLowering::restoreCalleeSavedRegisters(), llvm::MSP430FrameLowering::restoreCalleeSavedRegisters(), llvm::AArch64FrameLowering::restoreCalleeSavedRegisters(), RestoreSpillList(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::ThumbRegisterInfo::saveScavengerRegister(), llvm::FastISel::selectBitCast(), llvm::FastISel::selectCall(), llvm::SelectionDAGISel::SelectCodeCommon(), llvm::FastISel::selectIntrinsicCall(), llvm::FastISel::selectPatchpoint(), llvm::FastISel::selectStackmap(), llvm::FunctionLoweringInfo::set(), setCallTargetReg(), llvm::SystemZFrameLowering::spillCalleeSavedRegisters(), llvm::Thumb1FrameLowering::spillCalleeSavedRegisters(), llvm::MSP430FrameLowering::spillCalleeSavedRegisters(), llvm::AArch64FrameLowering::spillCalleeSavedRegisters(), and llvm::ResourcePriorityQueue::SUSchedulingCost().

const char* llvm::MCInstrInfo::getName ( unsigned  Opcode) const [inline]

Definition at line 41 of file MCInstrInfo.h.

void llvm::MCInstrInfo::InitMCInstrInfo ( const MCInstrDesc D,
const unsigned NI,
const char *  ND,
unsigned  NO 
) [inline]

Initialize MCInstrInfo, called by TableGen auto-generated routines.

DO NOT USE*.

Definition at line 33 of file MCInstrInfo.h.


The documentation for this class was generated from the following file: