llvm::TargetLoweringBase::setOperationAction

Set the legalization action to use for the given operation and value type.

Synopses

Declared in <llvm/CodeGen/TargetLowering.h>

Set the legalization action to use for the given operation and value type.

void
setOperationAction(
    unsigned int Op,
    MVT VT,
    LegalizeAction Action);
» more...

Set the legalization action to use for the given operation and value type.

void
setOperationAction(
    ArrayRef<unsigned int> Ops,
    MVT VT,
    LegalizeAction Action);
» more...

Set the legalization action to use for the given operation and value type.

void
setOperationAction(
    ArrayRef<unsigned int> Ops,
    ArrayRef<MVT> VTs,
    LegalizeAction Action);
» more...

Parameters

NameDescription
OpSDNode or value being queried.
VTValue type being queried or transformed.
ActionLegalize action to record.
OpsOperands passed to the libcall or asm.
VTsValue types to configure or query.