• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- InitializePasses.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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file implements implements the initialization hook for the example
10 // transforms.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "InitializePasses.h"
15 #include "llvm/PassRegistry.h"
16 
17 using namespace llvm;
18 
initializeExampleIRTransforms(PassRegistry & Registry)19 void initializeExampleIRTransforms(PassRegistry &Registry) {
20   initializeSimplifyCFGLegacyPassPass(Registry);
21 }
22