/dports/devel/libfirm/libfirm-1.21.0/ir/tr/ |
H A D | entity.c | 61 ir_entity *res = XMALLOCZ(ir_entity); in intern_new_entity() 97 ir_entity *res; in new_d_entity() 138 ir_entity *res in new_d_parameter_entity() 154 ir_entity *res in new_d_label_entity() 201 static ir_entity *deep_entity_copy(ir_entity *old) in deep_entity_copy() 203 ir_entity *newe = XMALLOC(ir_entity); in deep_entity_copy() 223 ir_entity *copy_entity_own(ir_entity *old, ir_type *new_owner) in copy_entity_own() 225 ir_entity *newe; in copy_entity_own() 241 ir_entity *copy_entity_name(ir_entity *old, ident *new_name) in copy_entity_name() 243 ir_entity *newe; in copy_entity_name() [all …]
|
H A D | entity_t.h | 115 struct ir_entity { struct 179 ir_entity *new_label_entity(ir_label_t label); argument 186 void set_entity_irg(ir_entity *ent, ir_graph *irg); 200 static inline ident *_get_entity_ident(const ir_entity *ent) in _get_entity_ident() 238 static inline ir_type *_get_entity_type(const ir_entity *ent) in _get_entity_type() 310 static inline int _get_entity_offset(const ir_entity *ent) in _get_entity_offset() 334 static inline void *_get_entity_link(const ir_entity *ent) in _get_entity_link() 340 static inline void _set_entity_link(ir_entity *ent, void *l) in _set_entity_link() 368 static inline void _mark_entity_visited(ir_entity *ent) in _mark_entity_visited() 374 static inline int _entity_visited(const ir_entity *ent) in _entity_visited() [all …]
|
H A D | tr_inheritance.c | 56 ir_entity *inhent, *thisent; in copy_entities_from_superclass() 259 ir_entity *mem = get_class_member(tp, i); in compute_down_closure() 314 ir_entity *mem = get_class_member(tp, i); in compute_up_closure() 445 ir_entity *get_entity_trans_overwrittenby_first(const ir_entity *ent) in get_entity_trans_overwrittenby_first() 451 ir_entity *get_entity_trans_overwrittenby_next(const ir_entity *ent) in get_entity_trans_overwrittenby_next() 460 ir_entity *get_entity_trans_overwrites_first(const ir_entity *ent) in get_entity_trans_overwrites_first() 466 ir_entity *get_entity_trans_overwrites_next(const ir_entity *ent) in get_entity_trans_overwrites_next() 518 int is_overwritten_by(ir_entity *high, ir_entity *low) in is_overwritten_by() 547 static ir_entity *do_resolve_ent_polymorphy(ir_type *dynamic_class, ir_entity *static_ent) in do_resolve_ent_polymorphy() 569 ir_entity *resolve_ent_polymorphy(ir_type *dynamic_class, ir_entity *static_ent) in resolve_ent_polymorphy() [all …]
|
H A D | trverify.c | 47 static bool check_class_member(const ir_type *tp, const ir_entity *entity) in check_class_member() 65 ir_entity *member = get_compound_member(tp, i); in check_compound_type() 199 static bool constants_on_wrong_irg(const ir_entity *ent) in constants_on_wrong_irg() 207 static bool check_external_linkage(const ir_entity *entity, ir_linkage linkage, in check_external_linkage() 224 int check_entity(const ir_entity *entity) in check_entity() 235 ir_entity *irg_entity = get_irg_entity(irg); in check_entity() 243 ir_entity *impl = get_SymConst_entity(get_atomic_ent_value(entity)); in check_entity() 318 ir_entity *entity = get_compound_member(type, e); in tr_verify() 330 const ir_entity *entity = get_compound_member(constructors, i); in tr_verify() 345 const ir_entity *entity = get_compound_member(destructors, i); in tr_verify() [all …]
|
H A D | type.c | 431 ir_entity **m; in equal_type() 457 ir_entity *e1 = get_class_member(typ1, i); in equal_type() 533 ir_entity *e1 = get_union_member(typ1, i); in equal_type() 579 ir_entity **m; in smaller_type() 598 m = ALLOCANZ(ir_entity*, n_st_members); in smaller_type() 601 ir_entity *se = get_struct_member(st, i); in smaller_type() 604 ir_entity *le = get_struct_member(lt, j); in smaller_type() 643 m = ALLOCANZ(ir_entity*, n_st_members); in smaller_type() 646 ir_entity *se = get_union_member(st, i); in smaller_type() 649 ir_entity *le = get_union_member(lt, j); in smaller_type() [all …]
|
/dports/devel/libfirm/libfirm-1.21.0/include/libfirm/ |
H A D | typerep.h | 249 FIRM_API ir_entity *copy_entity_own(ir_entity *old, ir_type *new_owner); 259 FIRM_API ir_entity *copy_entity_name(ir_entity *old, ident *new_name); 564 FIRM_API void add_entity_overwrites(ir_entity *ent, ir_entity *overwritten); 573 FIRM_API ir_entity *get_entity_overwrites(const ir_entity *ent, size_t pos); 578 FIRM_API void remove_entity_overwrites(ir_entity *ent, ir_entity *overwritten); 587 FIRM_API ir_entity *get_entity_overwrittenby(const ir_entity *ent, size_t pos); 869 FIRM_API int is_overwritten_by(ir_entity *high, ir_entity *low); 981 FIRM_API ir_entity *get_entity_trans_overwrittenby_first(const ir_entity *ent); 986 FIRM_API ir_entity *get_entity_trans_overwrittenby_next(const ir_entity *ent); 990 FIRM_API ir_entity *get_entity_trans_overwrites_first(const ir_entity *ent); [all …]
|
H A D | trouts.h | 46 FIRM_API size_t get_entity_n_accesses(const ir_entity *entity); 48 FIRM_API ir_node *get_entity_access(const ir_entity *entity, size_t pos); 52 FIRM_API size_t get_entity_n_references(const ir_entity *entity); 55 FIRM_API ir_node *get_entity_reference(const ir_entity *entity, size_t pos);
|
/dports/devel/libfirm/libfirm-1.21.0/ir/ana/ |
H A D | cgana.c | 109 static ir_entity **get_impl_methods(ir_entity *method) in get_impl_methods() 111 ir_entity **arr; in get_impl_methods() 122 arr = NEW_ARR_F(ir_entity *, size); in get_impl_methods() 123 foreach_pset(set, ir_entity, ent) { in get_impl_methods() 153 ir_entity **arr; in sel_methods_walker() 252 ir_entity * ent; in get_Sel_arr() 253 ir_entity ** arr; in get_Sel_arr() 287 ir_entity ** arr = get_Sel_arr(sel); in get_Sel_method() 530 ir_entity **arr; in get_free_methods() 714 ir_entity **arr; in callee_walker() [all …]
|
H A D | trouts.c | 54 static ir_node **get_entity_access_array(const ir_entity *ent) in get_entity_access_array() 76 static ir_node **get_entity_reference_array(const ir_entity *ent) in get_entity_reference_array() 191 size_t get_entity_n_accesses(const ir_entity *ent) in get_entity_n_accesses() 201 ir_node *get_entity_access(const ir_entity *ent, size_t pos) in get_entity_access() 211 static void add_entity_access(const ir_entity *ent, ir_node *n) in add_entity_access() 224 void set_entity_access(const ir_entity *ent, int pos, ir_node *n) 238 size_t get_entity_n_references(const ir_entity *ent) in get_entity_n_references() 248 ir_node *get_entity_reference(const ir_entity *ent, size_t pos) in get_entity_reference() 514 static ir_entity *get_Sel_accessed_entity(const ir_node *sel) in get_Sel_accessed_entity() 537 static ir_entity *get_addr_entity(const ir_node *addr, int pos) in get_addr_entity() [all …]
|
H A D | irmemory.c | 310 ir_entity *ent1 = get_Sel_entity(sel1); in different_sel_offsets() 311 ir_entity *ent2 = get_Sel_entity(sel2); in different_sel_offsets() 362 ir_entity *ent1 = NULL, *ent2 = NULL; in different_types() 418 ir_entity *ent = get_SymConst_entity(node); in is_malloc_Result() 459 ir_entity *ent = get_Sel_entity(adr); in skip_Bitfield_Sels() 483 ir_entity *ent1, *ent2; in _get_alias_relation() 957 ir_entity *ent = get_class_member(ft, i); in analyse_irg_entity_usage() 972 ir_entity *entity; in analyse_irg_entity_usage() 987 ir_entity *ent = get_class_member(ft, i); in analyse_irg_entity_usage() 1071 ir_entity *ent = get_SymConst_entity(n); in check_initializer_nodes() [all …]
|
/dports/devel/libfirm/libfirm-1.21.0/ir/be/sparc/ |
H A D | gen_sparc_new_nodes.h | 93 ir_node *new_bd_sparc_SubCCZero_imm(dbg_info *dbgi, ir_node *block, ir_node *left, ir_entity *immed… 105 ir_node *new_bd_sparc_Sra_imm(dbg_info *dbgi, ir_node *block, ir_node *left, ir_entity *immediate_e… 177 ir_node *new_bd_sparc_SetHi(dbg_info *dbgi, ir_node *block, ir_entity *entity, int32_t immediate_va… 185 ir_node *new_bd_sparc_Xor_imm(dbg_info *dbgi, ir_node *block, ir_node *left, ir_entity *immediate_e… 197 ir_node *new_bd_sparc_Or_imm(dbg_info *dbgi, ir_node *block, ir_node *left, ir_entity *immediate_en… 229 ir_node *new_bd_sparc_UMulh_imm(dbg_info *dbgi, ir_node *block, ir_node *left, ir_entity *immediate… 249 ir_node *new_bd_sparc_Cmp_imm(dbg_info *dbgi, ir_node *block, ir_node *left, ir_entity *immediate_e… 337 ir_node *new_bd_sparc_Add_imm(dbg_info *dbgi, ir_node *block, ir_node *left, ir_entity *immediate_e… 477 ir_node *new_bd_sparc_Sub_imm(dbg_info *dbgi, ir_node *block, ir_node *left, ir_entity *immediate_e… 661 …rc_Return_imm(dbg_info *dbgi, ir_node *block, int arity, ir_node *in[], ir_entity *entity, int32_t… [all …]
|
H A D | sparc_stackframe.c | 60 ir_entity *entity = arch_get_frame_entity(irn); in process_bias() 117 ir_entity *member = get_compound_member(type, i); in adjust_entity_offsets() 132 ir_entity *entity = get_irg_entity(irg); in sparc_variadic_fixups() 178 ir_entity *va_start_entity = NULL; in compute_arg_type() 179 const ir_entity *entity = get_irg_entity(irg); in compute_arg_type() 182 ir_entity **param_map = ALLOCANZ(ir_entity*, n_params); in compute_arg_type() 193 ir_entity *member = get_compound_member(frame_type, --f); in compute_arg_type() 218 ir_entity *entity = param_map[i]; in compute_arg_type()
|
/dports/devel/libfirm/libfirm-1.21.0/ir/be/ia32/ |
H A D | bearch_ia32_t.h | 76 ir_entity *divdi3; /**< entity for __divdi3 library call */ 77 ir_entity *moddi3; /**< entity for __moddi3 library call */ 78 ir_entity *udivdi3; /**< entity for __udivdi3 library call */ 79 ir_entity *umoddi3; /**< entity for __umoddi3 library call */ 143 ir_entity *ia32_create_intrinsic_fkt(ir_type *method, const ir_op *op, 150 ir_entity *ia32_get_return_address_entity(ir_graph *irg); 155 ir_entity *ia32_get_frame_address_entity(ir_graph *irg);
|
H A D | ia32_new_nodes.h | 134 ir_entity *get_ia32_am_sc(const ir_node *node); 139 void set_ia32_am_sc(ir_node *node, ir_entity *sc); 242 ir_entity *get_ia32_frame_ent(const ir_node *node); 247 void set_ia32_frame_ent(ir_node *node, ir_entity *ent); 308 ident *ia32_get_ent_ident(ir_entity *ent);
|
/dports/devel/libfirm/libfirm-1.21.0/ir/opt/ |
H A D | ircgopt.c | 63 void gc_irgs(size_t n_keep, ir_entity ** keep_arr) in gc_irgs() 78 ir_entity **marked = NEW_ARR_F(ir_entity *, n_keep); in gc_irgs() 107 ir_entity *ent = get_Call_callee(node, --i); in gc_irgs() 111 ARR_APP1(ir_entity *, marked, ent); in gc_irgs() 126 ir_entity *ent = get_irg_entity(irg); in gc_irgs() 141 ir_entity **keep_methods; in pass_wrapper()
|
H A D | garbage_collect.c | 40 static void visit_entity(ir_entity *entity); 44 ir_entity *entity; in visit_node() 93 static void visit_entity(ir_entity *entity) in visit_entity() 117 ir_entity *entity = get_compound_member(segment, i); in visit_segment() 132 ir_entity *entity = get_compound_member(segment, i); in garbage_collect_in_segment() 167 ir_entity *entity = get_irg_entity(irg); in garbage_collect_entities()
|
H A D | proc_cloning.c | 58 ir_entity *ent; /**< The entity of our Call. */ 120 static void process_call(ir_node *call, ir_entity *callee, q_set *hmap) in process_call() 179 ir_entity *callee; in collect_irg_calls() 335 static void create_clone_proc_irg(ir_entity *ent, const quadruple_t *q) in create_clone_proc_irg() 372 static void change_entity_type(const quadruple_t *q, ir_entity *ent) in change_entity_type() 408 static ir_entity *clone_method(const quadruple_t *q) in clone_method() 410 ir_entity *new_entity; in clone_method() 446 static ir_node *new_cl_Call(ir_node *call, ir_entity *new_entity, size_t pos) in new_cl_Call() 479 static void exchange_calls(quadruple_t *q, ir_entity *cloned_ent) in exchange_calls() 516 ir_entity *callee; in reorder_weights() [all …]
|
/dports/devel/libfirm/libfirm-1.21.0/ir/be/ |
H A D | benode.h | 155 ir_node *block, ir_node *frame, ir_entity *ent); 160 ir_entity *be_get_FrameAddr_entity(const ir_node *node); 260 ir_entity *be_Call_get_entity(const ir_node *call); 262 void be_Call_set_entity(ir_node *call, ir_entity *ent); 381 ir_entity *be_get_frame_entity(const ir_node *irn); 383 void be_node_set_frame_entity(ir_node *node, ir_entity *entity); 395 void be_set_MemPerm_in_entity(const ir_node *irn, int n, ir_entity* ent); 396 ir_entity *be_get_MemPerm_in_entity(const ir_node *irn, int n); 398 void be_set_MemPerm_out_entity(const ir_node *irn, int n, ir_entity* ent); 399 ir_entity *be_get_MemPerm_out_entity(const ir_node *irn, int n);
|
H A D | begnuas.h | 90 void be_gas_emit_function_prolog(const ir_entity *entity, 94 void be_gas_emit_function_epilog(const ir_entity *entity); 103 void be_gas_emit_entity(const ir_entity *entity); 146 ir_entity *entity,
|
H A D | bedwarf.h | 31 const ir_entity *entity; 48 void be_dwarf_method_before(const ir_entity *ent, 58 void be_dwarf_variable(const ir_entity *ent);
|
H A D | begnuas.c | 374 static int entity_is_string_const(const ir_entity *ent) in entity_is_string_const() 404 static bool entity_is_null(const ir_entity *entity) in entity_is_null() 410 static bool is_comdat(const ir_entity *entity) in is_comdat() 473 static void emit_weak(const ir_entity *entity) in emit_weak() 485 static void emit_visibility(const ir_entity *entity) in emit_visibility() 654 ir_entity *ent; in emit_init_expression() 1232 static void emit_common(const ir_entity *entity) in emit_common() 1264 static void emit_local_common(const ir_entity *entity) in emit_local_common() 1325 void be_gas_emit_entity(const ir_entity *entity) in be_gas_emit_entity() 1341 ir_entity *entity = get_Block_entity(block); in be_gas_emit_block_name() [all …]
|
H A D | bedwarf.c | 95 const ir_entity **pubnames_list; 174 static void emit_ref(const ir_entity *entity) in emit_ref() 309 const ir_entity *entity = env.pubnames_list[i]; in emit_pubnames() 363 static bool is_extern_entity(const ir_entity *entity) in is_extern_entity() 369 static void emit_entity_label(const ir_entity *entity) in emit_entity_label() 477 void be_dwarf_method_before(const ir_entity *entity, in be_dwarf_method_before() 518 ARR_APP1(const ir_entity*, env.pubnames_list, entity); in be_dwarf_method_before() 536 const ir_entity *entity = env.cur_ent; in be_dwarf_method_end() 822 static void emit_op_addr(const ir_entity *entity) in emit_op_addr() 842 void be_dwarf_variable(const ir_entity *entity) in be_dwarf_variable() [all …]
|
/dports/devel/libfirm/libfirm-1.21.0/ir/ir/ |
H A D | irprofile.c | 155 static void add_constructor(ir_entity *method) in add_constructor() 162 ir_entity *ptr = new_entity(constructors, ide, ptr_type); in add_constructor() 178 static ir_entity *get_init_firmprof_ref(void) in get_init_firmprof_ref() 185 ir_entity *result; in get_init_firmprof_ref() 206 static ir_graph *gen_initializer_irg(ir_entity *ent_filename, in gen_initializer_irg() 215 ir_entity *init_ent = get_init_firmprof_ref(); in gen_initializer_irg() 358 static void instrument_irg(ir_graph *irg, ir_entity *counters, in instrument_irg() 415 static ir_entity *new_array_entity(ident *name, int size) in new_array_entity() 417 ir_entity *result; in new_array_entity() 442 ir_entity *result; in new_static_string_entity() [all …]
|
/dports/lang/cparser/cparser-0.9.14/ |
H A D | entitymap_t.h | 28 ir_entity *entity; 46 void entitymap_insert(entitymap_t *map, symbol_t *symbol, ir_entity *entity); 48 ir_entity *entitymap_get(const entitymap_t *map, symbol_t *symbol);
|
/dports/devel/libfirm/libfirm-1.21.0/ir/lower/ |
H A D | lower_calls.c | 268 ir_entity *ent = NULL; in find_base_adr() 299 ir_entity *ent; in check_ptr() 319 const ir_entity *ent = get_SymConst_entity(callee); in is_self_recursive_Call() 418 ir_entity *entity = get_Sel_entity(n); in fix_args_and_collect_calls() 454 ir_entity *ent; in is_compound_address() 481 ir_entity *ent = get_Sel_entity(n); in do_copy_return_opt() 505 ir_entity *ent = new_entity(ft, dummy_id, tp); in get_dummy_sel() 609 ir_entity *entity = new_entity(frame, id, type); in create_compound_arg_entity() 633 ir_entity *arg_entity; in fix_compound_params() 676 ir_entity *ent = get_irg_entity(irg); in transform_irg() [all …]
|