ObjCARCAnalysisUtils.cpp revision 292915
1290001Sglebius//===- ObjCARCAnalysisUtils.cpp -------------------------------------------===// 2290001Sglebius// 3290001Sglebius// The LLVM Compiler Infrastructure 4290001Sglebius// 5290001Sglebius// This file is distributed under the University of Illinois Open Source 6290001Sglebius// License. See LICENSE.TXT for details. 7290001Sglebius// 8290001Sglebius//===----------------------------------------------------------------------===// 9290001Sglebius// 10290001Sglebius// This file implements common infrastructure for libLLVMObjCARCOpts.a, which 11290001Sglebius// implements several scalar transformations over the LLVM intermediate 12290001Sglebius// representation, including the C bindings for that library. 13290001Sglebius// 14290001Sglebius//===----------------------------------------------------------------------===// 15290001Sglebius 16290001Sglebius#include "llvm/Analysis/ObjCARCAnalysisUtils.h" 17290001Sglebius#include "llvm/Support/CommandLine.h" 18290001Sglebius 19290001Sglebiususing namespace llvm; 20290001Sglebiususing namespace llvm::objcarc; 21290001Sglebius 22290001Sglebius/// \brief A handy option to enable/disable all ARC Optimizations. 23290001Sglebiusbool llvm::objcarc::EnableARCOpts; 24290001Sglebiusstatic cl::opt<bool, true> 25290001SglebiusEnableARCOptimizations("enable-objc-arc-opts", 26290001Sglebius cl::desc("enable/disable all ARC Optimizations"), 27290001Sglebius cl::location(EnableARCOpts), 28290001Sglebius cl::init(true)); 29290001Sglebius