aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/BranchProbabilityInfo.cpp
AgeCommit message (Expand)AuthorFilesLines
2019-02-15[BPI] Look through bitcasts in calcZeroHeuristicSam Parker1-1/+7
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-10-15[TI removal] Make variables declared as `TerminatorInst` and initializedChandler Carruth1-5/+5
2018-06-15[BPI] Remove unnecessary std::listBenjamin Kramer1-5/+4
2018-06-08[BPI] Apply invoke heuristic before loop branch heuristicArtur Pilipenko1-11/+8
2018-05-17Require DominatorTree when requiring/preserving LoopInfo in the old pass managerMikael Holmen1-0/+5
2018-05-14Rename DEBUG macro to LLVM_DEBUG.Nicola Zaghen1-8/+10
2018-05-10[STLExtras] Add distance() for ranges, pred_size(), and succ_size()Vedant Kumar1-2/+1
2018-05-01Remove \brief commands from doxygen comments.Adrian Prantl1-9/+9
2018-03-02Fix more spelling mistakes in comments of LLVM Analysis passesVedant Kumar1-1/+1
2018-02-23[BPI] Detect branches in loops that make themselves not takenJohn Brawn1-14/+135
2017-11-01[BranchProbabilityInfo] Handle irreducible loops.Geoff Berry1-10/+80
2017-08-26Add options to dump block frequency/branch probability info in text.Hiroshi Yamauchi1-0/+15
2017-08-23[PGO] Set edge weights for indirectbr instruction with profile countsRong Xu1-1/+1
2017-08-04[ConstantInt] Use ConstantInt::getValue instead of Constant::getUniqueInteger...Craig Topper1-1/+1
2017-07-21[Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; ...Eugene Zelenko1-2/+17
2017-07-06[Constants] If we already have a ConstantInt*, prefer to use isZero/isOne/isM...Craig Topper1-1/+1
2017-06-08[BPI] Don't assume that strcmp returning >0 is more likely than <0John Brawn1-6/+41
2017-05-18[BPI] Reduce the probability of unreachable edge to minimal value greater than 0Serguei Katkov1-40/+9
2017-05-12[BPI] Ignore remainder while distributing the remaining probability from unre...Serguei Katkov1-8/+3
2017-04-17[BPI] NFC: reorder ifs to bail out earlierSerguei Katkov1-19/+18
2017-04-17[BPI] Use metadata info before any other heuristicsSerguei Katkov1-19/+81
2017-04-12[BPI] Refactor post domination calculation and simple fix for ColdCallSerguei Katkov1-46/+73
2016-12-17Retry: [BPI] Use a safer constructor to calculate branch probabilitiesVedant Kumar1-12/+12
2016-12-17Revert "[BPI] Use a safer constructor to calculate branch probabilities"Vedant Kumar1-12/+12
2016-12-17[BPI] Use a safer constructor to calculate branch probabilitiesVedant Kumar1-12/+12
2016-11-23[PM] Change the static object whose address is used to uniquely identifyChandler Carruth1-1/+1
2016-09-23Enhance calcColdCallHeuristics for InvokeInstJun Bum Lim1-0/+10
2016-08-09Consistently use FunctionAnalysisManagerSean Silva1-2/+2
2016-07-15Re-submit r272891 "Prevent dangling pointer problems in BranchProbabilityInfo"Igor Laevsky1-0/+9
2016-06-17[PPC] Strength-reduce SmallVectors into arrays.Benjamin Kramer1-1/+3
2016-06-16Revert r272891 "[JumpThreading] Prevent dangling pointer problems in BranchPr...Igor Laevsky1-8/+0
2016-06-16[JumpThreading] Prevent dangling pointer problems in BranchProbabilityInfoIgor Laevsky1-0/+8
2016-05-05[PM] Port Branch Probability Analysis pass to the new pass manager.Xinliang David Li1-0/+17
2016-04-18[BPI] Consider deoptimize calls as "unreachable"Sanjoy Das1-1/+6
2016-04-07Const correctness for BranchProbabilityInfo (NFC)Mehdi Amini1-25/+26
2015-12-22[BPI] Fix two potential divide-by-zero operations that are introduced in r256...Cong Hou1-2/+8
2015-12-22[BPI] Replace weights by probabilities in BPI.Cong Hou1-168/+119
2015-12-21Enhance BranchProbabilityInfo::calcUnreachableHeuristics for InvokeInstJun Bum Lim1-0/+10
2015-12-18Revert "Enhance BranchProbabilityInfo::calcUnreachableHeuristics for InvokeInst"Rafael Espindola1-10/+0
2015-12-18Enhance BranchProbabilityInfo::calcUnreachableHeuristics for InvokeInstJun Bum Lim1-0/+10
2015-12-01Replace all weight-based interfaces in MBB with probability-based interfaces,...Cong Hou1-0/+6
2015-12-01Revert r254348: "Replace all weight-based interfaces in MBB with probability-...Hans Wennborg1-6/+0
2015-12-01Replace all weight-based interfaces in MBB with probability-based interfaces,...Cong Hou1-0/+6
2015-10-26Check the case that the numerator and denominator are both zeros when getting...Cong Hou1-0/+10
2015-10-10Analysis: Remove implicit ilist iterator conversionsDuncan P. N. Exon Smith1-5/+4
2015-07-15Create a wrapper pass for BranchProbabilityInfo.Cong Hou1-45/+58
2015-05-28Add BranchProbabilityInfo::releaseMemory to clear the Weights field.Pete Cooper1-0/+4
2015-05-07Fix information loss in branch probability computation.Diego Novillo1-12/+25
2015-05-06Allow 0-weight branches in BranchProbabilityInfo.Diego Novillo1-5/+7