blob: 00c6a9d631586ea727599c6c4affcf1184d57b1a [file] [log] [blame]
Quentin Colombet39293d32016-03-08 01:38:55 +00001//===-- llvm/CodeGen/GlobalISel/GlobalIsel.cpp --- GlobalISel ----*- C++ -*-==//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9/// \file
10// This file implements the common initialization routines for the
11// GlobalISel library.
12//===----------------------------------------------------------------------===//
13
14#include "llvm/InitializePasses.h"
15#include "llvm/PassRegistry.h"
16
17using namespace llvm;
18
Quentin Colombet39293d32016-03-08 01:38:55 +000019void llvm::initializeGlobalISel(PassRegistry &Registry) {
20 initializeIRTranslatorPass(Registry);
Tim Northover69fa84a2016-10-14 22:18:18 +000021 initializeLegalizerPass(Registry);
Quentin Colombetbece4422017-05-27 01:34:00 +000022 initializeLocalizerPass(Registry);
Quentin Colombet8e8e85c2016-04-05 19:06:01 +000023 initializeRegBankSelectPass(Registry);
Ahmed Bougacha6756a2c2016-07-27 14:31:55 +000024 initializeInstructionSelectPass(Registry);
Quentin Colombet39293d32016-03-08 01:38:55 +000025}