GlobalISel.cpp 910 B

123456789101112131415161718192021222324
  1. //===-- llvm/CodeGen/GlobalISel/GlobalIsel.cpp --- GlobalISel ----*- C++ -*-==//
  2. //
  3. // 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
  6. //
  7. //===----------------------------------------------------------------------===//
  8. /// \file
  9. // This file implements the common initialization routines for the
  10. // GlobalISel library.
  11. //===----------------------------------------------------------------------===//
  12. #include "llvm/InitializePasses.h"
  13. using namespace llvm;
  14. void llvm::initializeGlobalISel(PassRegistry &Registry) {
  15. initializeIRTranslatorPass(Registry);
  16. initializeLegalizerPass(Registry);
  17. initializeLoadStoreOptPass(Registry);
  18. initializeLocalizerPass(Registry);
  19. initializeRegBankSelectPass(Registry);
  20. initializeInstructionSelectPass(Registry);
  21. }