1e8d8bef9SDimitry Andric //===--- CodeGenPassBuilder.cpp --------------------------------------- ---===// 2e8d8bef9SDimitry Andric // 3e8d8bef9SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4e8d8bef9SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5e8d8bef9SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6e8d8bef9SDimitry Andric // 7e8d8bef9SDimitry Andric //===----------------------------------------------------------------------===// 8e8d8bef9SDimitry Andric // 9e8d8bef9SDimitry Andric // This file defines interfaces to access the target independent code 10e8d8bef9SDimitry Andric // generation passes provided by the LLVM backend. 11e8d8bef9SDimitry Andric // 12e8d8bef9SDimitry Andric //===---------------------------------------------------------------------===// 13e8d8bef9SDimitry Andric 14e8d8bef9SDimitry Andric #include "llvm/CodeGen/CodeGenPassBuilder.h" 15e8d8bef9SDimitry Andric 16e8d8bef9SDimitry Andric using namespace llvm; 17e8d8bef9SDimitry Andric 18e8d8bef9SDimitry Andric namespace llvm { 19e8d8bef9SDimitry Andric #define DUMMY_MACHINE_MODULE_PASS(NAME, PASS_NAME, CONSTRUCTOR) \ 20*c9157d92SDimitry Andric MachinePassKey PASS_NAME::Key; 21e8d8bef9SDimitry Andric #include "llvm/CodeGen/MachinePassRegistry.def" 22e8d8bef9SDimitry Andric #define DUMMY_MACHINE_FUNCTION_PASS(NAME, PASS_NAME, CONSTRUCTOR) \ 23*c9157d92SDimitry Andric MachinePassKey PASS_NAME::Key; 24*c9157d92SDimitry Andric #define DUMMY_MACHINE_FUNCTION_ANALYSIS(NAME, PASS_NAME, CONSTRUCTOR) \ 25e8d8bef9SDimitry Andric AnalysisKey PASS_NAME::Key; 26e8d8bef9SDimitry Andric #include "llvm/CodeGen/MachinePassRegistry.def" 27e8d8bef9SDimitry Andric } // namespace llvm 28