llvm-project/bolt/lib/Passes
Kazu Hirata e324a80fab [BOLT] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-02 23:12:38 -08:00
..
ADRRelaxationPass.cpp [BOLT] Replace uses of layout with basic block list 2022-07-14 13:07:05 -07:00
Aligner.cpp [bolt] Use llvm::sys::RWMutex instead of std::shared_timed_mutex 2022-11-21 19:24:32 -05:00
AllocCombiner.cpp [BOLT] Increase coverage of shrink wrapping [1/5] 2022-07-11 17:29:22 -07:00
AsmDump.cpp [BOLT] Use std::nullopt instead of None (NFC) 2022-12-02 23:12:38 -08:00
BinaryFunctionCallGraph.cpp [BOLT] Update buildCallGraph to check for split blocks 2022-08-18 21:55:08 -07:00
BinaryPasses.cpp [BOLT] Fixed some typos 2022-09-30 17:07:04 +02:00
CMOVConversion.cpp [BOLT] CMOVConversion pass 2022-03-08 10:44:31 -08:00
CMakeLists.txt adds huge pages support of PIE/no-PIE binaries 2022-11-04 15:14:21 +03:00
CacheMetrics.cpp [BOLT] Unifying implementations of ext-tsp 2022-09-19 08:29:08 -07:00
CallGraph.cpp [BOLT] Fix unused function warnings 2022-11-29 11:13:14 -08:00
CallGraphWalker.cpp [BOLT][NFC] Fix file-description comments 2021-12-21 10:21:41 -08:00
DataflowAnalysis.cpp [BOLT][NFC] Use BitVector::set_bits 2022-05-11 16:23:44 -07:00
DataflowInfoManager.cpp [BOLT] Use std::nullopt instead of None (NFC) 2022-12-02 23:12:38 -08:00
FrameAnalysis.cpp [BOLT][NFC] Use llvm::any_of 2022-08-27 21:36:15 -07:00
FrameOptimizer.cpp Use llvm::lower_bound (NFC) 2022-09-03 11:17:37 -07:00
HFSort.cpp [BOLT][NFC] Use range-based STL wrappers 2022-06-23 22:16:27 -07:00
HFSortPlus.cpp [BOLT][NFC] Use range-based STL wrappers 2022-06-23 22:16:27 -07:00
Hugify.cpp adds huge pages support of PIE/no-PIE binaries 2022-11-04 15:14:21 +03:00
IdenticalCodeFolding.cpp [BOLT] Towards FunctionLayout const-correctness 2022-08-24 16:32:33 -07:00
IndirectCallPromotion.cpp [BOLT] Fixed some typos 2022-09-30 17:07:04 +02:00
Inliner.cpp Use drop_begin (NFC) 2022-07-31 15:17:09 -07:00
Instrumentation.cpp [bolt] Use llvm::sys::RWMutex instead of std::shared_timed_mutex 2022-11-21 19:24:32 -05:00
JTFootprintReduction.cpp [BOLT][NFC] Fix braces usage in Passes 2021-12-28 16:36:17 -08:00
LivenessAnalysis.cpp [BOLT][NFC] Fix file-description comments 2021-12-21 10:21:41 -08:00
LongJmp.cpp [BOLT] Add function layout class 2022-07-16 17:23:24 -07:00
LoopInversionPass.cpp [BOLT] Add randomN split strategy 2022-08-18 21:55:07 -07:00
MCF.cpp [bolt] Remove redundaunt control-flow statements (NFC) 2022-07-30 10:35:49 -07:00
PLTCall.cpp [BOLT] Replace uses of layout with basic block list 2022-07-14 13:07:05 -07:00
PatchEntries.cpp [BOLT][NFC] Use llvm::any_of 2022-08-27 21:36:15 -07:00
PettisAndHansen.cpp [BOLT][NFC] Use range-based STL wrappers 2022-06-23 22:16:27 -07:00
RegAnalysis.cpp [bolt] Remove unneeded cl::ZeroOrMore for cl::opt options 2022-06-05 13:29:49 -07:00
RegReAssign.cpp LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-09 04:06:52 +00:00
ReorderAlgorithm.cpp [BOLT] Unifying implementations of ext-tsp 2022-09-19 08:29:08 -07:00
ReorderData.cpp [BOLT] Section-handling refactoring/overhaul 2022-10-13 23:10:39 -07:00
ReorderFunctions.cpp [BOLT] Update buildCallGraph to check for split blocks 2022-08-18 21:55:08 -07:00
RetpolineInsertion.cpp [BOLT] Fixed some typos 2022-09-30 17:07:04 +02:00
ShrinkWrapping.cpp [BOLT][NFC] Use llvm::any_of 2022-08-27 21:36:15 -07:00
SplitFunctions.cpp [BOLT] Emit LSDA call sites for all fragments 2022-09-08 17:10:29 -07:00
StackAllocationAnalysis.cpp [BOLT] Fix AND evaluation bug in shrink wrapping 2022-05-26 14:59:28 -07:00
StackAvailableExpressions.cpp Add missing MC includes in bolt/ 2022-02-09 08:28:34 -05:00
StackPointerTracking.cpp [BOLT][NFC] Fix file-description comments 2021-12-21 10:21:41 -08:00
StackReachingUses.cpp [BOLT][NFC] Fix braces usage in Passes 2021-12-28 16:36:17 -08:00
StokeInfo.cpp [BOLT] Towards FunctionLayout const-correctness 2022-08-24 16:32:33 -07:00
TailDuplication.cpp [BOLT] Add function layout class 2022-07-16 17:23:24 -07:00
ThreeWayBranch.cpp [BOLT] Add function layout class 2022-07-16 17:23:24 -07:00
ValidateInternalCalls.cpp Add BAT testing framework 2022-07-29 14:55:04 -07:00
ValidateMemRefs.cpp [BOLT] Add pass to fix ambiguous memory references 2022-10-12 18:39:50 -07:00
VeneerElimination.cpp [BOLT][AArch64] Handle gold linker veneers 2022-07-13 14:47:22 +03:00