ProfileSummaryInfo.h - reduce unnecessary Function.h include to forward declaration. NFC.

This commit is contained in:
Simon Pilgrim 2020-06-20 15:57:05 +01:00
parent 3bab56cc57
commit 7a3f2a734a
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,6 @@
#define LLVM_ANALYSIS_PROFILE_SUMMARY_INFO_H
#include "llvm/ADT/DenseMap.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/PassManager.h"
#include "llvm/IR/ProfileSummary.h"
#include "llvm/Pass.h"
@ -25,7 +24,9 @@ namespace llvm {
class BasicBlock;
class BlockFrequencyInfo;
class CallBase;
class Function;
class ProfileSummary;
/// Analysis providing profile information.
///
/// This is an immutable analysis pass that provides ability to query global