llvm::TargetLoweringBase::getOperationAction

Return how the given operation should be treated for the given value type.

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

LegalizeAction
getOperationAction(
    unsigned int Op,
    EVT VT) const;

Description

Return how this operation should be treated: either it is legal, needs to be promoted to a larger size, needs to be expanded to some other code sequence, or the target has a custom expander for it.

Return Value

How the given operation should be treated for the given value type.

Parameters

NameDescription
OpSDNode or value being queried.
VTValue type being queried or transformed.