[PATCH] D11241: Create a wrapper pass for BranchProbabilityInfo so that branch probability analysis can be done without requiring a pass.
Cong Hou
congh at google.com
Wed Jul 15 14:14:34 PDT 2015
congh created this revision.
congh added a reviewer: dexonsmith.
congh added subscribers: llvm-commits, davidxl.
This patch is similar to the one adding a wrapper to BlockFrequencyInfo. The patch creates a wrapper pass for BranchProbabilityInfo. This is useful when we want to do branch probability analysis conditionally (e.g. only in PGO mode) but don't want to add one more pass dependence.
http://reviews.llvm.org/D11241
Files:
include/llvm/Analysis/BranchProbabilityInfo.h
include/llvm/InitializePasses.h
lib/Analysis/Analysis.cpp
lib/Analysis/BlockFrequencyInfo.cpp
lib/Analysis/BranchProbabilityInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11241.29829.patch
Type: text/x-patch
Size: 12641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150715/9ab7530f/attachment.bin>
More information about the llvm-commits
mailing list