Browse Source

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
Evan Cheng 13 years ago
parent
commit
9b159710eb

+ 2 - 2
include/llvm/CodeGen/MachineInstrBundle.h

@@ -19,13 +19,13 @@
 
 
 namespace llvm {
 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).
 /// a sequence of instructions starting from FirstMI to LastMI (inclusive).
 /// This routine adds a BUNDLE instruction to represent the bundle, it adds
 /// This routine adds a BUNDLE instruction to represent the bundle, it adds
 /// IsInternalRead markers to MachineOperands which are defined inside the
 /// IsInternalRead markers to MachineOperands which are defined inside the
 /// bundle, and it copies externally visible defs and uses to the BUNDLE
 /// bundle, and it copies externally visible defs and uses to the BUNDLE
 /// instruction.
 /// instruction.
-void FinalizeBundle(MachineBasicBlock &MBB,
+void finalizeBundle(MachineBasicBlock &MBB,
                     MachineBasicBlock::instr_iterator FirstMI,
                     MachineBasicBlock::instr_iterator FirstMI,
                     MachineBasicBlock::instr_iterator LastMI);
                     MachineBasicBlock::instr_iterator LastMI);
   
   

+ 2 - 2
lib/CodeGen/MachineInstrBundle.cpp

@@ -71,13 +71,13 @@ bool UnpackMachineBundles::runOnMachineFunction(MachineFunction &MF) {
   return Changed;
   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).
 /// a sequence of instructions starting from FirstMI to LastMI (inclusive).
 /// This routine adds a BUNDLE instruction to represent the bundle, it adds
 /// This routine adds a BUNDLE instruction to represent the bundle, it adds
 /// IsInternalRead markers to MachineOperands which are defined inside the
 /// IsInternalRead markers to MachineOperands which are defined inside the
 /// bundle, and it copies externally visible defs and uses to the BUNDLE
 /// bundle, and it copies externally visible defs and uses to the BUNDLE
 /// instruction.
 /// instruction.
-void llvm::FinalizeBundle(MachineBasicBlock &MBB,
+void llvm::finalizeBundle(MachineBasicBlock &MBB,
                           MachineBasicBlock::instr_iterator FirstMI,
                           MachineBasicBlock::instr_iterator FirstMI,
                           MachineBasicBlock::instr_iterator LastMI) {
                           MachineBasicBlock::instr_iterator LastMI) {
   const TargetMachine &TM = MBB.getParent()->getTarget();
   const TargetMachine &TM = MBB.getParent()->getTarget();

+ 1 - 1
lib/Target/ARM/Thumb2ITBlockPass.cpp

@@ -239,7 +239,7 @@ bool Thumb2ITBlockPass::InsertITInstructions(MachineBasicBlock &MBB) {
     LastITMI->findRegisterUseOperand(ARM::ITSTATE)->setIsKill();
     LastITMI->findRegisterUseOperand(ARM::ITSTATE)->setIsKill();
 
 
     // Finalize the bundle.
     // Finalize the bundle.
-    FinalizeBundle(MBB, InsertPos.getInstrIterator(), LastITMI);
+    finalizeBundle(MBB, InsertPos.getInstrIterator(), LastITMI);
 
 
     Modified = true;
     Modified = true;
     ++NumITs;
     ++NumITs;