1 //===- ObjCARCAnalysisUtils.cpp -------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
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.
14 //===----------------------------------------------------------------------===//
16 #include "llvm/Analysis/ObjCARCAnalysisUtils.h"
17 #include "llvm/Support/CommandLine.h"
20 using namespace llvm::objcarc;
22 /// \brief A handy option to enable/disable all ARC Optimizations.
23 bool llvm::objcarc::EnableARCOpts;
24 static cl::opt<bool, true>
25 EnableARCOptimizations("enable-objc-arc-opts",
26 cl::desc("enable/disable all ARC Optimizations"),
27 cl::location(EnableARCOpts),