mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[CGProfile] Fix layering, IPO depends in Instrumentation.
This commit is contained in:
parent
f98ea09169
commit
2141fd9988
@ -282,8 +282,6 @@ ModulePass *createSampleProfileLoaderPass(StringRef Name);
|
||||
ModulePass *createWriteThinLTOBitcodePass(raw_ostream &Str,
|
||||
raw_ostream *ThinLinkOS = nullptr);
|
||||
|
||||
ModulePass *createCGProfileLegacyPass();
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
@ -88,6 +88,8 @@ ModulePass *createPGOIndirectCallPromotionLegacyPass(bool InLTO = false,
|
||||
bool SamplePGO = false);
|
||||
FunctionPass *createPGOMemOPSizeOptLegacyPass();
|
||||
|
||||
ModulePass *createCGProfileLegacyPass();
|
||||
|
||||
// The pgo-specific indirect call promotion function declared below is used by
|
||||
// the pgo-driven indirect call promotion and sample profile passes. It's a
|
||||
// wrapper around llvm::promoteCall, et al. that additionally computes !prof
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "llvm/IR/PassManager.h"
|
||||
#include "llvm/InitializePasses.h"
|
||||
#include "llvm/ProfileData/InstrProf.h"
|
||||
#include "llvm/Transforms/IPO.h"
|
||||
#include "llvm/Transforms/Instrumentation.h"
|
||||
|
||||
#include <array>
|
||||
|
Loading…
Reference in New Issue
Block a user