Path: blob/main/contrib/llvm-project/llvm/lib/Transforms/IPO/IPO.cpp
35269 views
//===-- IPO.cpp -----------------------------------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file implements the common infrastructure (including C bindings) for9// libLLVMIPO.a, which implements several transformations over the LLVM10// intermediate representation.11//12//===----------------------------------------------------------------------===//1314#include "llvm/InitializePasses.h"15#include "llvm/Transforms/IPO.h"16#include "llvm/Transforms/IPO/AlwaysInliner.h"17#include "llvm/Transforms/IPO/FunctionAttrs.h"1819using namespace llvm;2021void llvm::initializeIPO(PassRegistry &Registry) {22initializeDAEPass(Registry);23initializeDAHPass(Registry);24initializeAlwaysInlinerLegacyPassPass(Registry);25initializeLoopExtractorLegacyPassPass(Registry);26initializeSingleLoopExtractorPass(Registry);27initializeBarrierNoopPass(Registry);28}293031