summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/R600InstrInfo.h
diff options
context:
space:
mode:
authorCong Hou <congh@google.com>2015-09-10 23:10:42 +0000
committerCong Hou <congh@google.com>2015-09-10 23:10:42 +0000
commitc536bd9e73a4a525771e41b15b209dd1149040cd (patch)
treed970ad9b5d98a82d28a8f3c51d04b2dd1db6b27a /llvm/lib/Target/AMDGPU/R600InstrInfo.h
parenta29c612ddd84e91718fbb8915a25a50f9c4a3f88 (diff)
downloadbcm5719-llvm-c536bd9e73a4a525771e41b15b209dd1149040cd.tar.gz
bcm5719-llvm-c536bd9e73a4a525771e41b15b209dd1149040cd.zip
Pass BranchProbability/BlockMass by value instead of const& as they are small. NFC.
llvm-svn: 247357
Diffstat (limited to 'llvm/lib/Target/AMDGPU/R600InstrInfo.h')
-rw-r--r--llvm/lib/Target/AMDGPU/R600InstrInfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/AMDGPU/R600InstrInfo.h b/llvm/lib/Target/AMDGPU/R600InstrInfo.h
index dee4c2b9ae3..e7251c31107 100644
--- a/llvm/lib/Target/AMDGPU/R600InstrInfo.h
+++ b/llvm/lib/Target/AMDGPU/R600InstrInfo.h
@@ -174,18 +174,18 @@ namespace llvm {
bool
isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCyles,
- const BranchProbability &Probability) const override;
+ BranchProbability Probability) const override;
bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCyles,
unsigned ExtraPredCycles,
- const BranchProbability &Probability) const override ;
+ BranchProbability Probability) const override ;
bool
isProfitableToIfCvt(MachineBasicBlock &TMBB,
unsigned NumTCycles, unsigned ExtraTCycles,
MachineBasicBlock &FMBB,
unsigned NumFCycles, unsigned ExtraFCycles,
- const BranchProbability &Probability) const override;
+ BranchProbability Probability) const override;
bool DefinesPredicate(MachineInstr *MI,
std::vector<MachineOperand> &Pred) const override;
OpenPOWER on IntegriCloud