aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/BranchProbabilityInfo.cpp
AgeCommit message (Expand)AuthorFilesLines
2024-06-27[IR] Add getDataLayout() helpers to BasicBlock and Instruction (#96902)Nikita Popov1-1/+1
2024-06-24[BPI] Use BasicBlock::isEHPad() to check exception handling block. (#95771)Enna11-6/+3
2024-06-03[BPI] Cache LoopExitBlocks to improve compile time (#93451)Enna11-5/+8
2024-05-09Replace uses of ConstantExpr::getCompare. (#91558)Eli Friedman1-2/+2
2024-05-07[Analysis, CodeGen, DebugInfo] Use StringRef::operator== instead of StringRef...Kazu Hirata1-3/+2
2023-12-02[BPI] Reuse the AsmWriter's BB naming scheme in BranchProbabilityPrinterPass ...Mircea Trofin1-2/+5
2023-11-21Support BranchProbabilityInfo in update_analyze_test_checks.py (#72943)Matthias Braun1-3/+2
2023-04-18[BPI] Add method to swap outgoing edges probabilitiesMax Kazantsev1-0/+8
2023-03-17[Analysis] Make order of analysis executions more stableBjorn Pettersson1-4/+5
2023-03-14[Analysis] Use *{Set,Map}::contains (NFC)Kazu Hirata1-1/+1
2023-01-19[llvm][ir] Purge MD_prof custom accessorsChristian Ulmann1-7/+2
2022-12-16std::optional::value => operator*/operator->Fangrui Song1-1/+1
2022-12-14[Analysis] llvm::Optional => std::optionalFangrui Song1-8/+8
2022-12-02[Analysis] Use std::nullopt instead of None (NFC)Kazu Hirata1-4/+4
2022-09-01[PGO] Support PGO annotation of CallBrInstRong Xu1-1/+1
2022-08-03[llvm][NFC] Refactor code to use ProfDataUtilsPaul Kirth1-13/+8
2022-07-27Revert "[llvm][NFC] Refactor code to use ProfDataUtils"Paul Kirth1-8/+13
2022-07-27[llvm][NFC] Refactor code to use ProfDataUtilsPaul Kirth1-13/+8
2022-07-16[Analysis] Qualify auto variables in for loops (NFC)Kazu Hirata1-1/+1
2022-07-13[llvm] Use value instead of getValue (NFC)Kazu Hirata1-3/+2
2022-07-04[BPI] Avoid ConstantExpr::get()Nikita Popov1-2/+4
2022-06-25Revert "Don't use Optional::hasValue (NFC)"Kazu Hirata1-2/+3
2022-06-25Don't use Optional::hasValue (NFC)Kazu Hirata1-3/+2
2022-06-20[llvm] Don't use Optional::getValue (NFC)Kazu Hirata1-6/+4
2022-06-18[llvm] Use value_or instead of getValueOr (NFC)Kazu Hirata1-4/+3
2022-01-19[NFC] Add missing <map> includesNikita Popov1-0/+1
2021-11-22[BPI] Look-up tables for non-loop branches. NFC.Sjoerd Meijer1-104/+97
2021-11-11[BPI] Push exit block rather than exiting ones in getSccExitBlocksBin Cheng1-1/+1
2021-07-17[Analaysis, CodeGen] Remove getHotSucc (NFC)Kazu Hirata1-20/+0
2021-06-04Fix some -Wunused-but-set-variable in -DLLVM_ENABLE_ASSERTIONS=off buildFangrui Song1-0/+1
2021-02-06[Analysis] Use range-based for loops (NFC)Kazu Hirata1-6/+3
2021-02-01[llvm] Use pop_back_val (NFC)Kazu Hirata1-2/+1
2020-12-23[BPI] Improve static heuristics for "cold" paths.Evgeniy Brevnov1-296/+349
2020-12-18[Analysis, CodeGen, IR] Use contains (NFC)Kazu Hirata1-2/+1
2020-11-17[BPI] Look through bitcasts in calcZeroHeuristicWei Wang1-1/+1
2020-11-15[JumpThreading] Call eraseBlock when folding a conditional branchKazu Hirata1-0/+2
2020-11-15[BranchProbabilityInfo] Use predecessors(BB) and successors(BB) (NFC)Kazu Hirata1-5/+4
2020-11-10Revert "[BranchProbabilityInfo] Use SmallVector (NFC)"Kazu Hirata1-27/+35
2020-11-10[BranchProbabilityInfo] Use a range-based for loop (NFC)Kazu Hirata1-2/+1
2020-11-09[BranchProbabilityInfo] Use SmallVector (NFC)Kazu Hirata1-35/+27
2020-11-06[BranchProbabilityInfo] Simplify getEdgeProbability (NFC)Kazu Hirata1-11/+7
2020-11-06[BranchProbabilityInfo] Use succ_size (NFC)Kazu Hirata1-2/+1
2020-11-06[BranchProbabilityInfo] Introduce method copyEdgeProbabilities(). NFCYevgeny Rouban1-0/+19
2020-11-06[BranchProbabilityInfo] Remove block handles in eraseBlock()Yevgeny Rouban1-1/+2
2020-11-06[BranchProbabilityInfo] Get rid of MaxSuccIdx. NFCYevgeny Rouban1-25/+22
2020-10-31Revert "Use uint64_t for branch weights instead of uint32_t"Arthur Eubanks1-31/+23
2020-10-30Use uint64_t for branch weights instead of uint32_tArthur Eubanks1-23/+31
2020-10-27[BranchProbabilityInfo] Make MaxSuccIdx[Src] efficient and add a comment abou...Fangrui Song1-4/+4
2020-10-27[BranchProbabilityInfo] Fix eraseBlockKazu Hirata1-2/+13
2020-10-27Revert "Use uint64_t for branch weights instead of uint32_t"Nico Weber1-3/+6