aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pru/pru-passes.def
blob: 3eee313ac67789d31e4a993be9cfc7b82bf31783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Description of target passes for PRU.
   Copyright (C) 2024 Free Software Foundation, Inc.  */

/* This file is part of GCC.

   GCC is free software; you can redistribute it and/or modify it under
   the terms of the GNU General Public License as published by the Free
   Software Foundation; either version 3, or (at your option) any later
   version.

   GCC is distributed in the hope that it will be useful, but WITHOUT ANY
   WARRANTY; without even the implied warranty of MERCHANTABILITY or
   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
   for more details.

   You should have received a copy of the GNU General Public License
   along with GCC; see the file COPYING3.  If not see
   <http://www.gnu.org/licenses/>.  */

/* If strict TI ABI conformance is requested, then this pass would validate
   that the compiled code by GCC conforms to the TI ABI specification.
   If GCC cannot output a conforming code, then an error is raised.  */

INSERT_PASS_AFTER (pass_warn_unused_result, 1, pru_tiabi_check);

/* If -minrt option is used, then this pass would validate
   that the compiled code by GCC is compatible with the minimal
   C runtime.  */
INSERT_PASS_AFTER (pass_warn_function_noreturn, 1, pru_minrt_check);