#include "ir.h"
#include "ir_private.h"
Go to the source code of this file.
|
IR_ALWAYS_INLINE bool | _ir_is_reachable_ctrl (ir_ctx *ctx, ir_insn *_values, ir_ref ref) |
|
IR_ALWAYS_INLINE void | ir_sccp_add_uses (ir_ctx *ctx, ir_insn *_values, ir_bitqueue *worklist, ir_ref ref) |
|
IR_ALWAYS_INLINE void | ir_sccp_add_input (ir_ctx *ctx, ir_insn *_values, ir_bitqueue *worklist, ir_ref ref) |
|
IR_ALWAYS_INLINE ir_ref | ir_sccp_identity (ir_ctx *ctx, ir_insn *_values, ir_ref a) |
|
IR_ALWAYS_INLINE void | ir_sccp_make_bottom_ex (ir_ctx *ctx, ir_insn *_values, ir_bitqueue *worklist, ir_ref ref) |
|
IR_ALWAYS_INLINE bool | ir_sccp_meet_const (ir_ctx *ctx, ir_insn *_values, ir_bitqueue *worklist, ir_ref ref, ir_insn *val_insn) |
|
IR_ALWAYS_INLINE bool | ir_sccp_meet (ir_ctx *ctx, ir_insn *_values, ir_bitqueue *worklist, ir_ref ref, ir_ref val) |
|
void | ir_iter_replace (ir_ctx *ctx, ir_ref ref, ir_ref new_ref, ir_bitqueue *worklist) |
|
void | ir_iter_update_op (ir_ctx *ctx, ir_ref ref, uint32_t idx, ir_ref new_val, ir_bitqueue *worklist) |
|
void | ir_iter_opt (ir_ctx *ctx, ir_bitqueue *worklist) |
|
int | ir_sccp (ir_ctx *ctx) |
|
◆ CHECK_LIST
#define CHECK_LIST |
( |
| _values, |
|
|
| ref ) |
◆ IR_BOTTOM
◆ IR_COMBO_COPY_PROPAGATION
#define IR_COMBO_COPY_PROPAGATION 1 |
◆ IR_IS_BOTTOM
◆ IR_IS_CONST
Value:
#define IR_IS_CONST_REF(ref)
#define IR_IS_CONST_OP(op)
Definition at line 26 of file ir_sccp.c.
◆ IR_IS_REACHABLE
#define IR_IS_REACHABLE |
( |
| ref | ) |
|
Value:
IR_ALWAYS_INLINE bool _ir_is_reachable_ctrl(ir_ctx *ctx, ir_insn *_values, ir_ref ref)
Definition at line 25 of file ir_sccp.c.
◆ IR_IS_TOP
Value:(ref >= 0 && _values[ref].op ==
IR_TOP)
Definition at line 23 of file ir_sccp.c.
◆ IR_MAKE_BOTTOM
◆ IR_MAKE_BOTTOM_EX
#define IR_MAKE_BOTTOM_EX |
( |
| ref | ) |
|
Value:
IR_ALWAYS_INLINE void ir_sccp_make_bottom_ex(ir_ctx *ctx, ir_insn *_values, ir_bitqueue *worklist, ir_ref ref)
Definition at line 182 of file ir_sccp.c.
◆ IR_MAKE_TOP
◆ ir_sccp_trace_end
#define ir_sccp_trace_end |
( |
| c, |
|
|
| v, |
|
|
| i ) |
◆ ir_sccp_trace_start
#define ir_sccp_trace_start |
( |
| c, |
|
|
| v, |
|
|
| i ) |
◆ IR_TOP
◆ _ir_is_reachable_ctrl()
◆ ir_iter_opt()
◆ ir_iter_replace()
◆ ir_iter_update_op()
◆ ir_sccp()
◆ ir_sccp_add_input()
◆ ir_sccp_add_uses()
◆ ir_sccp_identity()
◆ ir_sccp_make_bottom_ex()
◆ ir_sccp_meet()
◆ ir_sccp_meet_const()