-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chapter 20a: register allocation without coalescing
- Loading branch information
Showing
22 changed files
with
1,016 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
val add_fun : string -> bool -> bool -> unit | ||
val add_fun : | ||
string -> bool -> bool -> Assembly.reg list -> Assembly.reg list -> unit | ||
|
||
val add_var : string -> Assembly.asm_type -> bool -> unit | ||
val add_constant : string -> Assembly.asm_type -> unit | ||
val set_bytes_required : string -> int -> unit | ||
val get_bytes_required : string -> int | ||
val add_callee_saved_regs_used : string -> Assembly.reg Batteries.Set.t -> unit | ||
val get_callee_saved_regs_used : string -> Assembly.reg Batteries.Set.t | ||
val get_type : string -> Assembly.asm_type | ||
val get_size : string -> int | ||
val get_alignment : string -> int | ||
val is_defined : string -> bool | ||
val is_constant : string -> bool | ||
val is_static : string -> bool | ||
val returns_on_stack : string -> bool | ||
val param_regs_used : string -> Assembly.reg list | ||
val return_regs_used : string -> Assembly.reg list |
Oops, something went wrong.