Introduce bitset metadata format and bitset lowering pass.
[oota-llvm.git] / lib / Transforms / ObjCARC / ObjCARC.cpp
index f798063bb391d4baf8d905d1eac9fa8b8d1867a7..6ea038b8ba8c2f37126a00137d70093d73a79b2a 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "ObjCARC.h"
 #include "llvm-c/Core.h"
+#include "llvm-c/Initialization.h"
 #include "llvm/InitializePasses.h"
 #include "llvm/Support/CommandLine.h"
 
@@ -29,6 +30,7 @@ using namespace llvm::objcarc;
 bool llvm::objcarc::EnableARCOpts;
 static cl::opt<bool, true>
 EnableARCOptimizations("enable-objc-arc-opts",
+                       cl::desc("enable/disable all ARC Optimizations"),
                        cl::location(EnableARCOpts),
                        cl::init(true));
 
@@ -40,6 +42,7 @@ void llvm::initializeObjCARCOpts(PassRegistry &Registry) {
   initializeObjCARCExpandPass(Registry);
   initializeObjCARCContractPass(Registry);
   initializeObjCARCOptPass(Registry);
+  initializePAEvalPass(Registry);
 }
 
 void LLVMInitializeObjCARCOpts(LLVMPassRegistryRef R) {