Home
last modified time | relevance | path

Searched refs:stmt (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/scripts/gcc-plugins/
H A Dgcc-common.h129 #include "stmt.h"
213 static inline bool gimple_call_builtin_p(gimple stmt, enum built_in_function code) in gimple_call_builtin_p() argument
217 if (!is_gimple_call(stmt)) in gimple_call_builtin_p()
219 fndecl = gimple_call_fndecl(stmt); in gimple_call_builtin_p()
284 static inline bool gimple_asm_clobbers_memory_p(const_gimple stmt) in gimple_asm_clobbers_memory_p() argument
288 for (i = 0; i < gimple_asm_nclobbers(stmt); i++) { in gimple_asm_clobbers_memory_p()
289 tree op = gimple_asm_clobber_op(stmt, i); in gimple_asm_clobbers_memory_p()
457 #define ipa_remove_stmt_references(cnode, stmt)
468 static inline gasm *as_a_gasm(gimple stmt)
470 return stmt;
871 as_a_gasm(gimple stmt) as_a_gasm() argument
876 as_a_const_gasm(const_gimple stmt) as_a_const_gasm() argument
881 as_a_gassign(gimple stmt) as_a_gassign() argument
886 as_a_const_gassign(const_gimple stmt) as_a_const_gassign() argument
891 as_a_gcall(gimple stmt) as_a_gcall() argument
896 as_a_const_gcall(const_gimple stmt) as_a_const_gcall() argument
901 as_a_ggoto(gimple stmt) as_a_ggoto() argument
906 as_a_const_ggoto(const_gimple stmt) as_a_const_ggoto() argument
911 as_a_gphi(gimple stmt) as_a_gphi() argument
916 as_a_const_gphi(const_gimple stmt) as_a_const_gphi() argument
921 as_a_greturn(gimple stmt) as_a_greturn() argument
926 as_a_const_greturn(const_gimple stmt) as_a_const_greturn() argument
942 ipa_remove_stmt_references(symtab_node *referring_node, gimple stmt) ipa_remove_stmt_references() argument
[all...]
H A Drandomize_layout_plugin.c754 static bool type_name_eq(gimple stmt, const_tree type_tree, const char *wanted_name) in type_name_eq() argument
769 INFORM(gimple_location(stmt), "found non-char INTEGER_TYPE cast comparison: %qT\n", type_tree); in type_name_eq()
779 INFORM(gimple_location(stmt), "found non-void POINTER_TYPE cast comparison %qT\n", type_tree); in type_name_eq()
784 INFORM(gimple_location(stmt), "unhandled cast comparison: %qT\n", type_tree); in type_name_eq()
792 static bool whitelisted_cast(gimple stmt, const_tree lhs_tree, const_tree rhs_tree) in whitelisted_cast() argument
795 expanded_location xloc = expand_location(gimple_location(stmt)); in whitelisted_cast()
801 if (type_name_eq(stmt, lhs_tree, entry->lhs) && type_name_eq(stmt, rhs_tree, entry->rhs)) in whitelisted_cast()
824 gimple stmt; in find_bad_casts_execute() local
835 stmt in find_bad_casts_execute()
[all...]
H 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()
84 if (gimple_call_builtin_p(stmt, BUILT_IN_ALLOCA_WITH_ALIGN)) in is_alloca()
194 gimple stmt; in stackleak_instrument_execute() local
196 stmt = gsi_stmt(gsi); in stackleak_instrument_execute()
199 if (is_gimple_call(stmt)) in stackleak_instrument_execute()
202 if (!is_alloca(stmt)) in stackleak_instrument_execute()
[all...]
H A 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()
H A Dstructleak_plugin.c133 gimple stmt = gsi_stmt(gsi); in initialize() local
137 if (!gimple_assign_single_p(stmt)) in initialize()
139 rhs1 = gimple_assign_rhs1(stmt); in initialize()
146 if (gimple_get_lhs(stmt) != var) in initialize()
167 /* build the initializer stmt */ in initialize()
H A Dlatent_entropy_plugin.c401 gimple stmt = gsi_stmt(gsi); in handle_tail_calls() local
403 if (!is_gimple_call(stmt)) in handle_tail_calls()
406 call = as_a_gcall(stmt); in handle_tail_calls()
/kernel/linux/linux-6.6/scripts/gcc-plugins/
H A Dgcc-common.h88 #include "stmt.h"
332 static inline gasm *as_a_gasm(gimple stmt) in as_a_gasm() argument
334 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() argument
339 return as_a<const gasm *>(stmt); in as_a_const_gasm()
342 static inline gassign *as_a_gassign(gimple stmt) in as_a_gassign() argument
344 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() argument
349 return as_a<const gassign *>(stmt); in as_a_const_gassign()
352 static inline gcall *as_a_gcall(gimple stmt) in as_a_gcall() argument
357 as_a_const_gcall(const_gimple stmt) as_a_const_gcall() argument
362 as_a_ggoto(gimple stmt) as_a_ggoto() argument
367 as_a_const_ggoto(const_gimple stmt) as_a_const_ggoto() argument
372 as_a_gphi(gimple stmt) as_a_gphi() argument
377 as_a_const_gphi(const_gimple stmt) as_a_const_gphi() argument
382 as_a_greturn(gimple stmt) as_a_greturn() argument
387 as_a_const_greturn(const_gimple stmt) as_a_const_greturn() argument
403 ipa_remove_stmt_references(symtab_node *referring_node, gimple stmt) ipa_remove_stmt_references() argument
[all...]
H 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()
[all...]
H A 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()
H A Drandomize_layout_plugin.c737 gimple stmt; in find_bad_casts_execute() local
748 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), "rh in find_bad_casts_execute()
[all...]
H A Dstructleak_plugin.c129 gimple stmt = gsi_stmt(gsi); in initialize() local
133 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()
161 /* build the initializer stmt */ in initialize()
H 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()
/kernel/linux/linux-5.10/drivers/usb/musb/
H A Dda8xx.c113 #define portstate(stmt) stmt
H A Ddavinci.c126 #define portstate(stmt) stmt
H A Dam35x.c111 #define portstate(stmt) stmt
/kernel/linux/linux-6.6/drivers/usb/musb/
H A Dda8xx.c113 #define portstate(stmt) stmt
/kernel/linux/linux-5.10/scripts/
H A Dcheckpatch.pl1560 my ($stmt) = @_;
1563 $stmt =~ s/(^|\n)./$1/g;
1564 $stmt =~ s/^\s*//;
1565 $stmt =~ s/\s*$//;
1567 my @stmt_lines = ($stmt =~ /\n/g);
1573 my ($stmt) = @_;
1575 my @stmt_lines = ($stmt =~ /\n/g);
1581 my ($stmt) = @_;
1583 $stmt =~ s/(^|\n)./$1/g;
1584 $stmt
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dcheckpatch.pl1804 my ($stmt) = @_;
1807 $stmt =~ s/(^|\n)./$1/g;
1808 $stmt =~ s/^\s*//;
1809 $stmt =~ s/\s*$//;
1811 my @stmt_lines = ($stmt =~ /\n/g);
1817 my ($stmt) = @_;
1819 my @stmt_lines = ($stmt =~ /\n/g);
1825 my ($stmt) = @_;
1827 $stmt =~ s/(^|\n)./$1/g;
1828 $stmt
[all...]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dexported-sql-viewer.py182 def QueryExec(query, stmt):
183 ret = query.exec_(stmt)
2564 stmt = self.sql.replace("$$last_id$$", str(self.last_id))
2565 QueryExec(self.query, stmt)
3411 stmt = "SELECT id FROM " + self.table_name + " WHERE " + self.match_column + " = '" + value + "'"
3412 ret = query.exec_(stmt)
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dexported-sql-viewer.py183 def QueryExec(query, stmt):
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)

Completed in 27 milliseconds