diff options
author | Evan Cheng <evan.cheng@apple.com> | 2012-01-19 00:06:10 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2012-01-19 00:06:10 +0000 |
commit | 1eb2bb2295273e6d0a0eacccbe3b44fcdb38c6d1 (patch) | |
tree | 717cea4d669f3dbfe4fe1fb153cc871e37f716d5 /llvm | |
parent | f8379a0fc3592db91edc8751ed6bb904144caa5f (diff) | |
download | bcm5719-llvm-1eb2bb2295273e6d0a0eacccbe3b44fcdb38c6d1.tar.gz bcm5719-llvm-1eb2bb2295273e6d0a0eacccbe3b44fcdb38c6d1.zip |
Rename Finalizebundle to finalizeBundle to conform to coding guideline.
llvm-svn: 148440
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/CodeGen/MachineInstrBundle.h | 4 | ||||
-rw-r--r-- | llvm/lib/CodeGen/MachineInstrBundle.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstrBundle.h b/llvm/include/llvm/CodeGen/MachineInstrBundle.h index 8c150e6d56b..2bc78ccbfe6 100644 --- a/llvm/include/llvm/CodeGen/MachineInstrBundle.h +++ b/llvm/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/llvm/lib/CodeGen/MachineInstrBundle.cpp b/llvm/lib/CodeGen/MachineInstrBundle.cpp index b766d081d5c..ce8c09a3e92 100644 --- a/llvm/lib/CodeGen/MachineInstrBundle.cpp +++ b/llvm/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/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp b/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp index 55b4d30759a..6c4bb96835a 100644 --- a/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp +++ b/llvm/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; |