projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reorder methods alphabetically. No functionality change.
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineLoopInfo.cpp
diff --git
a/lib/CodeGen/MachineLoopInfo.cpp
b/lib/CodeGen/MachineLoopInfo.cpp
index 9900728d3e9f658ff9e66d745837836ffd463678..68ddb7b3f47311b592fcb4844b084948c534c205 100644
(file)
--- a/
lib/CodeGen/MachineLoopInfo.cpp
+++ b/
lib/CodeGen/MachineLoopInfo.cpp
@@
-23,12
+23,10
@@
TEMPLATE_INSTANTIATION(class LoopBase<MachineBasicBlock>);
TEMPLATE_INSTANTIATION(class LoopInfoBase<MachineBasicBlock>);
char MachineLoopInfo::ID = 0;
TEMPLATE_INSTANTIATION(class LoopInfoBase<MachineBasicBlock>);
char MachineLoopInfo::ID = 0;
-namespace {
- RegisterPass<MachineLoopInfo>
- X("machine-loops", "Machine Natural Loop Construction", true);
-}
+static RegisterPass<MachineLoopInfo>
+X("machine-loops", "Machine Natural Loop Construction", true);
-const PassInfo *
llvm::MachineLoopInfoID = X.getPassInfo()
;
+const PassInfo *
const llvm::MachineLoopInfoID = &X
;
bool MachineLoopInfo::runOnMachineFunction(MachineFunction &) {
releaseMemory();
bool MachineLoopInfo::runOnMachineFunction(MachineFunction &) {
releaseMemory();
@@
-40,6
+38,3
@@
void MachineLoopInfo::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
AU.addRequired<MachineDominatorTree>();
}
AU.setPreservesAll();
AU.addRequired<MachineDominatorTree>();
}
-
-// Ensure this file gets linked when MachineLoopInfo.h is used.
-DEFINING_FILE_FOR(MachineLoopInfo)