LLVM  6.0.0svn
ObjCARC.cpp
Go to the documentation of this file.
1 //===-- ObjCARC.cpp -------------------------------------------------------===//
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 implements common infrastructure for libLLVMObjCARCOpts.a, which
11 // implements several scalar transformations over the LLVM intermediate
12 // representation, including the C bindings for that library.
13 //
14 //===----------------------------------------------------------------------===//
15 
16 #include "ObjCARC.h"
17 #include "llvm-c/Core.h"
18 #include "llvm-c/Initialization.h"
19 #include "llvm/InitializePasses.h"
20 
21 namespace llvm {
22  class PassRegistry;
23 }
24 
25 using namespace llvm;
26 using namespace llvm::objcarc;
27 
28 /// initializeObjCARCOptsPasses - Initialize all passes linked into the
29 /// ObjCARCOpts library.
35  initializeObjCARCOptPass(Registry);
36  initializePAEvalPass(Registry);
37 }
38 
41 }
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
void initializeObjCARCAPElimPass(PassRegistry &)
A global registry used in conjunction with static constructors to make pluggable components (like tar...
Definition: Registry.h:45
struct LLVMOpaquePassRegistry * LLVMPassRegistryRef
Definition: Types.h:117
void initializeObjCARCOptPass(PassRegistry &)
void initializeObjCARCOpts(PassRegistry &)
Initialize all passes linked into the ObjCARCOpts library.
Definition: ObjCARC.cpp:30
Attribute unwrap(LLVMAttributeRef Attr)
Definition: Attributes.h:195
void initializePAEvalPass(PassRegistry &)
void initializeObjCARCContractPass(PassRegistry &)
This file defines common definitions/declarations used by the ObjC ARC Optimizer. ...
void initializeObjCARCAAWrapperPassPass(PassRegistry &)
void LLVMInitializeObjCARCOpts(LLVMPassRegistryRef R)
Definition: ObjCARC.cpp:39
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:39
void initializeObjCARCExpandPass(PassRegistry &)