LLVM
8.0.1
lib
Analysis
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
16
#include "
llvm/Analysis/ObjCARCAnalysisUtils.h
"
17
#include "
llvm/Support/CommandLine.h
"
18
19
using namespace
llvm
;
20
using namespace
llvm::objcarc
;
21
22
/// A handy option to enable/disable all ARC Optimizations.
23
bool
llvm::objcarc::EnableARCOpts
;
24
static
cl::opt<bool, true>
EnableARCOptimizations
(
25
"enable-objc-arc-opts"
,
cl::desc
(
"enable/disable all ARC Optimizations"
),
26
cl::location
(
EnableARCOpts
),
cl::init
(
true
),
cl::Hidden
);
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::cl::Hidden
Definition:
CommandLine.h:145
llvm::objcarc
Definition:
ObjCARCAliasAnalysis.h:30
llvm::objcarc::EnableARCOpts
bool EnableARCOpts
A handy option to enable/disable all ARC Optimizations.
Definition:
ObjCARCAnalysisUtils.cpp:23
CommandLine.h
llvm::cl::init
initializer< Ty > init(const Ty &Val)
Definition:
CommandLine.h:423
llvm::cl::desc
Definition:
CommandLine.h:394
ObjCARCAnalysisUtils.h
This file defines common analysis utilities used by the ObjC ARC Optimizer.
EnableARCOptimizations
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)
llvm::cl::opt
Definition:
CommandLine.h:1300
llvm::cl::location
LocationClass< Ty > location(Ty &L)
Definition:
CommandLine.h:439
Generated on Sun Dec 20 2020 13:53:47 for LLVM by
1.8.13