X86 allocate registers
x86_allocate_registers
X86AllocateRegisters
dataclass
Bases: ModulePass
Allocates unallocated registers in the module.
The allocatable set depends on the target, read from the x86.arch module
attribute. Without it the conservative VEX-only set is used, since handing
out EVEX-only registers produces assembly the target cannot decode.
Source code in xdsl/transforms/x86_allocate_registers.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | |
name = 'x86-allocate-registers'
class-attribute
instance-attribute
__init__() -> None
apply(ctx: Context, op: ModuleOp) -> None
Source code in xdsl/transforms/x86_allocate_registers.py
24 25 26 27 28 29 30 | |