Module X86_peephole_utils
module DLL = Oxcaml_utils.Doubly_linked_listtype rule_result = | No_match| Matched of X86_ast.asm_line DLL.cell option
Type for the result of applying a peephole rewrite rule
Navigation and inspection
val get_cells :
X86_ast.asm_line DLL.cell ->
int ->
X86_ast.asm_line DLL.cell listval is_hard_barrier : X86_ast.asm_line -> boolval is_control_flow : X86_ast.instruction -> boolRegister operations
val is_register : X86_ast.arg -> boolval underlying_reg64 : X86_ast.arg -> X86_ast.reg64 optionInstruction analysis
val writes_to_reg64 : X86_ast.reg64 -> X86_ast.instruction -> boolval reads_from_reg64 : X86_ast.reg64 -> X86_ast.instruction -> boolval writes_flags : X86_ast.instruction -> boolLiveness analysis
val reg64_is_never_read : X86_ast.reg64 -> X86_ast.asm_line DLL.cell -> bool