2016-07-23 16:41:05 -04:00
|
|
|
//===-- llvm/CodeGen/GlobalISel/GlobalIsel.cpp --- GlobalISel ----*- C++ -*-==//
|
|
|
|
|
//
|
2019-08-20 16:50:12 -04:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2016-07-23 16:41:05 -04:00
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
/// \file
|
|
|
|
|
// This file implements the common initialization routines for the
|
|
|
|
|
// GlobalISel library.
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
|
|
#include "llvm/InitializePasses.h"
|
|
|
|
|
#include "llvm/PassRegistry.h"
|
|
|
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
|
|
void llvm::initializeGlobalISel(PassRegistry &Registry) {
|
|
|
|
|
initializeIRTranslatorPass(Registry);
|
2017-01-02 14:17:04 -05:00
|
|
|
initializeLegalizerPass(Registry);
|
2017-05-29 12:25:25 -04:00
|
|
|
initializeLocalizerPass(Registry);
|
2016-07-23 16:41:05 -04:00
|
|
|
initializeRegBankSelectPass(Registry);
|
2017-01-02 14:17:04 -05:00
|
|
|
initializeInstructionSelectPass(Registry);
|
2016-07-23 16:41:05 -04:00
|
|
|
}
|