Home | History | Annotate | Download | only in GlobalISel
      1 //===-- 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 
     17 using namespace llvm;
     18 
     19 void llvm::initializeGlobalISel(PassRegistry &Registry) {
     20   initializeIRTranslatorPass(Registry);
     21   initializeLegalizerPass(Registry);
     22   initializeLocalizerPass(Registry);
     23   initializeRegBankSelectPass(Registry);
     24   initializeInstructionSelectPass(Registry);
     25 }
     26