[Alignment][NFC] TargetCallingConv::setOrigAlign and TargetLowering::getABIAlignmentF...
[llvm-core.git] / lib / Analysis / ObjCARCAnalysisUtils.cpp
blob56d1cb42122581a10e04cbd1c35b679db5ca246b
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.
13 //===----------------------------------------------------------------------===//
15 #include "llvm/Analysis/ObjCARCAnalysisUtils.h"
16 #include "llvm/Support/CommandLine.h"
18 using namespace llvm;
19 using namespace llvm::objcarc;
21 /// A handy option to enable/disable all ARC Optimizations.
22 bool llvm::objcarc::EnableARCOpts;
23 static cl::opt<bool, true> EnableARCOptimizations(
24 "enable-objc-arc-opts", cl::desc("enable/disable all ARC Optimizations"),
25 cl::location(EnableARCOpts), cl::init(true), cl::Hidden);