Emit a MachineInstr with two register operands, an immediate, and a result register in the given register class.

Synopsis

Declared in <llvm/CodeGen/FastISel.h>

Register
fastEmitInst_rri(
    unsigned int MachineInstOpcode,
    TargetRegisterClass const* RC,
    Register Op0,
    Register Op1,
    uint64_t Imm);

Return Value

Result register of the emitted instruction.

Parameters

Name

Description

MachineInstOpcode

Target opcode of the instruction to emit.

RC

Register class of the result.

Op0

First register operand.

Op1

Second register operand.

Imm

Immediate operand.

Created with MrDocs