summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-01-19 00:06:10 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-01-19 00:06:10 +0000
commit9b159710ebe8a37cba38ca0c5b465e362bd68af7 (patch)
tree4566fb7131fbefc8fd18a0378a272f84392d534a
parentc38c4561cd1c8ee305122205daff2a6324900127 (diff)
downloadllvm-9b159710ebe8a37cba38ca0c5b465e362bd68af7.tar.gz
llvm-9b159710ebe8a37cba38ca0c5b465e362bd68af7.tar.bz2
llvm-9b159710ebe8a37cba38ca0c5b465e362bd68af7.tar.xz
Rename Finalizebundle to finalizeBundle to conform to coding guideline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148440 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachineInstrBundle.h4
-rw-r--r--lib/CodeGen/MachineInstrBundle.cpp4
-rw-r--r--lib/Target/ARM/Thumb2ITBlockPass.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBundle.h b/include/llvm/CodeGen/MachineInstrBundle.h
index 8c150e6d56..2bc78ccbfe 100644
--- a/include/llvm/CodeGen/MachineInstrBundle.h
+++ b/include/llvm/CodeGen/MachineInstrBundle.h
@@ -19,13 +19,13 @@
namespace llvm {
-/// FinalizeBundle - Finalize a machine instruction bundle which includes
+/// finalizeBundle - Finalize a machine instruction bundle which includes
/// a sequence of instructions starting from FirstMI to LastMI (inclusive).
/// This routine adds a BUNDLE instruction to represent the bundle, it adds
/// IsInternalRead markers to MachineOperands which are defined inside the
/// bundle, and it copies externally visible defs and uses to the BUNDLE
/// instruction.
-void FinalizeBundle(MachineBasicBlock &MBB,
+void finalizeBundle(MachineBasicBlock &MBB,
MachineBasicBlock::instr_iterator FirstMI,
MachineBasicBlock::instr_iterator LastMI);
diff --git a/lib/CodeGen/MachineInstrBundle.cpp b/lib/CodeGen/MachineInstrBundle.cpp
index b766d081d5..ce8c09a3e9 100644
--- a/lib/CodeGen/MachineInstrBundle.cpp
+++ b/lib/CodeGen/MachineInstrBundle.cpp
@@ -71,13 +71,13 @@ bool UnpackMachineBundles::runOnMachineFunction(MachineFunction &MF) {
return Changed;
}
-/// FinalizeBundle - Finalize a machine instruction bundle which includes
+/// finalizeBundle - Finalize a machine instruction bundle which includes
/// a sequence of instructions starting from FirstMI to LastMI (inclusive).
/// This routine adds a BUNDLE instruction to represent the bundle, it adds
/// IsInternalRead markers to MachineOperands which are defined inside the
/// bundle, and it copies externally visible defs and uses to the BUNDLE
/// instruction.
-void llvm::FinalizeBundle(MachineBasicBlock &MBB,
+void llvm::finalizeBundle(MachineBasicBlock &MBB,
MachineBasicBlock::instr_iterator FirstMI,
MachineBasicBlock::instr_iterator LastMI) {
const TargetMachine &TM = MBB.getParent()->getTarget();
diff --git a/lib/Target/ARM/Thumb2ITBlockPass.cpp b/lib/Target/ARM/Thumb2ITBlockPass.cpp
index 55b4d30759..6c4bb96835 100644
--- a/lib/Target/ARM/Thumb2ITBlockPass.cpp
+++ b/lib/Target/ARM/Thumb2ITBlockPass.cpp
@@ -239,7 +239,7 @@ bool Thumb2ITBlockPass::InsertITInstructions(MachineBasicBlock &MBB) {
LastITMI->findRegisterUseOperand(ARM::ITSTATE)->setIsKill();
// Finalize the bundle.
- FinalizeBundle(MBB, InsertPos.getInstrIterator(), LastITMI);
+ finalizeBundle(MBB, InsertPos.getInstrIterator(), LastITMI);
Modified = true;
++NumITs;