Home
last modified time | relevance | path

Searched refs:stmt (Results 1 – 5 of 5) sorted by relevance

/scripts/gcc-plugins/
A Dgcc-common.h331 return as_a<gasm *>(stmt); in as_a_gasm()
336 return as_a<const gasm *>(stmt); in as_a_const_gasm()
341 return as_a<gassign *>(stmt); in as_a_gassign()
346 return as_a<const gassign *>(stmt); in as_a_const_gassign()
351 return as_a<gcall *>(stmt); in as_a_gcall()
356 return as_a<const gcall *>(stmt); in as_a_const_gcall()
361 return as_a<ggoto *>(stmt); in as_a_ggoto()
366 return as_a<const ggoto *>(stmt); in as_a_const_ggoto()
371 return as_a<gphi *>(stmt); in as_a_gphi()
376 return as_a<const gphi *>(stmt); in as_a_const_gphi()
[all …]
A Dstackleak_plugin.c56 gimple stmt; in add_stack_tracking_gcall() local
62 stmt = gimple_build_call(track_function_decl, 0); in add_stack_tracking_gcall()
63 gimple_call = as_a_gcall(stmt); in add_stack_tracking_gcall()
78 static bool is_alloca(gimple stmt) in is_alloca() argument
80 if (gimple_call_builtin_p(stmt, BUILT_IN_ALLOCA)) in is_alloca()
83 if (gimple_call_builtin_p(stmt, BUILT_IN_ALLOCA_WITH_ALIGN)) in is_alloca()
192 gimple stmt; in stackleak_instrument_execute() local
194 stmt = gsi_stmt(gsi); in stackleak_instrument_execute()
197 if (is_gimple_call(stmt)) in stackleak_instrument_execute()
200 if (!is_alloca(stmt)) in stackleak_instrument_execute()
A Drandomize_layout_plugin.c717 gimple stmt; in find_bad_casts_execute() local
728 stmt = gsi_stmt(gsi); in find_bad_casts_execute()
732 debug_gimple_stmt(stmt); in find_bad_casts_execute()
733 debug_tree(gimple_get_lhs(stmt)); in find_bad_casts_execute()
737 if (gimple_code(stmt) != GIMPLE_ASSIGN) in find_bad_casts_execute()
742 debug_tree(gimple_assign_rhs1(stmt)); in find_bad_casts_execute()
747 rhs_code = gimple_assign_rhs_code(stmt); in find_bad_casts_execute()
752 lhs = gimple_get_lhs(stmt); in find_bad_casts_execute()
754 rhs1 = gimple_assign_rhs1(stmt); in find_bad_casts_execute()
777 MISMATCH(gimple_location(stmt), "rhs", ptr_lhs_type, ptr_rhs_type); in find_bad_casts_execute()
[all …]
A Dlatent_entropy_plugin.c389 gimple stmt = gsi_stmt(gsi); in handle_tail_calls() local
391 if (!is_gimple_call(stmt)) in handle_tail_calls()
394 call = as_a_gcall(stmt); in handle_tail_calls()
/scripts/
A Dcheckpatch.pl1821 my ($stmt) = @_;
1824 $stmt =~ s/(^|\n)./$1/g;
1825 $stmt =~ s/^\s*//;
1826 $stmt =~ s/\s*$//;
1834 my ($stmt) = @_;
1842 my ($stmt) = @_;
1844 $stmt =~ s/(^|\n)./$1/g;
1845 $stmt =~ s/^\s*{//;
1846 $stmt =~ s/}\s*$//;
1847 $stmt =~ s/^\s*//;
[all …]

Completed in 17 milliseconds