Pass BranchProbability/BlockMass by value instead of const& as they are small. NFC.
authorCong Hou <congh@google.com>
Thu, 10 Sep 2015 23:10:42 +0000 (23:10 +0000)
committerCong Hou <congh@google.com>
Thu, 10 Sep 2015 23:10:42 +0000 (23:10 +0000)
commitc536bd9e73a4a525771e41b15b209dd1149040cd
treed970ad9b5d98a82d28a8f3c51d04b2dd1db6b27a
parenta29c612ddd84e91718fbb8915a25a50f9c4a3f88
Pass BranchProbability/BlockMass by value instead of const& as they are small. NFC.

llvm-svn: 247357
17 files changed:
llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
llvm/include/llvm/Support/BlockFrequency.h
llvm/include/llvm/Support/BranchProbability.h
llvm/include/llvm/Target/TargetInstrInfo.h
llvm/lib/CodeGen/IfConversion.cpp
llvm/lib/Support/BlockFrequency.cpp
llvm/lib/Target/AMDGPU/R600InstrInfo.cpp
llvm/lib/Target/AMDGPU/R600InstrInfo.h
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.h
llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
llvm/lib/Target/Hexagon/HexagonInstrInfo.h
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.h
llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
llvm/lib/Target/SystemZ/SystemZInstrInfo.h
llvm/unittests/Support/BranchProbabilityTest.cpp