Lines Matching refs:tree
76 static tree handle_randomize_layout_attr(tree *node, tree name, tree args, int flags, bool *no_add_… in handle_randomize_layout_attr()
78 tree type; in handle_randomize_layout_attr()
119 static tree handle_randomize_considered_attr(tree *node, tree name, tree args, int flags, bool *no_… in handle_randomize_considered_attr()
129 static tree handle_randomize_performed_attr(tree *node, tree name, tree args, int flags, bool *no_a… in handle_randomize_performed_attr()
169 tree tree_start;
174 static void partition_struct(tree *fields, unsigned long length, struct partition_group *size_group… in partition_struct()
210 static void performance_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in performance_shuffle()
230 tree tmp; in performance_shuffle()
247 static void full_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in full_shuffle()
252 tree tmp; in full_shuffle()
261 static void shuffle(const_tree type, tree *newtree, unsigned long length) in shuffle()
278 debug_tree((tree)type); in shuffle()
325 static int relayout_struct(tree type) in relayout_struct()
329 tree field; in relayout_struct()
330 tree newtree[num_fields]; in relayout_struct()
332 tree list; in relayout_struct()
333 tree variant; in relayout_struct()
334 tree main_variant; in relayout_struct()
378 shuffle(type, (tree *)newtree, shuffle_length); in relayout_struct()
464 static void randomize_type(tree type) in randomize_type()
466 tree variant; in randomize_type()
488 static void update_decl_size(tree decl) in update_decl_size()
490 tree lastval, lastidx, field, init, type, flexsize; in update_decl_size()
535 tree decl = (tree)event_data; in randomize_layout_finish_decl()
536 tree type; in randomize_layout_finish_decl()
563 tree type = (tree)event_data; in finish_type()
619 static void check_bad_casts_in_constructor(tree var, tree init) in check_bad_casts_in_constructor()
622 tree field, val; in check_bad_casts_in_constructor()
623 tree field_type, val_type; in check_bad_casts_in_constructor()
664 tree init; in check_global_variables()
667 tree var = NODE_DECL(node); in check_global_variables()
737 tree var; in handle_local_var_initializers()
741 tree init = DECL_INITIAL(var); in handle_local_var_initializers()