| Quentin Colombet | 39293d3 | 2016-03-08 01:38:55 +0000 | [diff] [blame] | 1 | //===-- llvm/CodeGen/GlobalISel/GlobalIsel.cpp --- GlobalISel ----*- C++ -*-==// |
| 2 | // |
| Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 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 |
| Quentin Colombet | 39293d3 | 2016-03-08 01:38:55 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | /// \file |
| 9 | // This file implements the common initialization routines for the |
| 10 | // GlobalISel library. |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #include "llvm/InitializePasses.h" |
| 14 | #include "llvm/PassRegistry.h" |
| 15 | |
| 16 | using namespace llvm; |
| 17 | |
| Quentin Colombet | 39293d3 | 2016-03-08 01:38:55 +0000 | [diff] [blame] | 18 | void llvm::initializeGlobalISel(PassRegistry &Registry) { |
| 19 | initializeIRTranslatorPass(Registry); |
| Tim Northover | 69fa84a | 2016-10-14 22:18:18 +0000 | [diff] [blame] | 20 | initializeLegalizerPass(Registry); |
| Quentin Colombet | bece442 | 2017-05-27 01:34:00 +0000 | [diff] [blame] | 21 | initializeLocalizerPass(Registry); |
| Quentin Colombet | 8e8e85c | 2016-04-05 19:06:01 +0000 | [diff] [blame] | 22 | initializeRegBankSelectPass(Registry); |
| Ahmed Bougacha | 6756a2c | 2016-07-27 14:31:55 +0000 | [diff] [blame] | 23 | initializeInstructionSelectPass(Registry); |
| Quentin Colombet | 39293d3 | 2016-03-08 01:38:55 +0000 | [diff] [blame] | 24 | } |