Skip to content

Commit

Permalink
ValueProfileCollector.h - remove unnecessary includes. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Jul 23, 2020
1 parent e605994 commit 5b20c14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Expand Up @@ -11,10 +11,10 @@
//===----------------------------------------------------------------------===//

#include "ValueProfilePlugins.inc"
#include "llvm/IR/Function.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/InitializePasses.h"

#include <cassert>

using namespace llvm;
Expand Down
9 changes: 6 additions & 3 deletions llvm/lib/Transforms/Instrumentation/ValueProfileCollector.h
Expand Up @@ -17,13 +17,16 @@
#define LLVM_ANALYSIS_PROFILE_GEN_ANALYSIS_H

#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/ProfileData/InstrProf.h"
#include <memory>
#include <vector>

namespace llvm {

class Function;
class Instruction;
class Value;

/// Utility analysis that determines what values are worth profiling.
/// The actual logic is inside the ValueProfileCollectorImpl, whose job is to
/// populate the Candidates vector.
Expand Down

0 comments on commit 5b20c14

Please sign in to comment.