Given a machine instruction descriptor, returns the register class constraint for OpNum, or NULL.

Synopsis

Declared in <llvm/CodeGen/TargetInstrInfo.h>

virtual
TargetRegisterClass const*
getRegClass(
    MCInstrDesc const& MCID,
    unsigned int OpNum) const;

Return Value

Register class constraint for OpNum, or nullptr.

Parameters

Name

Description

MCID

Machine instruction descriptor.

OpNum

Operand number within the instruction.

Created with MrDocs