Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dipa-ref.c43 struct ipa_ref *ref; in ipa_record_reference() local
56 ref = VEC_last (ipa_ref_t, list->references); in ipa_record_reference()
60 VEC_safe_push (ipa_ref_ptr, heap, list2->refering, ref); in ipa_record_reference()
61 ref->refered_index = VEC_length (ipa_ref_ptr, list2->refering) - 1; in ipa_record_reference()
64 ref->refering.cgraph_node = refering_node; in ipa_record_reference()
65 ref->refering_type = IPA_REF_CGRAPH; in ipa_record_reference()
69 ref->refering.varpool_node = refering_varpool_node; in ipa_record_reference()
70 ref->refering_type = IPA_REF_VARPOOL; in ipa_record_reference()
75 ref->refered.cgraph_node = refered_node; in ipa_record_reference()
76 ref->refered_type = IPA_REF_CGRAPH; in ipa_record_reference()
[all …]
H A Dtree-ssa-loop-prefetch.c287 dump_mem_ref (FILE *file, struct mem_ref *ref) in dump_mem_ref() argument
289 fprintf (file, "Reference %p:\n", (void *) ref); in dump_mem_ref()
291 fprintf (file, " group %p (base ", (void *) ref->group); in dump_mem_ref()
292 print_generic_expr (file, ref->group->base, TDF_SLIM); in dump_mem_ref()
294 if (cst_and_fits_in_hwi (ref->group->step)) in dump_mem_ref()
295 fprintf (file, HOST_WIDE_INT_PRINT_DEC, int_cst_value (ref->group->step)); in dump_mem_ref()
297 print_generic_expr (file, ref->group->step, TDF_TREE); in dump_mem_ref()
301 fprintf (file, HOST_WIDE_INT_PRINT_DEC, ref->delta); in dump_mem_ref()
304 fprintf (file, " %s\n", ref->write_p ? "write" : "read"); in dump_mem_ref()
391 struct mem_ref *ref, *next_r; in release_mem_refs() local
[all …]
H A Dtree-ssa-alias.c318 ptr_deref_may_alias_ref_p_1 (tree ptr, ao_ref *ref) in ptr_deref_may_alias_ref_p_1() argument
320 tree base = ao_ref_base (ref); in ptr_deref_may_alias_ref_p_1()
446 ao_ref_init (ao_ref *r, tree ref) in ao_ref_init() argument
448 r->ref = ref; in ao_ref_init()
455 r->volatile_p = ref ? TREE_THIS_VOLATILE (ref) : false; in ao_ref_init()
461 ao_ref_base (ao_ref *ref) in ao_ref_base() argument
463 if (ref->base) in ao_ref_base()
464 return ref->base; in ao_ref_base()
465 ref->base = get_ref_base_and_extent (ref->ref, &ref->offset, &ref->size, in ao_ref_base()
466 &ref->max_size); in ao_ref_base()
[all …]
H A Dipa-ref-inline.h24 ipa_ref_node (struct ipa_ref *ref) in ipa_ref_node() argument
26 gcc_assert (ref->refered_type == IPA_REF_CGRAPH); in ipa_ref_node()
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
35 gcc_assert (ref->refered_type == IPA_REF_VARPOOL); in ipa_ref_varpool_node()
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
44 gcc_assert (ref->refering_type == IPA_REF_CGRAPH); in ipa_ref_refering_node()
45 return ref->refering.cgraph_node; in ipa_ref_refering_node()
51 ipa_ref_refering_varpool_node (struct ipa_ref *ref) in ipa_ref_refering_varpool_node() argument
[all …]
H A Dtree-ssa-loop-im.c108 tree *ref; /* The reference itself. */ member
615 outermost_indep_loop (struct loop *outer, struct loop *loop, mem_ref_p ref) in outermost_indep_loop() argument
619 if (bitmap_bit_p (ref->stored, loop->num)) in outermost_indep_loop()
625 if (!bitmap_bit_p (ref->stored, aloop->num) in outermost_indep_loop()
626 && ref_indep_loop_p (aloop, ref)) in outermost_indep_loop()
629 if (ref_indep_loop_p (loop, ref)) in outermost_indep_loop()
681 mem_ref_p ref; in mem_ref_in_stmt() local
688 ref = (mem_ref_p) htab_find_with_hash (memory_accesses.refs, *mem, hash); in mem_ref_in_stmt()
690 gcc_assert (ref != NULL); in mem_ref_in_stmt()
691 return ref; in mem_ref_in_stmt()
[all …]
H A Dtree-predcom.c218 struct data_reference *ref; member
343 dump_dref (FILE *file, dref ref) in dump_dref() argument
345 if (ref->ref) in dump_dref()
348 print_generic_expr (file, DR_REF (ref->ref), TDF_SLIM); in dump_dref()
349 fprintf (file, " (id %u%s)\n", ref->pos, in dump_dref()
350 DR_IS_READ (ref->ref) ? "" : ", write"); in dump_dref()
353 dump_double_int (file, ref->offset, false); in dump_dref()
356 fprintf (file, " distance %u\n", ref->distance); in dump_dref()
360 if (gimple_code (ref->stmt) == GIMPLE_PHI) in dump_dref()
365 print_gimple_stmt (file, ref->stmt, 0, TDF_SLIM); in dump_dref()
[all …]
H A Dlto-cgraph.c109 int ref; in lto_cgraph_encoder_encode() local
115 ref = VEC_length (cgraph_node_ptr, encoder->nodes); in lto_cgraph_encoder_encode()
117 *slot = (void *) (intptr_t) ref; in lto_cgraph_encoder_encode()
121 ref = (int) (intptr_t) *slot; in lto_cgraph_encoder_encode()
123 return ref; in lto_cgraph_encoder_encode()
143 lto_cgraph_encoder_deref (lto_cgraph_encoder_t encoder, int ref) in lto_cgraph_encoder_deref() argument
145 if (ref == LCC_NOT_FOUND) in lto_cgraph_encoder_deref()
148 return VEC_index (cgraph_node_ptr, encoder->nodes, ref); in lto_cgraph_encoder_deref()
203 int ref; in lto_varpool_encoder_encode() local
209 ref = VEC_length (varpool_node_ptr, encoder->nodes); in lto_varpool_encoder_encode()
[all …]
H A Ddf-scan.c725 df_install_ref_incremental (df_ref ref) in df_install_ref_incremental() argument
734 rtx insn = DF_REF_INSN (ref); in df_install_ref_incremental()
737 if (DF_REF_REG_DEF_P (ref)) in df_install_ref_incremental()
744 else if (DF_REF_FLAGS (ref) & DF_REF_IN_NOTE) in df_install_ref_incremental()
773 df_install_ref (ref, reg_info[DF_REF_REGNO (ref)], ref_info, add_to_table); in df_install_ref_incremental()
800 ref_rec[count] = ref; in df_install_ref_incremental()
807 ref_rec[0] = ref; in df_install_ref_incremental()
816 df_ref_debug (ref, dump_file); in df_install_ref_incremental()
822 if (!DEBUG_INSN_P (DF_REF_INSN (ref))) in df_install_ref_incremental()
833 df_free_ref (df_ref ref) in df_free_ref() argument
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dtree-ssa-loop-prefetch.c303 dump_mem_ref (FILE *file, struct mem_ref *ref) in dump_mem_ref() argument
305 fprintf (file, "reference %u:%u (", ref->group->uid, ref->uid); in dump_mem_ref()
306 print_generic_expr (file, ref->mem, TDF_SLIM); in dump_mem_ref()
406 struct mem_ref *ref, *next_r; in release_mem_refs() local
411 for (ref = groups->refs; ref; ref = next_r) in release_mem_refs()
413 next_r = ref->next; in release_mem_refs()
414 free (ref); in release_mem_refs()
496 tree ref = *ref_p; in analyze_ref() local
504 if (TREE_CODE (ref) == REALPART_EXPR in analyze_ref()
505 || TREE_CODE (ref) == IMAGPART_EXPR in analyze_ref()
[all …]
H A Dtree-ssa-dse.c128 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()
135 && multiple_p (ref->offset, BITS_PER_UNIT) in valid_ao_ref_for_dse()
136 && multiple_p (ref->size, BITS_PER_UNIT)); in valid_ao_ref_for_dse()
144 normalize_ref (ao_ref *copy, ao_ref *ref) in normalize_ref() argument
146 if (!ordered_p (copy->offset, ref->offset)) in normalize_ref()
[all …]
H A Dtree-ssa-alias.c311 ptr_deref_may_alias_ref_p_1 (tree ptr, ao_ref *ref) in ptr_deref_may_alias_ref_p_1() argument
313 tree base = ao_ref_base (ref); in ptr_deref_may_alias_ref_p_1()
413 ref_may_alias_global_p (ao_ref *ref) in ref_may_alias_global_p() argument
415 tree base = ao_ref_base (ref); in ref_may_alias_global_p()
420 ref_may_alias_global_p (tree ref) in ref_may_alias_global_p() argument
422 tree base = get_base_address (ref); in ref_may_alias_global_p()
575 debug (pt_solution &ref) in debug() argument
577 dump_points_to_solution (stderr, &ref); in debug()
620 ao_ref_init (ao_ref *r, tree ref) in ao_ref_init() argument
622 r->ref = ref; in ao_ref_init()
[all …]
H A Dtree-ssa-loop-im.c89 unsigned ref; /* The simple_mem_ref in this stmt or 0. */ member
106 tree *ref; /* The reference itself. */ member
171 return operand_equal_p (mem1->mem.ref, (const_tree) obj2, 0); in equal()
540 outermost_indep_loop (struct loop *outer, struct loop *loop, im_mem_ref *ref) in outermost_indep_loop() argument
544 if (ref->stored && bitmap_bit_p (ref->stored, loop->num)) in outermost_indep_loop()
550 if ((!ref->stored || !bitmap_bit_p (ref->stored, aloop->num)) in outermost_indep_loop()
551 && ref_indep_loop_p (aloop, ref)) in outermost_indep_loop()
554 if (ref_indep_loop_p (loop, ref)) in outermost_indep_loop()
731 im_mem_ref *ref in determine_max_movement() local
732 = lim_data ? memory_accesses.refs_list[lim_data->ref] : NULL; in determine_max_movement()
[all …]
H A Dtree-predcom.c249 struct data_reference *ref; member
390 dump_dref (FILE *file, dref ref) in dump_dref() argument
392 if (ref->ref) in dump_dref()
395 print_generic_expr (file, DR_REF (ref->ref), TDF_SLIM); in dump_dref()
396 fprintf (file, " (id %u%s)\n", ref->pos, in dump_dref()
397 DR_IS_READ (ref->ref) ? "" : ", write"); in dump_dref()
400 print_decs (ref->offset, file); in dump_dref()
403 fprintf (file, " distance %u\n", ref->distance); in dump_dref()
407 if (gimple_code (ref->stmt) == GIMPLE_PHI) in dump_dref()
412 print_gimple_stmt (file, ref->stmt, 0, TDF_SLIM); in dump_dref()
[all …]
H A Dweb.c106 df_ref ref, dupref; in union_match_dups() local
132 ref = type == OP_IN ? use_link : def_link; in union_match_dups()
134 for (; ref; ref = DF_REF_NEXT_LOC (ref)) in union_match_dups()
136 rtx *l = DF_REF_LOC (ref); in union_match_dups()
139 if (l && DF_REF_REAL_LOC (ref) == recog_data.operand_loc[op]) 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()
151 if (l && DF_REF_REAL_LOC (ref) == recog_data.operand_loc[op]) in union_match_dups()
156 gcc_assert (ref); in union_match_dups()
[all …]
H A Dsymtab.c317 ipa_ref *ref; in change_decl_assembler_name() local
318 for (unsigned i = 0; node->iterate_direct_aliases (i, ref); i++) in change_decl_assembler_name()
320 struct symtab_node *alias = ref->referring; in change_decl_assembler_name()
573 ipa_ref *ref = NULL, *ref2 = NULL; in create_reference() local
583 ref = &list->references->last (); in create_reference()
590 list2->referring.safe_insert (0, ref); in create_reference()
591 ref->referred_index = 0; in create_reference()
598 list2->referring.safe_push (ref); in create_reference()
599 ref->referred_index = list2->referring.length () - 1; in create_reference()
602 ref->referring = this; in create_reference()
[all …]
H A Dlto-cgraph.c109 int ref; in lto_symtab_encoder_encode() local
115 ref = encoder->nodes.length (); in lto_symtab_encoder_encode()
117 return ref; in lto_symtab_encoder_encode()
124 ref = encoder->nodes.length (); in lto_symtab_encoder_encode()
126 encoder->map->put (node, ref + 1); 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
250 ref = lto_symtab_encoder_lookup (encoder, edge->caller); in lto_output_edge()
251 gcc_assert (ref != LCC_NOT_FOUND); in lto_output_edge()
[all …]
/dflybsd-src/sys/vfs/hammer2/
H A Dhammer2_lz4_encoder.h126 BYTE* ref; in LZ4_compress_heap_limitedOutput() local
141 ref = base + HashTable[h]; in LZ4_compress_heap_limitedOutput()
144 } while ((ref < ip - MAX_DISTANCE) || (A32(ref) != A32(ip))); in LZ4_compress_heap_limitedOutput()
147 while ((ip>anchor) && (ref>(BYTE*)source) && unlikely(ip[-1]==ref[-1])) { in LZ4_compress_heap_limitedOutput()
149 ref--; in LZ4_compress_heap_limitedOutput()
174 LZ4_WRITE_LITTLEENDIAN_16(op,(U16)(ip-ref)); in LZ4_compress_heap_limitedOutput()
177 ip+=MINMATCH; ref+=MINMATCH; // MinMatch already verified in LZ4_compress_heap_limitedOutput()
181 UARCH diff = AARCH(ref) ^ AARCH(ip); in LZ4_compress_heap_limitedOutput()
184 ref+=STEPSIZE; in LZ4_compress_heap_limitedOutput()
190 if (LZ4_ARCH64) if ((ip<(matchlimit-3)) && (A32(ref) == A32(ip))) { in LZ4_compress_heap_limitedOutput()
[all …]
/dflybsd-src/usr.sbin/makefs/hammer2/
H A Dhammer2_lz4_encoder.h126 BYTE* ref; in LZ4_compress_heap_limitedOutput() local
141 ref = base + HashTable[h]; in LZ4_compress_heap_limitedOutput()
144 } while ((ref < ip - MAX_DISTANCE) || (A32(ref) != A32(ip))); in LZ4_compress_heap_limitedOutput()
147 while ((ip>anchor) && (ref>(BYTE*)source) && unlikely(ip[-1]==ref[-1])) { in LZ4_compress_heap_limitedOutput()
149 ref--; in LZ4_compress_heap_limitedOutput()
174 LZ4_WRITE_LITTLEENDIAN_16(op,(U16)(ip-ref)); in LZ4_compress_heap_limitedOutput()
177 ip+=MINMATCH; ref+=MINMATCH; // MinMatch already verified in LZ4_compress_heap_limitedOutput()
181 UARCH diff = AARCH(ref) ^ AARCH(ip); in LZ4_compress_heap_limitedOutput()
184 ref+=STEPSIZE; in LZ4_compress_heap_limitedOutput()
190 if (LZ4_ARCH64) if ((ip<(matchlimit-3)) && (A32(ref) == A32(ip))) { in LZ4_compress_heap_limitedOutput()
[all …]
/dflybsd-src/sbin/hammer2/lz4/
H A Dhammer2_lz4_encoder.h126 BYTE* ref; in LZ4_compress_heap_limitedOutput() local
141 ref = base + HashTable[h]; in LZ4_compress_heap_limitedOutput()
144 } while ((ref < ip - MAX_DISTANCE) || (A32(ref) != A32(ip))); in LZ4_compress_heap_limitedOutput()
147 while ((ip>anchor) && (ref>(BYTE*)source) && unlikely(ip[-1]==ref[-1])) { in LZ4_compress_heap_limitedOutput()
149 ref--; in LZ4_compress_heap_limitedOutput()
174 LZ4_WRITE_LITTLEENDIAN_16(op,(U16)(ip-ref)); in LZ4_compress_heap_limitedOutput()
177 ip+=MINMATCH; ref+=MINMATCH; // MinMatch already verified in LZ4_compress_heap_limitedOutput()
181 UARCH diff = AARCH(ref) ^ AARCH(ip); in LZ4_compress_heap_limitedOutput()
184 ref+=STEPSIZE; in LZ4_compress_heap_limitedOutput()
190 if (LZ4_ARCH64) if ((ip<(matchlimit-3)) && (A32(ref) == A32(ip))) { in LZ4_compress_heap_limitedOutput()
[all …]
H A Dhammer2_lz4.c387 BYTE* ref;
457 LZ4_READ_LITTLEENDIAN_16(ref,cpy,ip); ip+=2;
458 if ((prefix64k==noPrefix) && unlikely(ref < (BYTE*)dest))
475 if unlikely((op-ref)<STEPSIZE)
478 size_t dec64 = dec64table[op-ref];
482 op[0] = ref[0];
483 op[1] = ref[1];
484 op[2] = ref[2];
485 op[3] = ref[3];
486 op += 4, ref += 4; ref -= dec32table[op-ref];
[all …]
/dflybsd-src/sys/kern/
H A Dlwkt_token.c98 #define TOKEN_ARGS lwkt_tokref_t ref, lwkt_token_t tok, struct thread *td
118 #define logtoken(name, ref) \ argument
119 KTR_LOG(tokens_ ## name, ref, ref->tr_tok, curthread)
231 _lwkt_tokref_init(lwkt_tokref_t ref, lwkt_token_t tok, thread_t td, long excl) in _lwkt_tokref_init() argument
233 ref->tr_tok = tok; in _lwkt_tokref_init()
234 ref->tr_count = excl; in _lwkt_tokref_init()
235 ref->tr_owner = td; in _lwkt_tokref_init()
250 _lwkt_trytokref(lwkt_tokref_t ref, thread_t td, long mode) in _lwkt_trytokref() argument
256 tok = ref->tr_tok; in _lwkt_trytokref()
282 tok->t_ref = ref; in _lwkt_trytokref()
[all …]
/dflybsd-src/usr.bin/localedef/
H A Dcollate.c158 int32_t ref; member
168 int32_t ref[COLL_WEIGHTS_MAX]; member
181 int32_t ref[COLL_WEIGHTS_MAX]; member
191 int32_t ref[COLL_WEIGHTS_MAX]; member
203 int32_t ref[COLLATE_STR_LEN]; member
283 get_pri(int32_t ref) in get_pri() argument
285 if ((ref < 0) || (ref > numpri)) { in get_pri()
289 return (&prilist[ref]); in get_pri()
293 set_pri(int32_t ref, int32_t v, res_t res) in set_pri() argument
297 pri = get_pri(ref); in set_pri()
[all …]
/dflybsd-src/sys/dev/drm/
H A Ddrm_global.c79 int drm_global_item_ref(struct drm_global_reference *ref) in drm_global_item_ref() argument
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()
124 void drm_global_item_unref(struct drm_global_reference *ref) in drm_global_item_unref() argument
[all …]
/dflybsd-src/sys/dev/drm/ttm/
H A Dttm_object.c289 struct ttm_ref_object *ref; in ttm_ref_object_exists() local
300 ref = drm_hash_entry(hash, struct ttm_ref_object, hash); in ttm_ref_object_exists()
301 if (unlikely(base != ref->obj)) in ttm_ref_object_exists()
308 if (unlikely(kref_read(&ref->kref) == 0)) in ttm_ref_object_exists()
326 struct ttm_ref_object *ref; in ttm_ref_object_add() local
346 ref = drm_hash_entry(hash, struct ttm_ref_object, hash); in ttm_ref_object_add()
347 if (kref_get_unless_zero(&ref->kref)) { in ttm_ref_object_add()
357 ret = ttm_mem_global_alloc(mem_glob, sizeof(*ref), in ttm_ref_object_add()
361 ref = kmalloc(sizeof(*ref), M_DRM, GFP_KERNEL); in ttm_ref_object_add()
362 if (unlikely(ref == NULL)) { in ttm_ref_object_add()
[all …]
/dflybsd-src/crypto/openssh/
H A Ded25519.sh58 */crypto_verify/32/ref/verify.c)
64 */crypto_sign/ed25519/ref/sign.c)
68 */crypto_sign/ed25519/ref/keypair.c)
72 */crypto_sign/ed25519/ref/open.c)
76 */crypto_sign/ed25519/ref/fe25519.*)
82 */crypto_sign/ed25519/ref/sc25519.h)
94 */crypto_sign/ed25519/ref/sc25519.c)
110 */crypto_sign/ed25519/ref//ge25519.*)

12345678910>>...18