From 1b9fc8ed659589ee2f1d010adfd63f3d890c6ec3 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 14 Sep 2016 20:43:16 +0000 Subject: Finish renaming remaining analyzeBranch functions llvm-svn: 281535 --- llvm/lib/Target/Sparc/SparcInstrInfo.cpp | 4 ++-- llvm/lib/Target/Sparc/SparcInstrInfo.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib/Target/Sparc') diff --git a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp index 061b9641805..ea8ed830baf 100644 --- a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp +++ b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp @@ -271,7 +271,7 @@ unsigned SparcInstrInfo::insertBranch(MachineBasicBlock &MBB, return 2; } -unsigned SparcInstrInfo::RemoveBranch(MachineBasicBlock &MBB, +unsigned SparcInstrInfo::removeBranch(MachineBasicBlock &MBB, int *BytesRemoved) const { assert(!BytesRemoved && "code size not handled"); @@ -295,7 +295,7 @@ unsigned SparcInstrInfo::RemoveBranch(MachineBasicBlock &MBB, return Count; } -bool SparcInstrInfo::ReverseBranchCondition( +bool SparcInstrInfo::reverseBranchCondition( SmallVectorImpl &Cond) const { assert(Cond.size() == 1); SPCC::CondCodes CC = static_cast(Cond[0].getImm()); diff --git a/llvm/lib/Target/Sparc/SparcInstrInfo.h b/llvm/lib/Target/Sparc/SparcInstrInfo.h index 91d86cb6453..c053cc4c475 100644 --- a/llvm/lib/Target/Sparc/SparcInstrInfo.h +++ b/llvm/lib/Target/Sparc/SparcInstrInfo.h @@ -70,7 +70,7 @@ public: SmallVectorImpl &Cond, bool AllowModify = false) const override; - unsigned RemoveBranch(MachineBasicBlock &MBB, + unsigned removeBranch(MachineBasicBlock &MBB, int *BytesRemoved = nullptr) const override; unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, @@ -79,7 +79,7 @@ public: int *BytesAdded = nullptr) const override; bool - ReverseBranchCondition(SmallVectorImpl &Cond) const override; + reverseBranchCondition(SmallVectorImpl &Cond) const override; void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, const DebugLoc &DL, unsigned DestReg, unsigned SrcReg, -- cgit v1.2.3