Deleted Added
sdiff udiff text old ( 193323 ) new ( 198892 )
full compact
1//===-- PPCBranchSelector.cpp - Emit long conditional branches-----*- C++ -*-=//
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//===----------------------------------------------------------------------===//

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

18#define DEBUG_TYPE "ppc-branch-select"
19#include "PPC.h"
20#include "PPCInstrBuilder.h"
21#include "PPCInstrInfo.h"
22#include "PPCPredicates.h"
23#include "llvm/CodeGen/MachineFunctionPass.h"
24#include "llvm/Target/TargetMachine.h"
25#include "llvm/ADT/Statistic.h"
26#include "llvm/Support/Compiler.h"
27#include "llvm/Support/MathExtras.h"
28using namespace llvm;
29
30STATISTIC(NumExpanded, "Number of branches expanded to long format");
31
32namespace {
33 struct VISIBILITY_HIDDEN PPCBSel : public MachineFunctionPass {
34 static char ID;
35 PPCBSel() : MachineFunctionPass(&ID) {}
36
37 /// BlockSizes - The sizes of the basic blocks in the function.
38 std::vector<unsigned> BlockSizes;
39
40 virtual bool runOnMachineFunction(MachineFunction &Fn);
41

--- 133 unchanged lines hidden ---