1 //===-- InitializePasses.cpp ----------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
9 // This file implements implements the initialization hook for the example
12 //===----------------------------------------------------------------------===//
14 #include "InitializePasses.h"
15 #include "llvm/PassRegistry.h"
19 void initializeExampleIRTransforms(PassRegistry
&Registry
) {
20 initializeSimplifyCFGLegacyPassPass(Registry
);