| 1 |
/* Description of target passes for PRU. |
| 2 |
Copyright (C) 2024-2025 Free Software Foundation, Inc. */ |
| 3 |
|
| 4 |
/* This file is part of GCC. |
| 5 |
|
| 6 |
GCC is free software; you can redistribute it and/or modify it under |
| 7 |
the terms of the GNU General Public License as published by the Free |
| 8 |
Software Foundation; either version 3, or (at your option) any later |
| 9 |
version. |
| 10 |
|
| 11 |
GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
| 12 |
WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 13 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 14 |
for more details. |
| 15 |
|
| 16 |
You should have received a copy of the GNU General Public License |
| 17 |
along with GCC; see the file COPYING3. If not see |
| 18 |
<http://www.gnu.org/licenses/>. */ |
| 19 |
|
| 20 |
/* If strict TI ABI conformance is requested, then this pass would validate |
| 21 |
that the compiled code by GCC conforms to the TI ABI specification. |
| 22 |
If GCC cannot output a conforming code, then an error is raised. */ |
| 23 |
|
| 24 |
INSERT_PASS_AFTER (pass_warn_unused_result, 1, pru_tiabi_check); |
| 25 |
|
| 26 |
/* If -minrt option is used, then this pass would validate |
| 27 |
that the compiled code by GCC is compatible with the minimal |
| 28 |
C runtime. */ |
| 29 |
INSERT_PASS_AFTER (pass_warn_function_noreturn, 1, pru_minrt_check); |