Construct target instruction info for the given register info and opcodes.

Synopsis

Declared in <llvm/CodeGen/TargetInstrInfo.h>

TargetInstrInfo(
    TargetRegisterInfo const& TRI,
    unsigned int CFSetupOpcode = ~0u,
    unsigned int CFDestroyOpcode = ~0u,
    unsigned int CatchRetOpcode = ~0u,
    unsigned int ReturnOpcode = ~0u,
    int16_t const const* RegClassByHwModeTable = nullptr);

Parameters

Name

Description

TRI

Target register info.

CFSetupOpcode

Opcode of the call‐frame setup pseudo, or ~0u if none.

CFDestroyOpcode

Opcode of the call‐frame destroy pseudo, or ~0u if none.

CatchRetOpcode

Catch‐return opcode, or ~0u if none.

ReturnOpcode

Return opcode, or ~0u if none.

RegClassByHwModeTable

Optional HwMode‐specific register‐class table.

Created with MrDocs