RA_USER_PARAMS signature
Architecture specific parameters regquired by the RegAllocator register allocator.
signature RA_USER_PARAMS
structure I : INSTRUCTIONS
val nFreeRegs : int
val dedicated : int list
val getreg : {pref : int list, proh : int list} -> int
val copyInstr : (int list * int list) -> I.instruction
val spill : {instr : I.instruction, reg : int} -> {code : I.instruction list, proh : int list, instr : I.instruction option}
val reload : {instr : I.instruction, reg : int} -> {code : I.instruction list, proh : int list}
structure I
nFreeRegs
dedicated
getreg {pref, proh}
copyInstr (dstList, srcList)
spill {instr, reg}
NONE when rematerialization has occured. proh is a list of registers to be added to the list of registers that should never be spilled.
reload {instr, reg}
Submit a comment on this page
Author: Lal George
Last Modified: October 18, 1996
Copyright © 1996 Bell Laboratories