- 创建scc_x86_mir.h头文件,定义x86后端MIR指令结构和操作数构造器 - 创建scc_x86_isel.h头文件,定义x86_64指令选择器和相关工具函数 - 创建scc_x86_reg_alloc.h头文件,定义x86寄存器分配架构特定接口 - 移除旧的x86_64_isel.h和x86_64_reg_alloc.h文件 - 重构scc_mir.h中的指令表示,使用联合体存储伪指令数据 - 更新ABI lowering回调参数,使用void指针保持类型无关 - 扩展寄存器分配操作接口,添加指令信息查询和伪指令处理功能 - 更新目标文件包含路径以使用新的头文件命名
15 lines
477 B
C
15 lines
477 B
C
#ifndef __SCC_WIN64_H__
|
|
#define __SCC_WIN64_H__
|
|
|
|
#include "../arch/scc_x86_isel.h"
|
|
#include "../core_pass/scc_frame_layout.h"
|
|
#include "../core_pass/scc_prolog_epilog.h"
|
|
#include "../core_pass/scc_reg_alloc.h"
|
|
|
|
void scc_win_pc_x64_abi_lowering(scc_abi_lowering_t *abi_lowering);
|
|
void scc_win_pc_x64_reg_alloc_fill(scc_reg_alloc_op_t *ops);
|
|
void scc_win_pc_x64_frame_alloc_init(scc_frame_layout_t *ctx);
|
|
void scc_win_pc_x64_prolog_epilog_init(scc_prolog_epilog_t *ctx);
|
|
|
|
#endif
|