Thread the determination of branch prediction hit rates back through the if-conversio...
authorOwen Anderson <resistor@mac.com>
Fri, 1 Oct 2010 22:45:50 +0000 (22:45 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 1 Oct 2010 22:45:50 +0000 (22:45 +0000)
commite3cc84a43d6a4bb6c50f58f3dd8e60e28787509e
tree236f7bad5fd51f72f50409f3d67bf9dcda8c5388
parent6314ef9e8100c889956bd26ba71cc04e06564568
Thread the determination of branch prediction hit rates back through the if-conversion heuristic APIs.  For now,
stick with a constant estimate of 90% (branch predictors are good!), but we might find that we want to provide
more nuanced estimates in the future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115364 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/IfConversion.cpp
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMBaseInstrInfo.h
lib/Target/ARM/Thumb2InstrInfo.cpp
lib/Target/ARM/Thumb2InstrInfo.h