LLVM  9.0.0svn
ObjCARCAnalysisUtils.cpp
Go to the documentation of this file.
1 //===- ObjCARCAnalysisUtils.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 
17 
18 using namespace llvm;
19 using namespace llvm::objcarc;
20 
21 /// A handy option to enable/disable all ARC Optimizations.
24  "enable-objc-arc-opts", cl::desc("enable/disable all ARC Optimizations"),
This class represents lattice values for constants.
Definition: AllocatorList.h:23
bool EnableARCOpts
A handy option to enable/disable all ARC Optimizations.
initializer< Ty > init(const Ty &Val)
Definition: CommandLine.h:427
This file defines common analysis utilities used by the ObjC ARC Optimizer.
static cl::opt< bool, true > EnableARCOptimizations("enable-objc-arc-opts", cl::desc("enable/disable all ARC Optimizations"), cl::location(EnableARCOpts), cl::init(true), cl::Hidden)
LocationClass< Ty > location(Ty &L)
Definition: CommandLine.h:443