1 //===--- CodeGenPassBuilder.cpp --------------------------------------- ---===//
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
7 //===----------------------------------------------------------------------===//
9 // This file defines interfaces to access the target independent code
10 // generation passes provided by the LLVM backend.
12 //===---------------------------------------------------------------------===//
14 #include "llvm/CodeGen/CodeGenPassBuilder.h"
19 #define DUMMY_MACHINE_MODULE_PASS(NAME, PASS_NAME, CONSTRUCTOR) \
20 AnalysisKey PASS_NAME::Key;
21 #include "llvm/CodeGen/MachinePassRegistry.def"
22 #define DUMMY_MACHINE_FUNCTION_PASS(NAME, PASS_NAME, CONSTRUCTOR) \
23 AnalysisKey PASS_NAME::Key;
24 #include "llvm/CodeGen/MachinePassRegistry.def"