Home
last modified time | relevance | path

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

/linux/scripts/gcc-plugins/
H A Dgcc-common.h336 static inline gasm *as_a_gasm(gimple stmt) in as_a_gasm() argument
338 return as_a<gasm *>(stmt); in as_a_gasm()
341 static inline const gasm *as_a_const_gasm(const_gimple stmt) in as_a_const_gasm() argument
343 return as_a<const gasm *>(stmt); in as_a_const_gasm()
346 static inline gassign *as_a_gassign(gimple stmt) in as_a_gassign() argument
348 return as_a<gassign *>(stmt); in as_a_gassign()
351 static inline const gassign *as_a_const_gassign(const_gimple stmt) in as_a_const_gassign() argument
353 return as_a<const gassign *>(stmt); in as_a_const_gassign()
356 static inline gcall *as_a_gcall(gimple stmt) in as_a_gcall() argument
358 return as_a<gcall *>(stmt); in as_a_gcall()
[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()
H 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 …]
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()
/linux/rust/syn/
H A Dstmt.rs95 use crate::stmt::{Block, Local, LocalInit, Stmt, StmtMacro};
162 let stmt = parse_stmt(input, AllowNoSemi(true))?; in parse_within() localVariable
163 let requires_semicolon = match &stmt { in parse_within()
164 Stmt::Expr(stmt, None) => classify::requires_semi_to_be_stmt(stmt), in parse_within()
165 Stmt::Macro(stmt) => { in parse_within()
166 stmt.semi_token.is_none() && !stmt.mac.delimiter.is_brace() in parse_within()
170 stmts.push(stmt); in parse_within()
421 use crate::stmt::{Block, Local, Stmt, StmtMacro};
H A Dfixup.rs30 stmt: bool, field
162 stmt: false,
187 stmt: true, in new_stmt()
237 stmt: false, in leftmost_subexpression_with_operator()
239 leftmost_subexpression_in_stmt: self.stmt || self.leftmost_subexpression_in_stmt, in leftmost_subexpression_with_operator()
267 stmt: self.stmt || self.leftmost_subexpression_in_stmt, in leftmost_subexpression_with_dot()
337 stmt: false, in rightmost_subexpression_fixup()
381 || ((self.stmt || self.leftmost_subexpression_in_stmt) && matches!(expr, Expr::Let(_))) in parenthesize()
H A Dlib.rs529 mod stmt; module
532 pub use crate::stmt::{Block, Local, LocalInit, Stmt, StmtMacro};
H A Dpat.rs258 use crate::stmt::Block;
H A Ditem.rs15 use crate::stmt::Block;
933 use crate::stmt::Block;
H A Dexpr.rs23 use crate::stmt::Block;
1211 use crate::stmt::Block;
/linux/scripts/
H A Dcheckpatch.pl1829 my ($stmt) = @_;
1832 $stmt =~ s/(^|\n)./$1/g;
1833 $stmt =~ s/^\s*//;
1834 $stmt =~ s/\s*$//;
1836 my @stmt_lines = ($stmt =~ /\n/g);
1842 my ($stmt) = @_;
1844 my @stmt_lines = ($stmt =~ /\n/g);
1850 my ($stmt) = @_;
1852 $stmt =~ s/(^|\n)./$1/g;
1853 $stmt
[all...]
/linux/drivers/usb/musb/
H A Dda8xx.c115 #define portstate(stmt) stmt argument
/linux/tools/perf/scripts/python/
H A Dexported-sql-viewer.py183 def QueryExec(query, stmt): argument
184 ret = query.exec_(stmt)
2568 stmt = self.sql.replace("$$last_id$$", str(self.last_id))
2569 QueryExec(self.query, stmt)
3415 stmt = "SELECT id FROM " + self.table_name + " WHERE " + self.match_column + " = '" + value + "'"
3416 ret = query.exec_(stmt)