Move function to obtain branch weights into the BranchInst class. NFC.
authorJuergen Ributzka <juergen@apple.com>
Tue, 9 Dec 2014 16:36:06 +0000 (16:36 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 9 Dec 2014 16:36:06 +0000 (16:36 +0000)
commit50f10eb432f6f6d75a8a477b826ee2621c3d553f
tree85c2b92afdb2d826627deef7bdff5580cf4e384a
parentb900895384ed131fb8baf9b9414e8144d043981f
Move function to obtain branch weights into the BranchInst class. NFC.

Make this function available to other parts of LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223784 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instructions.h
lib/IR/Instructions.cpp
lib/Transforms/Utils/SimplifyCFG.cpp