Home
last modified time | relevance | path

Searched refs:decl (Results 1 – 4 of 4) sorted by relevance

/scripts/gcc-plugins/
Dgcc-common.h225 static inline bool is_simple_builtin(tree decl) in is_simple_builtin() argument
227 if (decl && DECL_BUILT_IN_CLASS(decl) != BUILT_IN_NORMAL) in is_simple_builtin()
230 switch (DECL_FUNCTION_CODE(decl)) { in is_simple_builtin()
308 static inline struct cgraph_node *cgraph_create_node(tree decl) in cgraph_create_node() argument
310 return cgraph_node(decl); in cgraph_create_node()
313 static inline struct cgraph_node *cgraph_get_create_node(tree decl) in cgraph_get_create_node() argument
315 struct cgraph_node *node = cgraph_get_node(decl); in cgraph_get_create_node()
317 return node ? node : cgraph_node(decl); in cgraph_get_create_node()
363 static inline void varpool_add_new_variable(tree decl) in varpool_add_new_variable() argument
365 varpool_finalize_decl(decl); in varpool_add_new_variable()
[all …]
Drandomize_layout_plugin.c488 static void update_decl_size(tree decl) in update_decl_size() argument
493 type = TREE_TYPE(decl); in update_decl_size()
498 init = DECL_INITIAL(decl); in update_decl_size()
512 for (field = TYPE_FIELDS(TREE_TYPE(decl)); TREE_CHAIN(field); field = TREE_CHAIN(field)) in update_decl_size()
527 DECL_SIZE(decl) = size_binop(PLUS_EXPR, TYPE_SIZE(type), flexsize); in update_decl_size()
535 tree decl = (tree)event_data; in randomize_layout_finish_decl() local
538 if (decl == NULL_TREE || decl == error_mark_node) in randomize_layout_finish_decl()
541 type = TREE_TYPE(decl); in randomize_layout_finish_decl()
543 if (TREE_CODE(decl) != VAR_DECL) in randomize_layout_finish_decl()
552 DECL_SIZE(decl) = 0; in randomize_layout_finish_decl()
[all …]
/scripts/genksyms/
Dparse.y140 struct string_list *decl = (*$3)->next; variable
144 decl, is_extern);
158 { struct string_list *decl = *$1; variable
161 is_typedef ? SYM_TYPEDEF : SYM_NORMAL, decl, is_extern);
166 { struct string_list *decl = *$3; variable
171 is_typedef ? SYM_TYPEDEF : SYM_NORMAL, decl, is_extern);
395 { struct string_list *decl = *$2; variable
397 add_symbol(current_name, SYM_NORMAL, decl, is_extern);
/scripts/
Dcheckpatch.pl4509 my $decl = trim($sign) . " int ";
4512 $decl .= $comp_pointer;
4513 $decl = rtrim($decl) if ($var eq "");
4514 $fixed[$fixlinenr] =~ s@\b$sign\s*\Q$pointer\E\s*$var\b@$decl$var@;