| //===----------------------------------------------------------------------===// |
| // |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // |
| //===----------------------------------------------------------------------===// |
| // |
| // This file is used as the registry of passes that are part of the MSP430 |
| // backend. |
| // |
| //===----------------------------------------------------------------------===// |
| |
| // NOTE: NO INCLUDE GUARD DESIRED! |
| |
| #ifndef MACHINE_FUNCTION_PASS |
| #define MACHINE_FUNCTION_PASS(NAME, CREATE_PASS) |
| #endif |
| MACHINE_FUNCTION_PASS("msp430-isel", MSP430ISelDAGToDAGPass(*this, getOptLevel())) |
| MACHINE_FUNCTION_PASS("msp430-branch-select", MSP430BranchSelectPass()) |
| #undef MACHINE_FUNCTION_PASS |