| 1 | //===- X86PassRegistry.def - Registry of X86 specific passes ----*- C++ -*-===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // This file is used as the registry of passes that are part of the X86 backend. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | // NOTE: NO INCLUDE GUARD DESIRED! |
| 14 | |
| 15 | #ifndef MACHINE_FUNCTION_PASS |
| 16 | #define MACHINE_FUNCTION_PASS(NAME, CREATE_PASS) |
| 17 | #endif |
| 18 | MACHINE_FUNCTION_PASS("x86-isel" , X86ISelDAGToDAGPass(*this)) |
| 19 | #undef MACHINE_FUNCTION_PASS |
| 20 | |