Lines Matching refs:newtree
192 static void performance_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in performance_shuffle() argument
199 partition_struct(newtree, length, (struct partition_group *)&size_group, &num_groups); in performance_shuffle()
211 if (DECL_BIT_FIELD_TYPE(newtree[i])) in performance_shuffle()
215 if (DECL_BIT_FIELD_TYPE(newtree[randnum])) in performance_shuffle()
217 tmp = newtree[i]; in performance_shuffle()
218 newtree[i] = newtree[randnum]; in performance_shuffle()
219 newtree[randnum] = tmp; in performance_shuffle()
224 static void full_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in full_shuffle() argument
231 tmp = newtree[i]; in full_shuffle()
232 newtree[i] = newtree[randnum]; in full_shuffle()
233 newtree[randnum] = tmp; in full_shuffle()
238 static void shuffle(const_tree type, tree *newtree, unsigned long length) in shuffle() argument
267 performance_shuffle(newtree, length, &prng_state); in shuffle()
269 full_shuffle(newtree, length, &prng_state); in shuffle()
307 tree newtree[num_fields]; in relayout_struct() local
342 newtree[i] = field; in relayout_struct()
350 if (is_flexible_array(newtree[num_fields - 1])) { in relayout_struct()
355 shuffle(type, (tree *)newtree, shuffle_length); in relayout_struct()
362 TREE_CHAIN(list) = newtree[0]; in relayout_struct()
374 TREE_CHAIN(newtree[i]) = newtree[i+1]; in relayout_struct()
375 TREE_CHAIN(newtree[num_fields - 1]) = NULL_TREE; in relayout_struct()