/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | ipa-ref.c | 43 struct ipa_ref *ref; in ipa_record_reference() local 85 ref->stmt = stmt; in ipa_record_reference() 95 ref->refered_index, ref); in ipa_record_reference() 97 return ref; in ipa_record_reference() 112 if (ref != last) in ipa_remove_reference() 118 ref->refered_index)->refered_index = ref->refered_index; in ipa_remove_reference() 123 if (ref != last) in ipa_remove_reference() 125 *ref = *last; in ipa_remove_reference() 128 ref->refered_index, ref); in ipa_remove_reference() 216 ref->use, ref->stmt); in ipa_clone_references() [all …]
|
H A D | tree-ssa-loop-prefetch.c | 396 for (ref = groups->refs; ref; ref = next_r) in release_mem_refs() 995 for (ref = groups->refs; ref; ref = ref->next) in schedule_prefetches() 1039 for (ref = groups->refs; ref; ref = ref->next) in nothing_to_prefetch_p() 1057 for (ref = groups->refs; ref; ref = ref->next) in estimate_prefetch_count() 1137 for (ref = groups->refs; ref; ref = ref->next) in issue_prefetches() 1259 for (ref = groups->refs; ref; ref = ref->next) in mark_nontemporal_stores() 1325 for (ref = agp->refs; ref; ref = ref->next) in determine_unroll_factor() 1353 for (ref = gr->refs; ref; ref = ref->next) in volume_of_references() 1562 for (ref = gr->refs; ref; ref = ref->next) in determine_loop_nest_reuse() 1565 ref->mem, ref->stmt, !ref->write_p); in determine_loop_nest_reuse() [all …]
|
H A D | tree-ssa-alias.c | 448 r->ref = ref; in ao_ref_init() 455 r->volatile_p = ref ? TREE_THIS_VOLATILE (ref) : false; in ao_ref_init() 463 if (ref->base) in ao_ref_base() 465 ref->base = get_ref_base_and_extent (ref->ref, &ref->offset, &ref->size, in ao_ref_base() 478 if (!ref->ref) in ao_ref_base_alias_set() 480 base_ref = ref->ref; in ao_ref_base_alias_set() 494 ref->ref_alias_set = get_alias_set (ref->ref); in ao_ref_alias_set() 507 ref->ref = NULL_TREE; in ao_ref_init_from_ptr_and_size() 520 ref->max_size = ref->size = TREE_INT_CST_LOW (size) * 8; in ao_ref_init_from_ptr_and_size() 522 ref->max_size = ref->size = -1; in ao_ref_init_from_ptr_and_size() [all …]
|
H A D | ipa-ref-inline.h | 24 ipa_ref_node (struct ipa_ref *ref) in ipa_ref_node() argument 27 return ref->refered.cgraph_node; in ipa_ref_node() 33 ipa_ref_varpool_node (struct ipa_ref *ref) in ipa_ref_varpool_node() argument 36 return ref->refered.varpool_node; in ipa_ref_varpool_node() 42 ipa_ref_refering_node (struct ipa_ref *ref) in ipa_ref_refering_node() argument 45 return ref->refering.cgraph_node; in ipa_ref_refering_node() 54 return ref->refering.varpool_node; in ipa_ref_refering_varpool_node() 62 if (ref->refering_type == IPA_REF_CGRAPH) in ipa_ref_refering_ref_list() 71 ipa_ref_refered_ref_list (struct ipa_ref *ref) in ipa_ref_refered_ref_list() argument 73 if (ref->refered_type == IPA_REF_CGRAPH) in ipa_ref_refered_ref_list() [all …]
|
H A D | tree-ssa-loop-im.c | 681 mem_ref_p ref; in mem_ref_in_stmt() local 691 return ref; in mem_ref_in_stmt() 864 if (ref) in determine_max_movement() 1509 ref->id = id; in mem_ref_alloc() 1518 return ref; in mem_ref_alloc() 1582 mem_ref_p ref; in gather_mem_refs_stmt() local 1684 mem_ref_p ref; in create_vop_ref_mapping_loop() local 1909 ref = SSA_NAME_VAR (ref); in gen_lsm_tmp_name() 2205 mem_ref_p ref; in hoist_memory_references() local 2435 mem_ref_p ref; in find_refs_for_sm() local [all …]
|
H A D | tree-predcom.c | 345 if (ref->ref) in dump_dref() 348 print_generic_expr (file, DR_REF (ref->ref), TDF_SLIM); in dump_dref() 350 DR_IS_READ (ref->ref) ? "" : ", write"); in dump_dref() 495 dref ref; in release_chain() local 502 free (ref); in release_chain() 884 dref ref; in filter_suitable_components() local 962 dref ref; in make_invariant_chain() local 1012 if (!ref->ref || DR_IS_READ (ref->ref)) in name_for_ref() 1081 if (DR_IS_READ (ref->ref)) in find_looparound_phi() 1509 ref = DR_REF (root->ref); in initialize_root_vars() [all …]
|
H A D | lto-cgraph.c | 109 int ref; in lto_cgraph_encoder_encode() local 123 return ref; in lto_cgraph_encoder_encode() 203 int ref; in lto_varpool_encoder_encode() local 217 return ref; in lto_varpool_encoder_encode() 269 intptr_t ref; in lto_output_edge() local 328 struct ipa_ref *ref; in referenced_from_other_partition_p() local 372 struct ipa_ref *ref; in referenced_from_this_partition_p() local 418 intptr_t ref; in lto_output_node() local 484 ref = LCC_NOT_FOUND; in lto_output_node() 561 int ref; in lto_output_varpool_node() local [all …]
|
H A D | df-scan.c | 1181 df_ref ref; in df_free_collection_rec() local 1548 while (ref) in df_reorganize_refs_by_reg_by_reg() 1553 ref = DF_REF_NEXT_REG (ref); in df_reorganize_refs_by_reg_by_reg() 1560 while (ref) in df_reorganize_refs_by_reg_by_reg() 1565 ref = DF_REF_NEXT_REG (ref); in df_reorganize_refs_by_reg_by_reg() 1572 while (ref) in df_reorganize_refs_by_reg_by_reg() 1577 ref = DF_REF_NEXT_REG (ref); in df_reorganize_refs_by_reg_by_reg() 3295 df_ref ref; in df_get_conditional_uses() local 3304 DF_REF_LOC (ref), DF_REF_BB (ref), in df_get_conditional_uses() 4215 for (ref = refs; ref; ref = DF_REF_NEXT_REG (ref)) in df_reg_chain_mark() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | tree-ssa-loop-prefetch.c | 411 for (ref = groups->refs; ref; ref = next_r) in release_mem_refs() 1048 for (ref = groups->refs; ref; ref = ref->next) in schedule_prefetches() 1099 for (ref = groups->refs; ref; ref = ref->next) in nothing_to_prefetch_p() 1117 for (ref = groups->refs; ref; ref = ref->next) in estimate_prefetch_count() 1209 for (ref = groups->refs; ref; ref = ref->next) in issue_prefetches() 1330 for (ref = groups->refs; ref; ref = ref->next) in mark_nontemporal_stores() 1396 for (ref = agp->refs; ref; ref = ref->next) in determine_unroll_factor() 1424 for (ref = gr->refs; ref; ref = ref->next) in volume_of_references() 1633 for (ref = gr->refs; ref; ref = ref->next) in determine_loop_nest_reuse() 1637 ref->mem, ref->stmt, !ref->write_p, false); in determine_loop_nest_reuse() [all …]
|
H A D | tree-ssa-dse.c | 128 valid_ao_ref_for_dse (ao_ref *ref) in valid_ao_ref_for_dse() argument 130 return (ao_ref_base (ref) in valid_ao_ref_for_dse() 131 && known_size_p (ref->max_size) in valid_ao_ref_for_dse() 132 && maybe_ne (ref->size, 0) in valid_ao_ref_for_dse() 133 && known_eq (ref->max_size, ref->size) in valid_ao_ref_for_dse() 134 && known_ge (ref->offset, 0) in valid_ao_ref_for_dse() 158 copy->offset = ref->offset; in normalize_ref() 162 if (maybe_le (ref->size, diff)) in normalize_ref() 210 if (valid_ao_ref_for_dse (ref) in setup_live_bytes_from_ref() 609 && use_ref.base == ref->base in dse_classify_store() [all …]
|
H A D | tree-ssa-alias.c | 622 r->ref = ref; in ao_ref_init() 629 r->volatile_p = ref ? TREE_THIS_VOLATILE (ref) : false; in ao_ref_init() 641 ref->base = get_ref_base_and_extent (ref->ref, &ref->offset, &ref->size, in ao_ref_base() 654 if (!ref->ref) in ao_ref_base_alias_set() 656 base_ref = ref->ref; in ao_ref_base_alias_set() 670 ref->ref_alias_set = get_alias_set (ref->ref); in ao_ref_alias_set() 683 ref->ref = NULL_TREE; in ao_ref_init_from_ptr_and_size() 723 ref->max_size = ref->size = -1; in ao_ref_init_from_ptr_and_size() 2385 if (ref->ref) in stmt_kills_ref_p() 2387 tree base = ref->ref; in stmt_kills_ref_p() [all …]
|
H A D | tree-ssa-loop-im.c | 733 if (ref in determine_max_movement() 1373 return ref; in mem_ref_alloc() 1472 init_lim_data (stmt)->ref = ref->id; in gather_mem_refs_stmt() 1979 print_generic_expr (dump_file, ref->mem.ref); in execute_sm() 1983 tmp_var = create_tmp_reg (TREE_TYPE (ref->mem.ref), in execute_sm() 1984 get_lsm_tmp_name (ref->mem.ref, ~0)); in execute_sm() 2245 if (!is_gimple_reg_type (TREE_TYPE (ref->mem.ref)) in can_sm_ref_p() 2246 || TREE_THIS_VOLATILE (ref->mem.ref) in can_sm_ref_p() 2251 if (tree_could_throw_p (ref->mem.ref)) in can_sm_ref_p() 2258 base = get_base_address (ref->mem.ref); in can_sm_ref_p() [all …]
|
H A D | tree-predcom.c | 392 if (ref->ref) in dump_dref() 397 DR_IS_READ (ref->ref) ? "" : ", write"); in dump_dref() 546 dref ref; in release_chain() local 1102 if (DR_IS_WRITE (ref->ref)) in add_ref_to_chain() 1175 if (!ref->ref || DR_IS_READ (ref->ref)) in name_for_ref() 1245 if (DR_IS_READ (ref->ref)) in find_looparound_phi() 1603 ref = TREE_OPERAND (ref, 0); 1674 ref = DR_REF (root->ref); in initialize_root_vars() 1812 ref = DR_REF (get_chain_root (chain)->ref); in initialize_root_vars_store_elim_2() 1920 tree ref = DR_REF (root->ref), init, var, next; in initialize_root_vars_lm() local [all …]
|
H A D | web.c | 106 df_ref ref, dupref; in union_match_dups() local 134 for (; ref; ref = DF_REF_NEXT_LOC (ref)) in union_match_dups() 136 rtx *l = DF_REF_LOC (ref); in union_match_dups() 143 if (!ref && type == OP_INOUT) in union_match_dups() 146 for (ref = use_link; ref; ref = DF_REF_NEXT_LOC (ref)) in union_match_dups() 148 rtx *l = DF_REF_LOC (ref); in union_match_dups() 156 gcc_assert (ref); in union_match_dups() 259 reg = DF_REF_REAL_REG (ref); in entry_register() 287 replace_ref (df_ref ref, rtx reg) in replace_ref() argument 289 rtx oldreg = DF_REF_REAL_REG (ref); in replace_ref() [all …]
|
H A D | symtab.c | 317 ipa_ref *ref; in change_decl_assembler_name() local 616 return ref; in create_reference() 660 ref2 = create_reference (ref->referred, ref->use, ref->stmt); in clone_references() 678 ref2 = ref->referring->create_reference (this, ref->use, ref->stmt); in clone_referring() 693 ref2 = create_reference (ref->referred, ref->use, stmt); in clone_reference() 1290 ipa_ref *ref; in make_decl_local() local 1340 ipa_ref *ref; in copy_visibility_from() local 1718 ipa_ref *ref; in resolve_alias() local 2094 ipa_ref *ref; in call_for_symbol_and_aliases_1() local 2278 if (ref) in binds_to_current_def_p() [all …]
|
H A D | lto-cgraph.c | 109 int ref; in lto_symtab_encoder_encode() local 117 return ref; in lto_symtab_encoder_encode() 130 ref = *slot - 1; in lto_symtab_encoder_encode() 132 return ref; in lto_symtab_encoder_encode() 240 intptr_t ref; in lto_output_edge() local 391 intptr_t ref; in lto_output_node() local 478 ref = LCC_NOT_FOUND; in lto_output_node() 500 ref = LCC_NOT_FOUND; in lto_output_node() 585 int ref; in lto_output_varpool_node() local 691 if (ref->stmt) in lto_output_ref() [all …]
|
/dragonfly/sys/vfs/hammer2/ |
H A D | hammer2_lz4_encoder.h | 126 BYTE* ref; in LZ4_compress_heap_limitedOutput() local 144 } while ((ref < ip - MAX_DISTANCE) || (A32(ref) != A32(ip))); in LZ4_compress_heap_limitedOutput() 149 ref--; in LZ4_compress_heap_limitedOutput() 184 ref+=STEPSIZE; in LZ4_compress_heap_limitedOutput() 192 ref+=4; in LZ4_compress_heap_limitedOutput() 196 ref+=2; in LZ4_compress_heap_limitedOutput() 236 if ((ref >= ip - MAX_DISTANCE) && (A32(ref) == A32(ip))) { in LZ4_compress_heap_limitedOutput() 311 BYTE* ref; in LZ4_compress64k_heap_limitedOutput() local 334 ref--; in LZ4_compress64k_heap_limitedOutput() 377 ref+=4; in LZ4_compress64k_heap_limitedOutput() [all …]
|
H A D | hammer2_lz4.c | 390 BYTE* ref; 478 if unlikely((op-ref)<STEPSIZE) 485 op[0] = ref[0]; 486 op[1] = ref[1]; 487 op[2] = ref[2]; 488 op[3] = ref[3]; 489 op += 4, ref += 4; ref -= dec32table[op-ref]; 490 A32(op) = A32(ref); 492 } else { LZ4_COPYSTEP(ref,op); } 500 while(op<cpy) *op++=*ref++; [all …]
|
/dragonfly/usr.sbin/makefs/hammer2/ |
H A D | hammer2_lz4_encoder.h | 126 BYTE* ref; in LZ4_compress_heap_limitedOutput() local 144 } while ((ref < ip - MAX_DISTANCE) || (A32(ref) != A32(ip))); in LZ4_compress_heap_limitedOutput() 149 ref--; in LZ4_compress_heap_limitedOutput() 184 ref+=STEPSIZE; in LZ4_compress_heap_limitedOutput() 192 ref+=4; in LZ4_compress_heap_limitedOutput() 196 ref+=2; in LZ4_compress_heap_limitedOutput() 236 if ((ref >= ip - MAX_DISTANCE) && (A32(ref) == A32(ip))) { in LZ4_compress_heap_limitedOutput() 311 BYTE* ref; in LZ4_compress64k_heap_limitedOutput() local 334 ref--; in LZ4_compress64k_heap_limitedOutput() 377 ref+=4; in LZ4_compress64k_heap_limitedOutput() [all …]
|
H A D | hammer2_lz4.c | 392 BYTE* ref; 480 if unlikely((op-ref)<STEPSIZE) 487 op[0] = ref[0]; 488 op[1] = ref[1]; 489 op[2] = ref[2]; 490 op[3] = ref[3]; 491 op += 4, ref += 4; ref -= dec32table[op-ref]; 492 A32(op) = A32(ref); 494 } else { LZ4_COPYSTEP(ref,op); } 502 while(op<cpy) *op++=*ref++; [all …]
|
/dragonfly/sbin/hammer2/lz4/ |
H A D | hammer2_lz4_encoder.h | 126 BYTE* ref; in LZ4_compress_heap_limitedOutput() local 144 } while ((ref < ip - MAX_DISTANCE) || (A32(ref) != A32(ip))); in LZ4_compress_heap_limitedOutput() 149 ref--; in LZ4_compress_heap_limitedOutput() 184 ref+=STEPSIZE; in LZ4_compress_heap_limitedOutput() 192 ref+=4; in LZ4_compress_heap_limitedOutput() 196 ref+=2; in LZ4_compress_heap_limitedOutput() 236 if ((ref >= ip - MAX_DISTANCE) && (A32(ref) == A32(ip))) { in LZ4_compress_heap_limitedOutput() 311 BYTE* ref; in LZ4_compress64k_heap_limitedOutput() local 334 ref--; in LZ4_compress64k_heap_limitedOutput() 377 ref+=4; in LZ4_compress64k_heap_limitedOutput() [all …]
|
/dragonfly/sys/kern/ |
H A D | lwkt_token.c | 119 KTR_LOG(tokens_ ## name, ref, ref->tr_tok, curthread) 233 ref->tr_tok = tok; in _lwkt_tokref_init() 235 ref->tr_owner = td; in _lwkt_tokref_init() 256 tok = ref->tr_tok; in _lwkt_trytokref() 440 tok = ref->tr_tok; in _lwkt_reltokref() 658 lwkt_tokref_t ref; in lwkt_gettoken() local 729 lwkt_tokref_t ref; in lwkt_gettoken_shared() local 795 lwkt_tokref_t ref; in lwkt_trytoken() local 835 lwkt_tokref_t ref; in lwkt_reltoken() local 842 if (__predict_false(ref < &td->td_toks_base || ref->tr_tok != tok)) { in lwkt_reltoken() [all …]
|
/dragonfly/usr.bin/localedef/ |
H A D | collate.c | 158 int32_t ref; member 283 get_pri(int32_t ref) in get_pri() argument 285 if ((ref < 0) || (ref > numpri)) { in get_pri() 297 pri = get_pri(ref); in set_pri() 596 int32_t ref; in end_order() local 611 set_pri(currchar->ref[i], ref, REFER); in end_order() 641 set_pri(currelem->ref[i], ref, REFER); in end_order() 668 set_pri(currundef->ref[i], ref, REFER); in end_order() 717 int32_t ref; in start_order_char() local 753 set_pri(cc->ref[i], ref, REFER); in start_order_char() [all …]
|
/dragonfly/sys/dev/drm/ |
H A D | drm_global.c | 82 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_ref() 86 ref->object = kzalloc(ref->size, GFP_KERNEL); in drm_global_item_ref() 87 if (unlikely(ref->object == NULL)) { in drm_global_item_ref() 91 ret = ref->init(ref); in drm_global_item_ref() 95 item->object = ref->object; in drm_global_item_ref() 97 ref->object = item->object; in drm_global_item_ref() 105 kfree(ref->object); in drm_global_item_ref() 106 ref->object = NULL; in drm_global_item_ref() 126 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_unref() 130 BUG_ON(ref->object != item->object); in drm_global_item_unref() [all …]
|
/dragonfly/sys/dev/drm/ttm/ |
H A D | ttm_object.c | 289 struct ttm_ref_object *ref; in ttm_ref_object_exists() local 326 struct ttm_ref_object *ref; in ttm_ref_object_add() local 361 ref = kmalloc(sizeof(*ref), M_DRM, GFP_KERNEL); in ttm_ref_object_add() 368 ref->obj = base; in ttm_ref_object_add() 369 ref->tfile = tfile; in ttm_ref_object_add() 370 ref->ref_type = ref_type; in ttm_ref_object_add() 371 kref_init(&ref->kref); in ttm_ref_object_add() 389 kfree(ref); in ttm_ref_object_add() 407 list_del(&ref->head); in ttm_ref_object_release() 415 kfree_rcu(ref, rcu_head); in ttm_ref_object_release() [all …]
|