27 lines · cpp
1//===-- IPO.cpp -----------------------------------------------------------===//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//9// This file implements the common infrastructure (including C bindings) for10// libLLVMIPO.a, which implements several transformations over the LLVM11// intermediate representation.12//13//===----------------------------------------------------------------------===//14 15#include "llvm/InitializePasses.h"16 17using namespace llvm;18 19void llvm::initializeIPO(PassRegistry &Registry) {20 initializeDAEPass(Registry);21 initializeDAHPass(Registry);22 initializeAlwaysInlinerLegacyPassPass(Registry);23 initializeLoopExtractorLegacyPassPass(Registry);24 initializeSingleLoopExtractorPass(Registry);25 initializeBarrierNoopPass(Registry);26}27