25 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8/// \file9// This file implements the common initialization routines for the10// GlobalISel library.11//===----------------------------------------------------------------------===//12 13#include "llvm/InitializePasses.h"14 15using namespace llvm;16 17void llvm::initializeGlobalISel(PassRegistry &Registry) {18 initializeIRTranslatorPass(Registry);19 initializeLegalizerPass(Registry);20 initializeLoadStoreOptPass(Registry);21 initializeLocalizerPass(Registry);22 initializeRegBankSelectPass(Registry);23 initializeInstructionSelectPass(Registry);24}25