diff options
Diffstat (limited to 'lib/Support/IRReader.cpp')
-rw-r--r-- | lib/Support/IRReader.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/Support/IRReader.cpp b/lib/Support/IRReader.cpp new file mode 100644 index 0000000000..1dc56dddcb --- /dev/null +++ b/lib/Support/IRReader.cpp @@ -0,0 +1,21 @@ +//===- 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")); + |