30 .legalFor({s8, s16, s32})
31 .clampScalar(0, s8, s32)
36 .clampScalar(0, s32, s32);
41 .legalForTypesWithMemDesc({{s32, p0, s32, 4},
47 .clampScalar(0, s8, s32);
Interface for Targets to specify which operations they can successfully select and how the others sho...
This file declares the targeting of the MachineLegalizer class for M68k.
static constexpr LLT scalar(unsigned SizeInBits)
Get a low-level scalar or aggregate "bag of bits".
static constexpr LLT pointer(unsigned AddressSpace, unsigned SizeInBits)
Get a low-level pointer in the given address space.
LegalizeRuleSet & legalFor(std::initializer_list< LLT > Types)
The instruction is legal when type index 0 is any type in the given list.
LegalizeRuleSet & alwaysLegal()
LegalizeRuleSet & widenScalarToNextPow2(unsigned TypeIdx, unsigned MinSize=0)
Widen the scalar to the next power of two that is at least MinSize.
LegalizeRuleSet & getActionDefinitionsBuilder(unsigned Opcode)
Get the action definition builder for the given opcode.
Invariant opcodes: All instruction sets have these as their low opcodes.
This is an optimization pass for GlobalISel generic memory operations.
M68kLegalizerInfo(const M68kSubtarget &ST)