1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/Transforms/IPO
Wei Mi a323ae1555 [SampleFDO] handle ProfileSampleAccurate when initializing function entry count
ProfileSampleAccurate is used to indicate the profile has exact match to the
code to be optimized.

Previously ProfileSampleAccurate is handled in ProfileSummaryInfo::isColdCallSite
and ProfileSummaryInfo::isColdBlock. A better solution is to initialize function
entry count to 0 when ProfileSampleAccurate is true, so we don't have to handle
ProfileSampleAccurate in multiple places.

Differential Revision: https://reviews.llvm.org/D55660

llvm-svn: 349088
2018-12-13 21:51:42 +00:00
..
AlwaysInliner.cpp
ArgumentPromotion.cpp
BarrierNoopPass.cpp
BlockExtractor.cpp
CalledValuePropagation.cpp [CVP] Handle instructions with no user. No need to create CVPLattice state. This handles terminator instructions and more. 2018-09-17 15:28:01 +00:00
CMakeLists.txt Hot cold splitting pass 2018-09-07 15:03:49 +00:00
ConstantMerge.cpp Re-commit "[NFC] More ConstantMerge refactoring" 2018-08-10 22:41:09 +00:00
CrossDSOCFI.cpp
DeadArgumentElimination.cpp [DeadArgElim] Fixes for dbg.values using dead arg/return values 2018-12-11 10:33:38 +00:00
ElimAvailExtern.cpp
ExtractGV.cpp
ForceFunctionAttrs.cpp [x86/SLH] Add a real Clang flag and LLVM IR attribute for Speculative 2018-09-04 12:38:00 +00:00
FunctionAttrs.cpp Allow norecurse attribute on functions that have debug infos. 2018-12-05 16:48:00 +00:00
FunctionImport.cpp [ThinLTO] Import local variables from the same module as caller 2018-11-29 17:02:42 +00:00
GlobalDCE.cpp GlobalDCE: Teach isEmptyFunction() to ignore debug intrinsics. 2018-11-16 17:47:21 +00:00
GlobalOpt.cpp [DebugInfo][GlobalOpt] Fix -debugify for globalopt shrinking globals to booleans. 2018-10-23 16:35:51 +00:00
GlobalSplit.cpp
HotColdSplitting.cpp [HotColdSplitting] Disable outlining landingpad instructions (PR39917) 2018-12-11 18:05:31 +00:00
InferFunctionAttrs.cpp [InstCombine] Cleanup libfunc attribute inferring 2018-10-16 21:18:31 +00:00
Inliner.cpp [ProfileSummary] Standardize methods and fix comment 2018-11-19 05:23:16 +00:00
InlineSimple.cpp
Internalize.cpp
IPConstantPropagation.cpp
IPO.cpp Hot cold splitting pass 2018-09-07 15:03:49 +00:00
LLVMBuild.txt
LoopExtractor.cpp [TI removal] Make variables declared as TerminatorInst and initialized 2018-10-15 10:04:59 +00:00
LowerTypeTests.cpp llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
MergeFunctions.cpp [MergeFuncs] Generate alias instead of thunk if possible 2018-11-21 19:37:19 +00:00
PartialInlining.cpp [PartialInliner] Make PHIs free in cost computation. 2018-11-27 18:17:27 +00:00
PassManagerBuilder.cpp [Unroll/UnrollAndJam/Vectorizer/Distribute] Add followup loop attributes. 2018-12-12 17:32:52 +00:00
PruneEH.cpp [TI removal] Make variables declared as TerminatorInst and initialized 2018-10-15 10:04:59 +00:00
SampleProfile.cpp [SampleFDO] handle ProfileSampleAccurate when initializing function entry count 2018-12-13 21:51:42 +00:00
SCCP.cpp [IPSCCP,PM] Preserve PDT in the new pass manager. 2018-11-11 20:22:45 +00:00
StripDeadPrototypes.cpp
StripSymbols.cpp
SyntheticCountsPropagation.cpp [ThinLTO] Compute synthetic function entry count 2018-12-13 19:54:27 +00:00
ThinLTOBitcodeWriter.cpp s/std::set/DenseSet/; NFC 2018-08-27 22:10:59 +00:00
WholeProgramDevirt.cpp [WPD] Fix incorrect devirtualization after indirect call promotion 2018-09-27 14:55:32 +00:00