1 //===- ProfileInfo.h - Represents profile information -----------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // The ProfileInfo class is used to represent profiling information read in from
13 //===----------------------------------------------------------------------===//
22 std::vector<std::string> CommandLines;
23 std::vector<unsigned> FunctionCounts;
24 std::vector<unsigned> BlockCounts;
26 // ProfileInfo ctor - Read the specified profiling data file, exiting the
27 // program if the file is invalid or broken.
28 ProfileInfo(const char *ToolName, const std::string &Filename);