/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp
Line | Count | Source |
1 | | //===-- llvm/CodeGen/GlobalISel/GlobalIsel.cpp --- GlobalISel ----*- 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 | | /// \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 | | |
18 | 695k | void llvm::initializeGlobalISel(PassRegistry &Registry) { |
19 | 695k | initializeIRTranslatorPass(Registry); |
20 | 695k | initializeLegalizerPass(Registry); |
21 | 695k | initializeLocalizerPass(Registry); |
22 | 695k | initializeRegBankSelectPass(Registry); |
23 | 695k | initializeInstructionSelectPass(Registry); |
24 | 695k | } |