llvm-project/llvm/lib/Transforms/Utils
Hiroshi Yamauchi b70f23f599 [PGO][PGSO] Tune flags for profile guided size optimization.
Summary:
Tune the profile threshold flag value for instrumentation PGO based on internal
benchmarks.

Also, add flags to allow profile guided size optimizations for non-cold code
to be enabled separately for instrumentation and sample PGSO.

Neither changes the default behavior (yet) as it's disabled for non-cold code.

Reviewers: davidxl

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72937
2020-02-05 09:37:32 -08:00
..
AMDGPUEmitPrintf.cpp Fix unused variable warning. NFCI. 2020-01-16 13:02:40 +00:00
ASanStackFrameLayout.cpp Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
AddDiscriminators.cpp [NFC] Fix trivial typos in comments 2020-01-06 10:50:26 +00:00
BasicBlockUtils.cpp [IndVarSimplify] Fix for MemorySSA preserve. 2020-01-23 11:06:16 -08:00
BreakCriticalEdges.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
BuildLibCalls.cpp [FunctionAttrs] Added noalias for memccpy/mempcpy arguments 2019-09-30 19:43:48 +00:00
BypassSlowDivision.cpp [BypassSlowDivision][CodeGenPrepare] avoid crashing on unused code (PR43514) 2019-10-01 21:25:36 +00:00
CMakeLists.txt Build assume from call 2020-02-02 19:43:36 +01:00
CallPromotionUtils.cpp [PGO] Update ICP pass for recent byval type changes 2019-07-01 22:43:39 +00:00
CanonicalizeAliases.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
CloneFunction.cpp Fix for "DICompileUnit not listed in llvm.dbg.cu" verification error after ... 2019-08-28 21:27:50 +00:00
CloneModule.cpp Fix for "DICompileUnit not listed in llvm.dbg.cu" verification error after ... 2019-08-28 21:27:50 +00:00
CodeExtractor.cpp [CodeExtractor] Remove stale llvm.assume calls from extracted region 2020-01-28 17:18:01 -08:00
CodeMoverUtils.cpp Fix MSVC lamdba default capture mode warning. NFCI. 2020-01-29 15:47:04 +00:00
CtorUtils.cpp
Debugify.cpp Add missing includes needed to prune LLVMContext.h include, NFC 2019-11-14 15:23:15 -08:00
DemoteRegToStack.cpp
EntryExitInstrumenter.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
EscapeEnumerator.cpp
Evaluator.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
FlattenCFG.cpp Handle successor's PHI node correctly when flattening CFG merges two if-regions 2019-09-26 15:20:17 +00:00
FunctionComparator.cpp IR: compare type attributes deeply when looking into functions. 2019-06-27 11:44:45 +00:00
FunctionImportUtils.cpp [ThinLTO] Fix importing of writeonly variables in distributed ThinLTO 2019-12-04 14:59:27 -08:00
GlobalStatus.cpp
GuardUtils.cpp Further cleanup manipulation of widenable branches [NFC] 2019-11-21 15:07:30 -08:00
ImportedFunctionsInliningStatistics.cpp [Instruction] Add hasMetadata(Kind) helper [NFC] 2019-09-04 17:28:48 +00:00
InjectTLIMappings.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
InlineFunction.cpp [Inliner][NoAlias] Use call site attributes too 2020-02-02 23:21:29 -06:00
InstructionNamer.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
IntegerDivision.cpp
KnowledgeRetention.cpp [NFC] Factor out function to detect if an attribute has an argument. 2020-02-03 22:27:24 +01:00
LCSSA.cpp [LCSSA] Don't use VH callbacks to invalidate SCEV when creating LCSSA phis 2019-12-06 13:21:49 +07:00
LLVMBuild.txt
LibCallsShrinkWrap.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Local.cpp [LoopStrengthReduce] Reuse utility method to clean dead instructions. [NFCI] 2020-01-23 16:27:32 -08:00
LoopRotationUtils.cpp [LoopRotate] add ability to repeat loop rotation until non-deoptimizing exit is found 2020-01-23 15:56:24 +03:00
LoopSimplify.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
LoopUnroll.cpp [LoopUnroll] Remove remapInstruction(). 2020-01-27 15:42:13 +00:00
LoopUnrollAndJam.cpp [NFCI][LoopUnrollAndJam] Minor changes. 2020-01-28 20:24:23 +00:00
LoopUnrollPeel.cpp Revert "[Loop Peeling] Add possibility to enable peeling on loop nests." 2020-01-16 10:33:38 -08:00
LoopUnrollRuntime.cpp Revert "[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC)." 2020-01-04 18:44:38 +00:00
LoopUtils.cpp [IRCE] Make IRCE a Function pass. 2020-02-05 09:22:41 -08:00
LoopVersioning.cpp Revert "[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC)." 2020-01-04 18:44:38 +00:00
LowerInvoke.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
LowerMemIntrinsics.cpp
LowerSwitch.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Mem2Reg.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
MetaRenamer.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
MisExpect.cpp Add missing includes needed to prune LLVMContext.h include, NFC 2019-11-14 15:23:15 -08:00
ModuleUtils.cpp [llvm][VectorUtils] Tweak VFShape for scalable vector functions. 2020-01-30 05:53:56 +00:00
NameAnonGlobals.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
PredicateInfo.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
PromoteMemoryToRegister.cpp [Mem2Reg] Delete unused PointerAllocaValues 2019-04-14 07:28:29 +00:00
SSAUpdater.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
SSAUpdaterBulk.cpp
SanitizerStats.cpp
SimplifyCFG.cpp [WinEH] Ignore lifetime.end PHI nodes in empty cleanuppads 2020-01-23 18:18:50 -08:00
SimplifyIndVar.cpp Revert "[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC)." 2020-01-04 18:44:38 +00:00
SimplifyLibCalls.cpp [SimplifyLibCalls] Remove unused IRBuilder argument; NFC 2020-02-03 19:12:57 +01:00
SizeOpts.cpp [PGO][PGSO] Tune flags for profile guided size optimization. 2020-02-05 09:37:32 -08:00
SplitModule.cpp
StripGCRelocates.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
StripNonLineTableDebugInfo.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
SymbolRewriter.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
UnifyFunctionExitNodes.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Utils.cpp [SVFS] Inject TLI Mappings in VFABI attribute. 2019-11-15 18:42:56 +00:00
VNCoercion.cpp [MemDepAnalysis/VNCoercion] Move static method to its only use. [NFCI] 2020-01-17 15:18:42 -08:00
ValueMapper.cpp [ValueMapper] NFC: Remove dead code to pause metadata mapping 2019-08-28 17:43:14 +00:00