xref: /llvm-project/polly/lib/Plugin/Polly.cpp (revision 24ab9b537e61b3fe5e6a1019492ff6530d82a3ee)
1 //===---------- Polly.cpp - Initialize the Polly Module -------------------===//
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 //
9 //===----------------------------------------------------------------------===//
10 
11 #include "polly/RegisterPasses.h"
12 #include "llvm/PassRegistry.h"
13 #include "llvm/Passes/PassPlugin.h"
14 
15 // Pass Plugin Entrypoints
16 
17 extern "C" LLVM_ATTRIBUTE_WEAK ::llvm::PassPluginLibraryInfo
llvmGetPassPluginInfo()18 llvmGetPassPluginInfo() {
19   return getPollyPluginInfo();
20 }
21