Rename Finalizebundle to finalizeBundle to conform to coding guideline.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 19 Jan 2012 00:06:10 +0000 (00:06 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 19 Jan 2012 00:06:10 +0000 (00:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148440 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstrBundle.h
lib/CodeGen/MachineInstrBundle.cpp
lib/Target/ARM/Thumb2ITBlockPass.cpp

index 8c150e6d56b88972f6b82c1b87a2256fda218efb..2bc78ccbfe606edcde1c723e0f360bbd89c21095 100644 (file)
 
 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);
   
index b766d081d5c60031351524964691506920b64f36..ce8c09a3e92ea3728ff5c7760c7a943626716402 100644 (file)
@@ -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();
index 55b4d30759a6edd67289dc68996d53b628212a8c..6c4bb96835a8ef14384cea5e4254a6d7008bcfcb 100644 (file)
@@ -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;