LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::MCInstrInfo Class Reference

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

#include "llvm/MC/MCInstrInfo.h"

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

Public Member Functions

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

Detailed Description

Interface to description of machine instruction set.

Definition at line 24 of file MCInstrInfo.h.

Member Function Documentation

◆ get()

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.

References assert().

Referenced by llvm::MachineBasicBlock::addLiveIn(), addSegmentsWithValNo(), llvm::analyzeArguments(), AnyAliasLiveIn(), canClobberPhysRegDefs(), canClobberReachingPhysRegUse(), llvm::TailDuplicator::canTailDuplicate(), llvm::Thumb1FrameLowering::canUseAsEpilogue(), CheckForPhysRegDependency(), llvm::ScheduleDAG::clearDAG(), CombineCVTAToLocal(), combineRestoreADD(), combineRestoreOR(), combineRestoreSETHIi(), llvm::TargetSchedModel::computeInstrLatency(), llvm::TargetSchedModel::computeInstrRThroughput(), llvm::ScheduleDAGSDNodes::computeOperandLatency(), llvm::FastISel::constrainOperandRegClass(), llvm::constrainRegToClass(), convertCalleeSaveRestoreToSPPrePostIncDec(), ConvertImplicitDefToConstZero(), countOperands(), createARMMCRelocationInfo(), createLanaiElfRelocation(), createMipsObjectTargetStreamer(), llvm::createPPCMCCodeEmitter(), createSwiftErrorEntriesInEntryBlock(), llvm::SplitEditor::dump(), llvm::PPCFrameLowering::eliminateCallFramePseudoInstr(), llvm::BPFRegisterInfo::eliminateFrameIndex(), llvm::MSP430RegisterInfo::eliminateFrameIndex(), llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::LanaiRegisterInfo::eliminateFrameIndex(), llvm::AVRRegisterInfo::eliminateFrameIndex(), emitAlignedDPRCS2Restores(), emitAlignedDPRCS2Spills(), emitAligningInstructions(), llvm::PPCTargetLowering::EmitAtomicBinary(), llvm::AArch64FrameLowering::emitCalleeSavedFrameMoves(), EmitCfiOffset(), emitClzero(), llvm::InstrEmitter::EmitDbgValue(), EmitDefCfaOffset(), EmitDefCfaRegister(), llvm::SparcTargetLowering::emitEHSjLjLongJmp(), llvm::PPCTargetLowering::emitEHSjLjLongJmp(), llvm::SparcTargetLowering::emitEHSjLjSetJmp(), llvm::PPCTargetLowering::emitEHSjLjSetJmp(), llvm::AArch64TargetLowering::EmitF128CSEL(), llvm::emitFrameOffset(), emitIncrement(), llvm::BPFTargetLowering::EmitInstrWithCustomInserter(), llvm::XCoreTargetLowering::EmitInstrWithCustomInserter(), llvm::MSP430TargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::MipsTargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::EmitInstrWithCustomInserter(), llvm::X86TargetLowering::EmitInstrWithCustomInserter(), llvm::MachineRegisterInfo::EmitLiveInCopies(), llvm::ARMBaseRegisterInfo::emitLoadConstPool(), emitMonitor(), llvm::PPCTargetLowering::EmitPartwordAtomicBinary(), emitPCMPSTRI(), emitPCMPSTRM(), emitPostLd(), emitPostSt(), llvm::NVPTXFrameLowering::emitPrologue(), llvm::AArch64FrameLowering::emitPrologue(), emitRDPKRU(), llvm::MSP430TargetLowering::EmitShiftInstr(), emitThumb2LoadConstPool(), llvm::emitThumbRegPlusImmediate(), emitThumbRegPlusImmInReg(), emitWRPKRU(), emitXBegin(), llvm::MipsMCCodeEmitter::encodeInstruction(), llvm::MCInstrAnalysis::evaluateBranch(), llvm::InstructionSelector::executeMatchTable(), expandLoadStackGuard(), expandMOV32r1(), ExpandMOVImmSExti8(), llvm::SparcTargetLowering::expandSelectCC(), llvm::FastISel::fastEmitInst_(), llvm::FastISel::fastEmitInst_extractsubreg(), llvm::FastISel::fastEmitInst_f(), llvm::FastISel::fastEmitInst_i(), llvm::FastISel::fastEmitInst_r(), llvm::FastISel::fastEmitInst_ri(), llvm::FastISel::fastEmitInst_rii(), llvm::FastISel::fastEmitInst_rr(), llvm::FastISel::fastEmitInst_rri(), llvm::FastISel::fastEmitInst_rrr(), llvm::finalizeBundle(), findInsertLocation(), llvm::fixStackStores(), foldPatchpoint(), FuseInst(), FuseTwoAddrInst(), llvm::AArch64InstrInfo::genAlternativeCodeSequence(), genFusedMultiply(), genMaddR(), getComparePred(), GetCostForDef(), llvm::HexagonMCInstrInfo::getDesc(), llvm::ARMTargetLowering::getExceptionSelectorRegister(), llvm::LLVMDisasmContext::getInstrInfo(), getItineraryLatency(), getLatency(), getPhysicalRegisterVT(), llvm::AVRInstPrinter::getPrettyRegisterName(), llvm::FastISel::getRegForValue(), getRegsUsedByPHIs(), llvm::ARMTargetLowering::getSchedulingPreference(), llvm::HexagonMCInstrInfo::getType(), getUnderlyingArgReg(), llvm::MipsTargetLowering::HandleByVal(), HandleVRSaveUpdate(), HasConditionalBranch(), hasExceptionPointerOrCodeUser(), hasUseAfterLoop(), IfNeededExtSP(), IfNeededLDAWSP(), INITIALIZE_PASS(), llvm::ResourcePriorityQueue::initNumRegDefsLeft(), llvm::AArch64TargetLowering::insertCopiesSplitCSR(), llvm::PPCTargetLowering::insertCopiesSplitCSR(), insertCopy(), insertDivByZeroTrap(), InsertLDR_STR(), InsertNewDef(), insertNopBeforeInstruction(), insertPHI(), llvm::MCInstrAnalysis::isBranch(), llvm::MCInstrAnalysis::isCall(), isCMOVPseudo(), llvm::MCInstrAnalysis::isConditionalBranch(), llvm::isCopyMulResult(), isHardwareLoop(), llvm::MCInstrAnalysis::isIndirectBranch(), llvm::X86TargetLowering::isIntDivCheap(), llvm::ResourcePriorityQueue::isResourceAvailable(), llvm::MCInstrAnalysis::isReturn(), IsSmallMemAccess(), llvm::HexagonMCInstrInfo::isSolo(), isSourceDefinedByImplicitDef(), llvm::MCInstrAnalysis::isTerminator(), llvm::MCInstrAnalysis::isUnconditionalBranch(), lowerVECTOR_SHUFFLE_VSHF(), MakeM0Inst(), llvm::ARMBaseRegisterInfo::materializeFrameBaseRegister(), mayLoadFromGOTOrConstantPool(), Mips16WhichOp8uOr16simm(), parseCond(), llvm::PPCHazardRecognizer970::PPCHazardRecognizer970(), llvm::X86ATTInstPrinter::printInst(), llvm::X86IntelInstPrinter::printInst(), llvm::WebAssemblyInstPrinter::printInst(), llvm::WebAssemblyInstPrinter::printOperand(), llvm::PPCInstPrinter::printOperand(), ProcessSourceNode(), propagateSwiftErrorVRegs(), llvm::TargetInstrInfo::reassociateOps(), regOverlapsSet(), RemoveUnusedGlue(), replaceFI(), llvm::ARMTargetLowering::ReplaceNodeResults(), llvm::ResourcePriorityQueue::reserveResources(), llvm::ARMFrameLowering::ResolveFrameIndexReference(), llvm::SystemZFrameLowering::restoreCalleeSavedRegisters(), llvm::MSP430FrameLowering::restoreCalleeSavedRegisters(), llvm::AArch64FrameLowering::restoreCalleeSavedRegisters(), RestoreSpillList(), rewritesSort(), llvm::UnreachableBlockElimPass::run(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::ThumbRegisterInfo::saveScavengerRegister(), llvm::FastISel::selectBitCast(), llvm::FastISel::selectCall(), llvm::SelectionDAGISel::SelectCodeCommon(), selectCopy(), llvm::FastISel::selectIntrinsicCall(), llvm::FastISel::selectPatchpoint(), llvm::FastISel::selectStackmap(), llvm::FastISel::selectXRayCustomEvent(), llvm::FunctionLoweringInfo::set(), setCallTargetReg(), llvm::SystemZFrameLowering::spillCalleeSavedRegisters(), llvm::Thumb1FrameLowering::spillCalleeSavedRegisters(), llvm::MipsSEFrameLowering::spillCalleeSavedRegisters(), llvm::MSP430FrameLowering::spillCalleeSavedRegisters(), llvm::AArch64FrameLowering::spillCalleeSavedRegisters(), llvm::ResourcePriorityQueue::SUSchedulingCost(), and toString().

◆ getName()

StringRef llvm::MCInstrInfo::getName ( unsigned  Opcode) const
inline

◆ getNumOpcodes()

unsigned llvm::MCInstrInfo::getNumOpcodes ( ) const
inline

Definition at line 41 of file MCInstrInfo.h.

◆ InitMCInstrInfo()

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.

References D.


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