Deleted Added
full compact
MachineLoopInfo.cpp (200581) MachineLoopInfo.cpp (201360)
1//===- MachineLoopInfo.cpp - Natural Loop Calculator ----------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 5 unchanged lines hidden (view full) ---

14//
15//===----------------------------------------------------------------------===//
16
17#include "llvm/CodeGen/MachineLoopInfo.h"
18#include "llvm/CodeGen/MachineDominators.h"
19#include "llvm/CodeGen/Passes.h"
20using namespace llvm;
21
1//===- MachineLoopInfo.cpp - Natural Loop Calculator ----------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 5 unchanged lines hidden (view full) ---

14//
15//===----------------------------------------------------------------------===//
16
17#include "llvm/CodeGen/MachineLoopInfo.h"
18#include "llvm/CodeGen/MachineDominators.h"
19#include "llvm/CodeGen/Passes.h"
20using namespace llvm;
21
22namespace llvm {
22#define MLB class LoopBase<MachineBasicBlock, MachineLoop>
23TEMPLATE_INSTANTIATION(MLB);
24#undef MLB
25#define MLIB class LoopInfoBase<MachineBasicBlock, MachineLoop>
26TEMPLATE_INSTANTIATION(MLIB);
27#undef MLIB
23#define MLB class LoopBase<MachineBasicBlock, MachineLoop>
24TEMPLATE_INSTANTIATION(MLB);
25#undef MLB
26#define MLIB class LoopInfoBase<MachineBasicBlock, MachineLoop>
27TEMPLATE_INSTANTIATION(MLIB);
28#undef MLIB
29}
28
29char MachineLoopInfo::ID = 0;
30static RegisterPass<MachineLoopInfo>
31X("machine-loops", "Machine Natural Loop Construction", true);
32
33const PassInfo *const llvm::MachineLoopInfoID = &X;
34
35bool MachineLoopInfo::runOnMachineFunction(MachineFunction &) {

--- 38 unchanged lines hidden ---
30
31char MachineLoopInfo::ID = 0;
32static RegisterPass<MachineLoopInfo>
33X("machine-loops", "Machine Natural Loop Construction", true);
34
35const PassInfo *const llvm::MachineLoopInfoID = &X;
36
37bool MachineLoopInfo::runOnMachineFunction(MachineFunction &) {

--- 38 unchanged lines hidden ---