Searched refs:stmt (Results 1 – 7 of 7) sorted by relevance
332 static inline gasm *as_a_gasm(gimple stmt) in as_a_gasm() argument334 return as_a<gasm *>(stmt); in as_a_gasm()337 static inline const gasm *as_a_const_gasm(const_gimple stmt) in as_a_const_gasm() argument339 return as_a<const gasm *>(stmt); in as_a_const_gasm()342 static inline gassign *as_a_gassign(gimple stmt) in as_a_gassign() argument344 return as_a<gassign *>(stmt); in as_a_gassign()347 static inline const gassign *as_a_const_gassign(const_gimple stmt) in as_a_const_gassign() argument349 return as_a<const gassign *>(stmt); in as_a_const_gassign()352 static inline gcall *as_a_gcall(gimple stmt) in as_a_gcall() argument354 return as_a<gcall *>(stmt); in as_a_gcall()[all …]
56 gimple stmt; in add_stack_tracking_gcall() local62 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() argument80 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() local194 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()
43 const_gimple stmt; in sancov_execute() local50 stmt = gsi_stmt(gsi); in sancov_execute()52 gimple_set_location(gcall, gimple_location(stmt)); in sancov_execute()
129 gimple stmt = gsi_stmt(gsi); in initialize() local133 if (!gimple_assign_single_p(stmt)) in initialize()135 rhs1 = gimple_assign_rhs1(stmt); in initialize()140 if (gimple_get_lhs(stmt) != var) in initialize()
737 gimple stmt; in find_bad_casts_execute() local748 stmt = gsi_stmt(gsi); in find_bad_casts_execute()752 debug_gimple_stmt(stmt); in find_bad_casts_execute()753 debug_tree(gimple_get_lhs(stmt)); in find_bad_casts_execute()757 if (gimple_code(stmt) != GIMPLE_ASSIGN) in find_bad_casts_execute()762 debug_tree(gimple_assign_rhs1(stmt)); in find_bad_casts_execute()767 rhs_code = gimple_assign_rhs_code(stmt); in find_bad_casts_execute()772 lhs = gimple_get_lhs(stmt); in find_bad_casts_execute()774 rhs1 = gimple_assign_rhs1(stmt); in find_bad_casts_execute()797 MISMATCH(gimple_location(stmt), "rhs", ptr_lhs_type, ptr_rhs_type); in find_bad_casts_execute()[all …]
389 gimple stmt = gsi_stmt(gsi); in handle_tail_calls() local391 if (!is_gimple_call(stmt)) in handle_tail_calls()394 call = as_a_gcall(stmt); in handle_tail_calls()
1805 my ($stmt) = @_;1808 $stmt =~ s/(^|\n)./$1/g;1809 $stmt =~ s/^\s*//;1810 $stmt =~ s/\s*$//;1812 my @stmt_lines = ($stmt =~ /\n/g);1818 my ($stmt) = @_;1820 my @stmt_lines = ($stmt =~ /\n/g);1826 my ($stmt) = @_;1828 $stmt =~ s/(^|\n)./$1/g;1829 $stmt =~ s/^\s*{//;[all …]