LLVM  6.0.0svn
ObjCARCAnalysisUtils.cpp
Go to the documentation of this file.
1 //===- ObjCARCAnalysisUtils.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 
18 
19 using namespace llvm;
20 using namespace llvm::objcarc;
21 
22 /// \brief A handy option to enable/disable all ARC Optimizations.
25 EnableARCOptimizations("enable-objc-arc-opts",
26  cl::desc("enable/disable all ARC Optimizations"),
28  cl::init(true));
Compute iterated dominance frontiers using a linear time algorithm.
Definition: AllocatorList.h:24
bool EnableARCOpts
A handy option to enable/disable all ARC Optimizations.
static cl::opt< bool, true > EnableARCOptimizations("enable-objc-arc-opts", cl::desc("enable/disable all ARC Optimizations"), cl::location(EnableARCOpts), cl::init(true))
initializer< Ty > init(const Ty &Val)
Definition: CommandLine.h:406
This file defines common analysis utilities used by the ObjC ARC Optimizer.
LocationClass< Ty > location(Ty &L)
Definition: CommandLine.h:422