Allocate a new MachineInstr (prefer this over new MachineInstr).

Synopsis

Declared in <llvm/CodeGen/MachineFunction.h>

MachineInstr*
CreateMachineInstr(
    MCInstrDesc const& MCID,
    DebugLoc DL,
    bool NoImplicit = false);

Return Value

Newly allocated MachineInstr owned by this function.

Parameters

Name

Description

MCID

Opcode / instruction descriptor.

DL

Debug location for the new instruction.

NoImplicit

If true, omit implicit operands from MCID.

Created with MrDocs