blob: e0391e6f6467b08d7cb20227c0142217be9f53e0 [file] [log] [blame]
Quentin Colombet39293d32016-03-08 01:38:55 +00001//===-- llvm/CodeGen/GlobalISel/GlobalIsel.cpp --- GlobalISel ----*- C++ -*-==//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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 Colombet39293d32016-03-08 01:38:55 +00006//
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
16using namespace llvm;
17
Quentin Colombet39293d32016-03-08 01:38:55 +000018void llvm::initializeGlobalISel(PassRegistry &Registry) {
19 initializeIRTranslatorPass(Registry);
Tim Northover69fa84a2016-10-14 22:18:18 +000020 initializeLegalizerPass(Registry);
Quentin Colombetbece4422017-05-27 01:34:00 +000021 initializeLocalizerPass(Registry);
Quentin Colombet8e8e85c2016-04-05 19:06:01 +000022 initializeRegBankSelectPass(Registry);
Ahmed Bougacha6756a2c2016-07-27 14:31:55 +000023 initializeInstructionSelectPass(Registry);
Quentin Colombet39293d32016-03-08 01:38:55 +000024}