Add new interfaces to MBB for manipulating successors with probabilities instead...
authorCong Hou <congh@google.com>
Wed, 4 Nov 2015 21:37:58 +0000 (21:37 +0000)
committerCong Hou <congh@google.com>
Wed, 4 Nov 2015 21:37:58 +0000 (21:37 +0000)
commit178bfbdf6096d23fac5fa751cede0a8310b37caf
tree7608f49a34466dae93fd0ead6a0cdfd0f858e535
parenta4918675b2a4c24e36fe9109fc607c9baa94fabe
Add new interfaces to MBB for manipulating successors with probabilities instead of weights. NFC.

This is part-1 of the patch that replaces all edge weights in MBB by
probabilities, which only adds new interfaces. No functional changes.

Differential revision: http://reviews.llvm.org/D13908

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252083 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineBasicBlock.h
include/llvm/Support/BranchProbability.h
lib/CodeGen/MachineBasicBlock.cpp