mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-07 12:30:57 +00:00
f6eeaf64bb
With this change, the GlobalISel library gets always built. In particular, this is not possible to opt GlobalISel out of the build using the LLVM_BUILD_GLOBAL_ISEL variable any more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309990 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
873 B
C++
26 lines
873 B
C++
//===-- llvm/CodeGen/GlobalISel/GlobalIsel.cpp --- GlobalISel ----*- C++ -*-==//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
/// \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);
|
|
initializeLegalizerPass(Registry);
|
|
initializeLocalizerPass(Registry);
|
|
initializeRegBankSelectPass(Registry);
|
|
initializeInstructionSelectPass(Registry);
|
|
}
|