mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Extracted pass ObjCARCExpand from ObjCARC.cpp => ObjCARCExpand.cpp.
I also added the local header ObjCARC.h for common functions used by the various passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173651 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -13,15 +13,25 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Transforms/ObjCARC.h"
|
||||
#include "ObjCARC.h"
|
||||
|
||||
#include "llvm-c/Initialization.h"
|
||||
#include "llvm/Analysis/Passes.h"
|
||||
#include "llvm/Analysis/Verifier.h"
|
||||
#include "llvm/IR/DataLayout.h"
|
||||
#include "llvm/InitializePasses.h"
|
||||
#include "llvm/PassManager.h"
|
||||
#include "llvm/Support/Commandline.h"
|
||||
|
||||
using namespace llvm;
|
||||
using namespace llvm::objcarc;
|
||||
|
||||
/// \brief A handy option to enable/disable all ARC Optimizations.
|
||||
bool llvm::objcarc::EnableARCOpts;
|
||||
static cl::opt<bool, true>
|
||||
EnableARCOptimizations("enable-objc-arc-opts",
|
||||
cl::location(EnableARCOpts),
|
||||
cl::init(true));
|
||||
|
||||
/// initializeObjCARCOptsPasses - Initialize all passes linked into the
|
||||
/// ObjCARCOpts library.
|
||||
|
Reference in New Issue
Block a user