greedy-allocation-with-registers ( cfg registers -- )


Vocabulary
compiler.cfg.register-allocation.greedy

Inputs
cfga control-flow graph
registersan association from register classes to legal physical register sequences


Outputs
None

Word description
Runs the complete greedy allocator, including SSA destruction, instruction numbering, register assignment and edge resolution, using the supplied register banks. The banks must respect the target's reserved-register and ABI constraints. Independent validation can supply smaller legal banks without changing the global allocator selection.

Definition