Home
last modified time | relevance | path

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

/Linux-v5.15/scripts/gcc-plugins/
Dgcc-common.h193 static inline gasm *as_a_gasm(gimple stmt) in as_a_gasm() argument
195 return as_a<gasm>(stmt); in as_a_gasm()
198 static inline const gasm *as_a_const_gasm(const_gimple stmt) in as_a_const_gasm() argument
200 return as_a<const gasm>(stmt); in as_a_const_gasm()
203 static inline gassign *as_a_gassign(gimple stmt) in as_a_gassign() argument
205 return stmt; in as_a_gassign()
208 static inline const gassign *as_a_const_gassign(const_gimple stmt) in as_a_const_gassign() argument
210 return stmt; in as_a_const_gassign()
213 static inline gcall *as_a_gcall(gimple stmt) in as_a_gcall() argument
215 return as_a<gcall>(stmt); in as_a_gcall()
[all …]
Drandomize_layout_plugin.c745 static bool type_name_eq(gimple stmt, const_tree type_tree, const char *wanted_name) in type_name_eq() argument
760 INFORM(gimple_location(stmt), "found non-char INTEGER_TYPE cast comparison: %qT\n", type_tree); in type_name_eq()
770 INFORM(gimple_location(stmt), "found non-void POINTER_TYPE cast comparison %qT\n", type_tree); in type_name_eq()
775 INFORM(gimple_location(stmt), "unhandled cast comparison: %qT\n", type_tree); in type_name_eq()
783 static bool whitelisted_cast(gimple stmt, const_tree lhs_tree, const_tree rhs_tree) in whitelisted_cast() argument
786 expanded_location xloc = expand_location(gimple_location(stmt)); in whitelisted_cast()
792 if (type_name_eq(stmt, lhs_tree, entry->lhs) && type_name_eq(stmt, rhs_tree, entry->rhs)) in whitelisted_cast()
815 gimple stmt; in find_bad_casts_execute() local
826 stmt = gsi_stmt(gsi); in find_bad_casts_execute()
830 debug_gimple_stmt(stmt); in find_bad_casts_execute()
[all …]
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()
Dsancov_plugin.c43 const_gimple stmt; in sancov_execute() local
50 stmt = gsi_stmt(gsi); in sancov_execute()
52 gimple_set_location(gcall, gimple_location(stmt)); in sancov_execute()
Dstructleak_plugin.c131 gimple stmt = gsi_stmt(gsi); in initialize() local
135 if (!gimple_assign_single_p(stmt)) in initialize()
137 rhs1 = gimple_assign_rhs1(stmt); in initialize()
142 if (gimple_get_lhs(stmt) != var) in initialize()
Dlatent_entropy_plugin.c383 gimple stmt = gsi_stmt(gsi); in handle_tail_calls() local
385 if (!is_gimple_call(stmt)) in handle_tail_calls()
388 call = as_a_gcall(stmt); in handle_tail_calls()
/Linux-v5.15/scripts/
Dcheckpatch.pl1741 my ($stmt) = @_;
1744 $stmt =~ s/(^|\n)./$1/g;
1745 $stmt =~ s/^\s*//;
1746 $stmt =~ s/\s*$//;
1748 my @stmt_lines = ($stmt =~ /\n/g);
1754 my ($stmt) = @_;
1756 my @stmt_lines = ($stmt =~ /\n/g);
1762 my ($stmt) = @_;
1764 $stmt =~ s/(^|\n)./$1/g;
1765 $stmt =~ s/^\s*{//;
[all …]
/Linux-v5.15/drivers/usb/musb/
Ddavinci.c126 #define portstate(stmt) stmt argument
Dam35x.c111 #define portstate(stmt) stmt argument
Dda8xx.c113 #define portstate(stmt) stmt argument
/Linux-v5.15/tools/perf/scripts/python/
Dexported-sql-viewer.py183 def QueryExec(query, stmt): argument
184 ret = query.exec_(stmt)
2565 stmt = self.sql.replace("$$last_id$$", str(self.last_id))
2566 QueryExec(self.query, stmt)
3412 stmt = "SELECT id FROM " + self.table_name + " WHERE " + self.match_column + " = '" + value + "'"
3413 ret = query.exec_(stmt)