LLVM  10.0.0svn
ObjCARC.cpp
Go to the documentation of this file.
1 //===-- ObjCARC.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 common infrastructure for libLLVMObjCARCOpts.a, which
10 // implements several scalar transformations over the LLVM intermediate
11 // representation, including the C bindings for that library.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #include "ObjCARC.h"
16 #include "llvm-c/Initialization.h"
17 #include "llvm/InitializePasses.h"
18 
19 namespace llvm {
20  class PassRegistry;
21 }
22 
23 using namespace llvm;
24 using namespace llvm::objcarc;
25 
26 /// initializeObjCARCOptsPasses - Initialize all passes linked into the
27 /// ObjCARCOpts library.
33  initializeObjCARCOptPass(Registry);
34  initializePAEvalPass(Registry);
35 }
36 
39 }
This class represents lattice values for constants.
Definition: AllocatorList.h:23
void initializeObjCARCAPElimPass(PassRegistry &)
A global registry used in conjunction with static constructors to make pluggable components (like tar...
Definition: Registry.h:44
struct LLVMOpaquePassRegistry * LLVMPassRegistryRef
Definition: Types.h:131
void initializeObjCARCOptPass(PassRegistry &)
void initializeObjCARCOpts(PassRegistry &)
Initialize all passes linked into the ObjCARCOpts library.
Definition: ObjCARC.cpp:28
Attribute unwrap(LLVMAttributeRef Attr)
Definition: Attributes.h:204
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:37
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:38
void initializeObjCARCExpandPass(PassRegistry &)