diff options
author | Jacques Pienaar <jpienaar@google.com> | 2016-07-15 14:41:04 +0000 |
---|---|---|
committer | Jacques Pienaar <jpienaar@google.com> | 2016-07-15 14:41:04 +0000 |
commit | 71c30a14b7c808f12025414e2ad01fc8f39a5bfc (patch) | |
tree | 859fd6794aafbdb71604c5beda540c3d973adbc7 /llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | |
parent | ee40d1e8da38e37a25854868d007720454396648 (diff) | |
download | bcm5719-llvm-71c30a14b7c808f12025414e2ad01fc8f39a5bfc.tar.gz bcm5719-llvm-71c30a14b7c808f12025414e2ad01fc8f39a5bfc.zip |
Rename AnalyzeBranch* to analyzeBranch*.
Summary: NFC. Rename AnalyzeBranch/AnalyzeBranchPredicate to analyzeBranch/analyzeBranchPredicate to follow LLVM coding style and be consistent with TargetInstrInfo's analyzeCompare and analyzeSelect.
Reviewers: tstellarAMD, mcrosier
Subscribers: mcrosier, jholewinski, jfb, arsenm, dschuff, jyknight, dsanders, nemanjai
Differential Revision: https://reviews.llvm.org/D22409
llvm-svn: 275564
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp index f6d8306d2f0..b6ae70ec1a2 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp @@ -444,7 +444,8 @@ void PPCInstrInfo::getNoopForMachoTarget(MCInst &NopInst) const { // Branch analysis. // Note: If the condition register is set to CTR or CTR8 then this is a // BDNZ (imm == 1) or BDZ (imm == 0) branch. -bool PPCInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB, +bool PPCInstrInfo::analyzeBranch(MachineBasicBlock &MBB, + MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const { |