Return true if the target can add this scalable immediate (multiplied by vscale) without materializing it.
Declared in <llvm/CodeGen/TargetLowering.h>
virtual
bool
isLegalAddScalableImmediate(int64_t Imm) const;
Return true if adding the specified scalable immediate is legal, that is the target has add instructions which can add a register with the immediate (multiplied by vscale) without having to materialize the immediate into a register.
True if the target can add this scalable immediate (multiplied by vscale) without materializing it.
| Name | Description |
|---|---|
| Imm | Immediate constant operand. |