Return the type to use for the amount operand of a scalar shift operation.
Declared in <llvm/CodeGen/TargetLowering.h>
virtual
MVT
getScalarShiftAmountTy(
DataLayout const& DL,
EVT VT) const;
Return the type to use for a scalar shift opcode, given the shifted amount type. Targets should return a legal type if the input type is legal. Targets can return a type that is too small if the input type is illegal.
The type to use for the amount operand of a scalar shift operation.
| Name | Description |
|---|---|
| DL | Debug location or data layout, depending on context. |
| VT | Value type being queried or transformed. |