20#ifndef GCC_TREE_SSA_OPERANDS_H
21#define GCC_TREE_SSA_OPERANDS_H
33#define NULL_USE_OPERAND_P ((use_operand_p)NULL)
34#define NULL_DEF_OPERAND_P ((def_operand_p)NULL)
65#define USE_FROM_PTR(PTR) get_use_from_ptr (PTR)
66#define DEF_FROM_PTR(PTR) get_def_from_ptr (PTR)
67#define SET_USE(USE, V) set_ssa_use_from_ptr (USE, V)
68#define SET_DEF(DEF, V) ((*(DEF)) = (V))
70#define USE_STMT(USE) (USE)->loc.stmt
72#define USE_OP_PTR(OP) (&((OP)->use_ptr))
73#define USE_OP(OP) (USE_FROM_PTR (USE_OP_PTR (OP)))
75#define PHI_RESULT(PHI) gimple_phi_result (PHI)
76#define SET_PHI_RESULT(PHI, V) SET_DEF (gimple_phi_result_ptr (PHI), (V))
77#define PHI_ARG_DEF_PTR(PHI, I) gimple_phi_arg_imm_use_ptr ((PHI), (I))
78#define PHI_ARG_DEF(PHI, I) gimple_phi_arg_def ((PHI), (I))
79#define SET_PHI_ARG_DEF(PHI, I, V) \
80 SET_USE (PHI_ARG_DEF_PTR ((PHI), (I)), (V))
81#define SET_PHI_ARG_DEF_ON_EDGE(PHI, E, V) \
82 SET_USE (gimple_phi_arg_imm_use_ptr_from_edge \
84#define PHI_ARG_DEF_FROM_EDGE(PHI, E) \
85 gimple_phi_arg_def_from_edge ((PHI), (E))
86#define PHI_ARG_DEF_PTR_FROM_EDGE(PHI, E) \
87 gimple_phi_arg_imm_use_ptr_from_edge ((PHI), (E))
88#define PHI_ARG_INDEX_FROM_USE(USE) phi_arg_index_from_use (USE)
#define GTY(x)
Definition coretypes.h:41
union tree_node * tree
Definition coretypes.h:97
Definition loop-invariant.cc:88
Definition function.h:249
Definition tree-ssa-operands.h:48
char mem[1]
Definition tree-ssa-operands.h:50
struct ssa_operand_memory_d * next
Definition tree-ssa-operands.h:49
Definition tree-ssa-operands.h:54
bool ops_active
Definition tree-ssa-operands.h:60
struct ssa_operand_memory_d * operand_memory
Definition tree-ssa-operands.h:55
unsigned operand_memory_index
Definition tree-ssa-operands.h:56
struct use_optype_d * free_uses
Definition tree-ssa-operands.h:62
unsigned int ssa_operand_mem_size
Definition tree-ssa-operands.h:58
Definition tree-core.h:1621
Definition tree-ssa-operands.h:38
struct ssa_use_operand_t use_ptr
Definition tree-ssa-operands.h:40
struct use_optype_d * next
Definition tree-ssa-operands.h:39
Definition loop-invariant.cc:78
DEBUG_FUNCTION void debug_immediate_uses(void)
Definition tree-ssa-operands.cc:1346
void dump_immediate_uses(FILE *file)
Definition tree-ssa-operands.cc:1330
void swap_ssa_operands(gimple *stmt, tree *exp0, tree *exp1)
Definition tree-ssa-operands.cc:1157
bool ssa_operands_active(struct function *fun)
Definition tree-ssa-operands.cc:219
void free_stmt_operands(struct function *fn, gimple *stmt)
Definition tree-ssa-operands.cc:1111
void unlink_stmt_vdef(gimple *stmt)
Definition tree-ssa-operands.cc:1364
void init_ssa_operands(struct function *fn)
Definition tree-ssa-operands.cc:270
void dump_immediate_uses_for(FILE *file, tree var)
Definition tree-ssa-operands.cc:1296
DEBUG_FUNCTION bool verify_imm_links(FILE *f, tree var)
Definition tree-ssa-operands.cc:1204
DEBUG_FUNCTION bool verify_ssa_operands(struct function *fn, gimple *stmt)
Definition tree-ssa-operands.cc:1101
void fini_ssa_operands(struct function *fn)
Definition tree-ssa-operands.cc:284
DEBUG_FUNCTION void debug_immediate_uses_for(tree var)
Definition tree-ssa-operands.cc:1355
void update_stmt_operands(struct function *fn, gimple *stmt)
Definition tree-ssa-operands.cc:1136
tree * def_operand_p
Definition tree-ssa-operands.h:27
tree get_use_from_ptr(use_operand_p use)
Definition tree-ssa-operands.h:109
struct use_optype_d * use_optype_p
Definition tree-ssa-operands.h:42
void dump_immediate_uses(FILE *file)
Definition tree-ssa-operands.cc:1330
void update_stmt_operands(struct function *, gimple *)
Definition tree-ssa-operands.cc:1136
tree get_def_from_ptr(def_operand_p def)
Definition tree-ssa-operands.h:116
void fini_ssa_operands(struct function *)
Definition tree-ssa-operands.cc:284
bool verify_imm_links(FILE *f, tree var)
Definition tree-ssa-operands.cc:1204
ssa_use_operand_t * use_operand_p
Definition tree-ssa-operands.h:30
void unlink_stmt_vdef(gimple *)
Definition tree-ssa-operands.cc:1364
void debug_immediate_uses(void)
Definition tree-ssa-operands.cc:1346
bool verify_ssa_operands(struct function *, gimple *stmt)
Definition tree-ssa-operands.cc:1101
void free_stmt_operands(struct function *, gimple *)
Definition tree-ssa-operands.cc:1111
void init_ssa_operands(struct function *fn)
Definition tree-ssa-operands.cc:270
bool ssa_operands_active(struct function *)
Definition tree-ssa-operands.cc:219
void dump_immediate_uses_for(FILE *file, tree var)
Definition tree-ssa-operands.cc:1296
void swap_ssa_operands(gimple *, tree *, tree *)
Definition tree-ssa-operands.cc:1157
void debug_immediate_uses_for(tree var)
Definition tree-ssa-operands.cc:1355