//===- Transforms/SampleProfile.h - SamplePGO pass--------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
/// \file
/// This file provides the interface for the sampled PGO loader pass.
//===----------------------------------------------------------------------===//

#ifndef LLVM_TRANSFORMS_SAMPLEPROFILE_H
#define LLVM_TRANSFORMS_SAMPLEPROFILE_H

#include "llvm/IR/PassManager.h"

namespace llvm {

/// The sample profiler data loader pass.
class SampleProfileLoaderPass : public PassInfoMixin<SampleProfileLoaderPass> {
public:
  PreservedAnalyses run(Module &M, AnalysisManager<Module> &AM);
};

} // End llvm namespace
#endif

//===- Transforms/SampleProfile.h - SamplePGO pass--------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
/// \file
/// This file provides the interface for the sampled PGO loader pass.
//===----------------------------------------------------------------------===//

#ifndef LLVM_TRANSFORMS_SAMPLEPROFILE_H
#define LLVM_TRANSFORMS_SAMPLEPROFILE_H

#include "llvm/IR/PassManager.h"

namespace llvm {

/// The instrumentation (profile-instr-gen) pass for IR based PGO.
class SampleProfileLoaderPass : public PassInfoMixin<SampleProfileLoaderPass> {
public:
  PreservedAnalyses run(Module &M, AnalysisManager<Module> &AM);
};

} // End llvm namespace
#endif

--- 
+++ 
@@ -17,7 +17,7 @@
 
 namespace llvm {
 
-/// The instrumentation (profile-instr-gen) pass for IR based PGO.
+/// The sample profiler data loader pass.
 class SampleProfileLoaderPass : public PassInfoMixin<SampleProfileLoaderPass> {
 public:
   PreservedAnalyses run(Module &M, AnalysisManager<Module> &AM);
Fix wrong comment in header /NFC

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@271825 91177308-0d34-0410-b5e6-96231b3b80d8
