aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/IRReader.cpp
blob: 1dc56dddcbe6ba4ef9b2cad1ca1385592da5bce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"));