LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Utils.cpp
Go to the documentation of this file.
1 //===-- Utils.cpp - TransformUtils Infrastructure -------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines the common initialization infrastructure for the
11 // TransformUtils library.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #include "llvm/InitializePasses.h"
16 #include "llvm/PassRegistry.h"
17 #include "llvm-c/Initialization.h"
18 
19 using namespace llvm;
20 
21 /// initializeTransformUtils - Initialize all passes in the TransformUtils
22 /// library.
25  initializeInstNamerPass(Registry);
26  initializeLCSSAPass(Registry);
28  initializeLowerInvokePass(Registry);
29  initializeLowerSwitchPass(Registry);
30  initializePromotePassPass(Registry);
33  initializeMetaRenamerPass(Registry);
34 }
35 
36 /// LLVMInitializeTransformUtils - C binding for initializeTransformUtilsPasses.
39 }
LLVMContext ** unwrap(LLVMContextRef *Tys)
Definition: LLVMContext.h:119
void initializeBreakCriticalEdgesPass(PassRegistry &)
void initializePromotePassPass(PassRegistry &)
void initializeUnifyFunctionExitNodesPass(PassRegistry &)
void LLVMInitializeTransformUtils(LLVMPassRegistryRef R)
LLVMInitializeTransformUtils - C binding for initializeTransformUtilsPasses.
Definition: Utils.cpp:37
void initializeInstSimplifierPass(PassRegistry &)
void initializeLowerInvokePass(PassRegistry &)
struct LLVMOpaquePassRegistry * LLVMPassRegistryRef
Definition: Core.h:128
void initializeTransformUtils(PassRegistry &)
Definition: Utils.cpp:23
void initializeLCSSAPass(PassRegistry &)
void initializeInstNamerPass(PassRegistry &)
void initializeLoopSimplifyPass(PassRegistry &)
void initializeLowerSwitchPass(PassRegistry &)
void initializeMetaRenamerPass(PassRegistry &)