diff options
author | Jakub Staszak <jstaszak@apple.com> | 2011-06-16 20:22:37 +0000 |
---|---|---|
committer | Jakub Staszak <jstaszak@apple.com> | 2011-06-16 20:22:37 +0000 |
commit | 7cc2b07437a1243c33324549a1904fefc5f1845e (patch) | |
tree | 98fdfe4b06c5b320c982c137fbdd4e292af9f330 /lib/CodeGen/CMakeLists.txt | |
parent | 1300f3019e5d590231bbc3d907626708515d3212 (diff) | |
download | llvm-7cc2b07437a1243c33324549a1904fefc5f1845e.tar.gz llvm-7cc2b07437a1243c33324549a1904fefc5f1845e.tar.bz2 llvm-7cc2b07437a1243c33324549a1904fefc5f1845e.tar.xz |
Introduce MachineBranchProbabilityInfo class, which has similar API to
BranchProbabilityInfo (expect setEdgeWeight which is not available here).
Branch Weights are kept in MachineBasicBlocks. To turn off this analysis
set -use-mbpi=false.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133184 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CMakeLists.txt')
-rw-r--r-- | lib/CodeGen/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt index c726d924d2..aef4ff2a79 100644 --- a/lib/CodeGen/CMakeLists.txt +++ b/lib/CodeGen/CMakeLists.txt @@ -33,6 +33,7 @@ add_llvm_library(LLVMCodeGen LocalStackSlotAllocation.cpp LowerSubregs.cpp MachineBasicBlock.cpp + MachineBranchProbabilityInfo.cpp MachineCSE.cpp MachineDominators.cpp MachineFunction.cpp |