/dports/devel/libfirm/libfirm-1.21.0/ir/be/ |
H A D | benode.h | 465 static inline int be_is_Spill (const ir_node *irn) { return get_irn_opcode(irn) == beo_Spill … in be_is_Spill() 466 static inline int be_is_Reload (const ir_node *irn) { return get_irn_opcode(irn) == beo_Reload … in be_is_Reload() 467 static inline int be_is_Copy (const ir_node *irn) { return get_irn_opcode(irn) == beo_Copy … in be_is_Copy() 468 static inline int be_is_CopyKeep (const ir_node *irn) { return get_irn_opcode(irn) == beo_CopyKeep … in be_is_CopyKeep() 469 static inline int be_is_Perm (const ir_node *irn) { return get_irn_opcode(irn) == beo_Perm … in be_is_Perm() 470 static inline int be_is_MemPerm (const ir_node *irn) { return get_irn_opcode(irn) == beo_MemPerm … in be_is_MemPerm() 471 static inline int be_is_Keep (const ir_node *irn) { return get_irn_opcode(irn) == beo_Keep … in be_is_Keep() 472 static inline int be_is_Call (const ir_node *irn) { return get_irn_opcode(irn) == beo_Call … in be_is_Call() 473 static inline int be_is_Return (const ir_node *irn) { return get_irn_opcode(irn) == beo_Return … in be_is_Return() 474 static inline int be_is_IncSP (const ir_node *irn) { return get_irn_opcode(irn) == beo_IncSP … in be_is_IncSP() [all …]
|
H A D | besched.h | 49 static inline bool sched_is_scheduled(const ir_node *irn) in sched_is_scheduled() 61 static inline sched_timestep_t sched_get_time_step(const ir_node *irn) in sched_get_time_step() 82 static inline bool sched_has_next(const ir_node *irn) in sched_has_next() 94 static inline bool sched_has_prev(const ir_node *irn) in sched_has_prev() 106 static inline ir_node *sched_next(const ir_node *irn) in sched_next() 118 static inline ir_node *sched_prev(const ir_node *irn) in sched_prev() 199 #define sched_foreach_from(from, irn) \ argument 202 #define sched_foreach_reverse_from(from, irn) \ argument 210 #define sched_foreach(block,irn) \ argument 218 #define sched_foreach_reverse(block,irn) \ argument
|
H A D | beschednormal.c | 50 static int must_be_scheduled(const ir_node* const irn) in must_be_scheduled() 59 ir_node* irn; in normal_select() local 82 ir_node* irn; member 106 #define set_irn_fc(irn, fc) set_irn_link(irn, fc) argument 109 static int count_result(const ir_node* irn) in count_result() 129 static int normal_tree_cost(ir_node* irn, instance_t *inst) in normal_tree_cost() 216 static void normal_cost_walker(ir_node* irn, void* env) in normal_cost_walker() 229 static void collect_roots(ir_node* irn, void* env) in collect_roots() 256 static ir_node** sched_node(ir_node** sched, ir_node* irn) in sched_node() 354 ir_node* irn = root_costs[i].irn; in normal_sched_block() local [all …]
|
H A D | belive.c | 57 static inline int is_liveness_node(const ir_node *irn) in is_liveness_node() 119 const ir_node *irn) in be_lv_get() 145 ir_node *irn) in be_lv_get_or_set() 204 const ir_node *irn) in be_lv_remove() 310 const ir_node *irn; member 319 static void liveness_for_node(ir_node *irn) in liveness_for_node() 476 void be_liveness_remove(be_lv_t *lv, const ir_node *irn) in be_liveness_remove() 492 void be_liveness_introduce(be_lv_t *lv, ir_node *irn) in be_liveness_introduce() 503 void be_liveness_update(be_lv_t *lv, ir_node *irn) in be_liveness_update() 565 static void collect_node(ir_node *irn, void *data) in collect_node() [all …]
|
H A D | bechordal_common.c | 52 int has_reg_class(const be_chordal_env_t *env, const ir_node *irn) in has_reg_class() 58 ir_node *irn, unsigned step, unsigned pressure, in border_add() 108 #define border_def(irn, step, real) \ in create_borders() argument 112 #define border_use(irn, step, real) \ in create_borders() argument 205 ir_node *irn = get_idx_irn(env->irg, elm); in create_borders() local 214 be_insn_t *chordal_scan_insn(be_chordal_env_t *env, ir_node *irn) in chordal_scan_insn()
|
H A D | beutil.h | 42 static inline ir_node *get_block(ir_node *irn) in get_block() 47 static inline const ir_node *get_block_const(const ir_node *irn) in get_block_const()
|
H A D | beschedregpress.c | 42 ir_node *irn; member 85 static inline usage_stats_t *get_or_set_usage_stats(reg_pressure_selector_env_t *env, ir_node *irn) in get_or_set_usage_stats() 102 static inline usage_stats_t *get_usage_stats(ir_node *irn) in get_usage_stats() 109 static int max_hops_walker(reg_pressure_selector_env_t *env, ir_node *irn, ir_node *curr_bl, int de… in max_hops_walker() 149 static int compute_max_hops(reg_pressure_selector_env_t *env, ir_node *irn) in compute_max_hops() 220 static int get_result_hops_sum(reg_pressure_selector_env_t *env, ir_node *irn) in get_result_hops_sum() 235 static inline int reg_pr_costs(reg_pressure_selector_env_t *env, ir_node *irn) in reg_pr_costs()
|
H A D | bearch.c | 71 static const arch_irn_ops_t *get_irn_ops(const ir_node *irn) in get_irn_ops() 84 void arch_set_frame_offset(ir_node *irn, int offset) in arch_set_frame_offset() 90 ir_entity *arch_get_frame_entity(const ir_node *irn) in arch_get_frame_entity() 96 int arch_get_sp_bias(ir_node *irn) in arch_get_sp_bias() 102 arch_inverse_t *arch_get_inverse(const ir_node *irn, int i, arch_inverse_t *inverse, struct obstack… in arch_get_inverse() 113 int arch_possible_memory_operand(const ir_node *irn, unsigned int i) in arch_possible_memory_operand() 124 void arch_perform_memory_operand(ir_node *irn, ir_node *spill, unsigned int i) in arch_perform_memory_operand() 135 int arch_get_op_estimated_cost(const ir_node *irn) in arch_get_op_estimated_cost()
|
H A D | benode.c | 392 ir_node *irn; in be_new_MemPerm() local 484 ir_node *irn; in be_new_Call() local 592 ir_node *irn; in be_new_IncSP() local 615 ir_node *irn; in be_new_AddSP() local 641 ir_node *irn; in be_new_SubSP() local 681 ir_node *irn; in be_new_FrameAddr() local 712 ir_node *irn; in be_new_CopyKeep() local 774 int be_get_frame_offset(const ir_node *irn) in be_get_frame_offset() 896 ir_node *be_get_IncSP_pred(ir_node *irn) in be_get_IncSP_pred() 922 int be_get_IncSP_align(const ir_node *irn) in be_get_IncSP_align() [all …]
|
H A D | belistsched.c | 112 static void node_ready(block_sched_env_t *env, ir_node *pred, ir_node *irn) in node_ready() 139 static void try_make_ready(block_sched_env_t *env, ir_node *pred, ir_node *irn) in try_make_ready() 190 static void add_to_sched(block_sched_env_t *env, ir_node *irn) in add_to_sched() 239 ir_node *irn = get_edge_src_irn(edge); in list_sched_block() local 255 ir_node *irn = be.selector->select(be.selector_block_env, cands); in list_sched_block() local
|
H A D | besched.c | 63 static inline void sched_set_time_stamp(const ir_node *irn) in sched_set_time_stamp() 96 void sched_add_before(ir_node *before, ir_node *irn) in sched_add_before() 115 void sched_add_after(ir_node *after, ir_node *irn) in sched_add_after() 134 void sched_remove(ir_node *irn) in sched_remove()
|
H A D | becopyopt_t.h | 74 #define is_Reg_Phi(irn) (is_Phi(irn) && mode_is_data(get_irn_mode(irn))) argument 76 #define get_Perm_src(irn) (get_irn_n(get_Proj_pred(irn), get_Proj_proj(irn))) argument 77 #define is_Perm_Proj(irn) (is_Proj(irn) && be_is_Perm(get_Proj_pred(irn))) argument 130 const ir_node *irn; /** the neighbour itself */ member 135 const ir_node *irn; /** a node with affinity edges */ member 142 static inline affinity_node_t *get_affinity_info(const copy_opt_t *co, const ir_node *irn) in get_affinity_info()
|
H A D | becopyheur.c | 73 ir_node *irn; member 161 static inline const node_stat_t *qnode_find_node(const qnode_t *qn, ir_node *irn) in qnode_find_node() 172 static inline node_stat_t *qnode_find_or_insert_node(const qnode_t *qn, ir_node *irn) in qnode_find_or_insert_node() 184 static inline int qnode_get_new_color(const qnode_t *qn, ir_node *irn) in qnode_get_new_color() 196 static inline void qnode_set_new_color(const qnode_t *qn, ir_node *irn, int color) in qnode_set_new_color() 208 static inline int qnode_is_pinned_local(const qnode_t *qn, ir_node *irn) in qnode_is_pinned_local() 221 static inline void qnode_pin_local(const qnode_t *qn, ir_node *irn) in qnode_pin_local() 254 static ir_node *qnode_color_irn(const qnode_t *qn, ir_node *irn, int col, const ir_node *trigger) in qnode_color_irn() 614 ir_node *irn = ou->nodes[i]; in ou_optimize() local
|
H A D | bessadestr.c | 54 static void clear_link(ir_node *irn, void *data) in clear_link() 66 static void collect_phis_walker(ir_node *irn, void *data) in collect_phis_walker() 210 #define is_pinned(irn) (get_irn_link(irn)) argument 211 #define get_pinning_block(irn) ((ir_node *)get_irn_link(irn)) argument 212 #define pin_irn(irn, lock) (set_irn_link(irn, lock)) argument
|
H A D | belive_t.h | 71 const ir_node *irn, unsigned flags) in _be_is_live_xxx() 132 #define be_is_live_in(lv, bl, irn) _be_is_live_xxx(lv, bl, irn, be_lv_state_in) argument 133 #define be_is_live_end(lv, bl, irn) _be_is_live_xxx(lv, bl, irn, be_lv_state_end) argument 134 #define be_is_live_out(lv, bl, irn) _be_is_live_xxx(lv, bl, irn, be_lv_state_out) argument 136 #define be_lv_has_info_about(lv, irn) bitset_is_set((lv)->nodes, get_irn_idx(irn)) argument
|
H A D | bepbqpcoloring.c | 98 #define is_Reg_Phi(irn) (is_Phi(irn) && mode_is_data(get_irn… argument 99 #define get_Perm_src(irn) (get_irn_n(get_Proj_pred(irn), get_P… argument 100 #define is_Perm_Proj(irn) (is_Proj(irn) && be_is_Perm(get_Proj… argument 102 #define get_free_regs(restr_nodes, cls, irn) (arch_register_class_n_regs(cls) - r… argument 144 static void create_pbqp_node(be_pbqp_alloc_env_t *pbqp_alloc_env, ir_node *irn) in create_pbqp_node() 260 static void create_affinity_edges(ir_node *irn, void *env) in create_affinity_edges() 595 ir_node *irn; in insert_perms() local 699 ir_node *irn = get_idx_irn(irg, node->index); in be_pbqp_coloring() local 749 ir_node *irn = get_idx_irn(irg, node->index); in be_pbqp_coloring() local
|
H A D | beintlive_t.h | 174 static inline int _dominates_use(const ir_node *irn, const ir_edge_t *edge) in _dominates_use() 196 static inline int _strictly_dominates_use(const ir_node *irn, const ir_edge_t *edge) in _strictly_dominates_use() 208 static inline int _be_lv_chk_before_irn(ir_graph *irg, const ir_node *irn, in _be_lv_chk_before_irn() 243 static inline int _be_lv_chk_after_irn(ir_graph *irg, const ir_node *irn, in _be_lv_chk_after_irn()
|
/dports/devel/libfirm/libfirm-1.21.0/include/libfirm/ |
H A D | iredges.h | 66 #define foreach_out_edge_kind(irn, edge, kind) \ argument 77 #define foreach_out_edge_kind_safe(irn, edge, kind) \ argument 85 #define foreach_out_edge(irn, edge) foreach_out_edge_kind(irn, edge, EDGE_KIND_NORMAL) argument 90 #define foreach_out_edge_safe(irn, edge) foreach_out_edge_kind_safe(irn, edge, EDGE_KIND_NORMAL) argument 195 #define get_irn_n_edges(irn) get_irn_n_edges_kind(irn, EDGE_KIND_NORMAL) argument 200 #define get_irn_out_edge_first(irn) get_irn_out_edge_first_kind(irn, EDGE_KIND_… argument 205 #define get_block_succ_first(irn) get_irn_out_edge_first_kind(irn, EDGE_KIND_… argument 210 #define get_block_succ_next(irn, last) get_irn_out_edge_next(irn, last) argument
|
/dports/devel/libfirm/libfirm-1.21.0/ir/ir/ |
H A D | iredges_t.h | 88 static inline const ir_edge_t *get_irn_out_edge_first_kind_(const ir_node *irn, ir_edge_kind_t kind) in get_irn_out_edge_first_kind_() 102 static inline const ir_edge_t *get_irn_out_edge_next_(const ir_node *irn, const ir_edge_t *last) in get_irn_out_edge_next_() 115 static inline int get_irn_n_edges_kind_(const ir_node *irn, ir_edge_kind_t kind) in get_irn_n_edges_kind_() 209 #define get_irn_n_edges_kind(irn, kind) get_irn_n_edges_kind_(irn, kind) argument 213 #define get_irn_out_edge_next(irn, last) get_irn_out_edge_next_(irn, last) argument 216 #define get_irn_n_edges(irn) get_irn_n_edges_kind_(irn, EDGE_KIND_NORMAL) argument 220 #define get_irn_out_edge_first(irn) get_irn_out_edge_first_kind_(irn, EDGE_KIND_NORMAL) argument 224 #define get_block_succ_first(irn) get_irn_out_edge_first_kind_(irn, EDGE_KIND_BLOCK) argument 228 #define get_block_succ_next(irn, last) get_irn_out_edge_next_(irn, last) argument
|
H A D | iredges.c | 489 static void build_edges_walker(ir_node *irn, void *data) in build_edges_walker() 507 static void init_lh_walker(ir_node *irn, void *data) in init_lh_walker() 528 static void init_lh_walker_dep(ir_node *irn, void *data) in init_lh_walker_dep() 559 static void visitor(ir_node *irn, void *data) in visitor() 668 static void verify_set_presence(ir_node *irn, void *data) in verify_set_presence() 690 static void verify_list_presence(ir_node *irn, void *data) in verify_list_presence() 753 static void clear_links(ir_node *irn, void *env) in clear_links() 772 static void count_user(ir_node *irn, void *env) in count_user() 791 static void verify_edge_counter(ir_node *irn, void *env) in verify_edge_counter() 928 void edges_node_deleted(ir_node *irn) in edges_node_deleted() [all …]
|
/dports/devel/libfirm/libfirm-1.21.0/ir/be/arm/ |
H A D | arm_map_regs.c | 51 const ir_node *irn; member 64 static arm_irn_reg_assoc *get_irn_reg_assoc(const ir_node *irn, set *reg_set) in get_irn_reg_assoc() 76 void arm_set_firm_reg(ir_node *irn, const arch_register_t *reg, set *reg_set) in arm_set_firm_reg() 82 const arch_register_t *arm_get_firm_reg(const ir_node *irn, set *reg_set) in arm_get_firm_reg()
|
H A D | arm_emitter.c | 400 static void emit_arm_SymConst(const ir_node *irn) in emit_arm_SymConst() 418 static void emit_arm_FrameAddr(const ir_node *irn) in emit_arm_FrameAddr() 427 static void emit_arm_fConst(const ir_node *irn) in emit_arm_fConst() 456 static void emit_arm_B(const ir_node *irn) in emit_arm_B() 537 static void emit_arm_CopyB(const ir_node *irn) in emit_arm_CopyB() 589 static void emit_arm_SwitchJmp(const ir_node *irn) in emit_arm_SwitchJmp() 598 static void emit_be_IncSP(const ir_node *irn) in emit_be_IncSP() 613 static void emit_be_Copy(const ir_node *irn) in emit_be_Copy() 635 static void emit_be_Perm(const ir_node *irn) in emit_be_Perm() 722 static void emit_nothing(const ir_node *irn) in emit_nothing() [all …]
|
/dports/devel/libfirm/libfirm-1.21.0/ir/be/amd64/ |
H A D | amd64_emitter.c | 64 static ir_node *get_cfop_target_block(const ir_node *irn) in get_cfop_target_block() 205 static void emit_amd64_SymConst(const ir_node *irn) in emit_amd64_SymConst() 229 static void emit_amd64_Conv(const ir_node *irn) in emit_amd64_Conv() 265 static void emit_amd64_Jcc(const ir_node *irn) in emit_amd64_Jcc() 358 static void emit_be_Copy(const ir_node *irn) in emit_be_Copy() 393 static void emit_amd64_FrameAddr(const ir_node *irn) in emit_amd64_FrameAddr() 429 static void emit_amd64_binop_op(const ir_node *irn, int second_op) in emit_amd64_binop_op() 444 static void emit_amd64_binop(const ir_node *irn) in emit_amd64_binop()
|
/dports/devel/libfirm/libfirm-1.21.0/ir/ana/ |
H A D | irlivechk.h | 69 #define lv_chk_bl_in(lv, bl, irn) ((lv_chk_bl_xxx((lv), (bl), (irn)) & lv_chk_state_in) != 0) argument 70 #define lv_chk_bl_end(lv, bl, irn) ((lv_chk_bl_xxx((lv), (bl), (irn)) & lv_chk_state_end) != 0) argument 71 #define lv_chk_bl_out(lv, bl, irn) ((lv_chk_bl_xxx((lv), (bl), (irn)) & lv_chk_state_out) != 0) argument
|
/dports/devel/libfirm/libfirm-1.21.0/ir/opt/ |
H A D | reassoc.c | 147 ir_node *irn; in reassoc_Sub() local 251 ir_node *irn, *in[2]; in reassoc_commutative() local 330 ir_node *irn, *in[2]; in reassoc_commutative() local 377 ir_node *irn, *block, *t1, *t2, *in[2]; in reassoc_Mul() local 420 ir_node *x, *blk, *irn; in reassoc_Shl() local 543 static int is_constant_expr(ir_node *irn) in is_constant_expr() 574 ir_node *a, *b, *irn; in reverse_rule_distributive() local 655 ir_node *l, *r, *a, *b, *c, *blk, *irn, *in[2]; in move_consts_up() local
|