summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-03-22 02:20:34 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-03-22 02:20:34 +0000
commit0a9875abfe7c7b0eefe8da92766066043c2fa05a (patch)
tree0a40d3b99ab3bbe2bdf10d2f8c561ac5526f0132 /llvm/lib
parentc962cdf8a507bd1d718e952fc50cd14a015862aa (diff)
downloadbcm5719-llvm-0a9875abfe7c7b0eefe8da92766066043c2fa05a.tar.gz
bcm5719-llvm-0a9875abfe7c7b0eefe8da92766066043c2fa05a.zip
Revert r177543: Add timing of the IR parsing code with a new
-time-ir-parsing flag This breaks the layering of the Support library. We can't add an implementation side to IRReader because it refers directly to entities only accessible as part of the IR, AsmParser, and BitcodeReader libraries. It can only be used in a context where all of those libraries will be available. We'll need to find some other way to get this functionality, and hopefully solve the long-standing layering problem of IRReader.h... llvm-svn: 177695
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/CMakeLists.txt1
-rw-r--r--llvm/lib/Support/IRReader.cpp21
2 files changed, 0 insertions, 22 deletions
diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt
index f661249c76e..5ba69fc3c8c 100644
--- a/llvm/lib/Support/CMakeLists.txt
+++ b/llvm/lib/Support/CMakeLists.txt
@@ -27,7 +27,6 @@ add_llvm_library(LLVMSupport
IntEqClasses.cpp
IntervalMap.cpp
IntrusiveRefCntPtr.cpp
- IRReader.cpp
IsInf.cpp
IsNAN.cpp
Locale.cpp
diff --git a/llvm/lib/Support/IRReader.cpp b/llvm/lib/Support/IRReader.cpp
deleted file mode 100644
index 1dc56dddcbe..00000000000
--- a/llvm/lib/Support/IRReader.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-//===- IRReader.cpp - Reader for LLVM IR files ----------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include "llvm/Support/CommandLine.h"
-#include "llvm/Support/IRReader.h"
-using namespace llvm;
-
-const char *llvm::TimeIRParsingGroupName = "LLVM IR Parsing";
-const char *llvm::TimeIRParsingName = "Parse IR";
-
-bool llvm::TimeIRParsingIsEnabled = false;
-static cl::opt<bool,true>
-EnableTimeIRParsing("time-ir-parsing", cl::location(TimeIRParsingIsEnabled),
- cl::desc("Measure the time IR parsing takes"));
-
OpenPOWER on IntegriCloud