summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Lanai/LanaiInstrInfo.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-09-14 17:24:15 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-09-14 17:24:15 +0000
commite8e0f5cac6d80b489e58a369a5389387ff91d60a (patch)
tree88f45d7f6dd53509e9a47978a841322cef0dc665 /llvm/lib/Target/Lanai/LanaiInstrInfo.cpp
parenta2b036e88b8f31c4a2169c1d5634e21c9c8eb927 (diff)
downloadbcm5719-llvm-e8e0f5cac6d80b489e58a369a5389387ff91d60a.tar.gz
bcm5719-llvm-e8e0f5cac6d80b489e58a369a5389387ff91d60a.zip
Make analyzeBranch family of instruction names consistent
analyzeBranch was renamed to use lowercase first, rename the related set to match. llvm-svn: 281506
Diffstat (limited to 'llvm/lib/Target/Lanai/LanaiInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/Lanai/LanaiInstrInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Lanai/LanaiInstrInfo.cpp b/llvm/lib/Target/Lanai/LanaiInstrInfo.cpp
index a626da225f1..2f3e64aa025 100644
--- a/llvm/lib/Target/Lanai/LanaiInstrInfo.cpp
+++ b/llvm/lib/Target/Lanai/LanaiInstrInfo.cpp
@@ -558,7 +558,7 @@ LanaiInstrInfo::optimizeSelect(MachineInstr &MI,
// - FalseBlock is set to the destination if condition evaluates to false (it
// is the nullptr if the branch is unconditional);
// - condition is populated with machine operands needed to generate the branch
-// to insert in InsertBranch;
+// to insert in insertBranch;
// Returns: false if branch could successfully be analyzed.
bool LanaiInstrInfo::analyzeBranch(MachineBasicBlock &MBB,
MachineBasicBlock *&TrueBlock,
@@ -658,14 +658,14 @@ bool LanaiInstrInfo::ReverseBranchCondition(
// Insert the branch with condition specified in condition and given targets
// (TrueBlock and FalseBlock). This function returns the number of machine
// instructions inserted.
-unsigned LanaiInstrInfo::InsertBranch(MachineBasicBlock &MBB,
+unsigned LanaiInstrInfo::insertBranch(MachineBasicBlock &MBB,
MachineBasicBlock *TrueBlock,
MachineBasicBlock *FalseBlock,
ArrayRef<MachineOperand> Condition,
const DebugLoc &DL,
int *BytesAdded) const {
// Shouldn't be a fall through.
- assert(TrueBlock && "InsertBranch must not be told to insert a fallthrough");
+ assert(TrueBlock && "insertBranch must not be told to insert a fallthrough");
assert(!BytesAdded && "code size not handled");
// If condition is empty then an unconditional branch is being inserted.
OpenPOWER on IntegriCloud