EdgeBundles.h (221345) | EdgeBundles.h (234353) |
---|---|
1//===-------- EdgeBundles.h - Bundles of CFG edges --------------*- 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//===----------------------------------------------------------------------===// --- 4 unchanged lines hidden (view full) --- 13// 14//===----------------------------------------------------------------------===// 15 16#ifndef LLVM_CODEGEN_EDGEBUNDLES_H 17#define LLVM_CODEGEN_EDGEBUNDLES_H 18 19#include "llvm/ADT/ArrayRef.h" 20#include "llvm/ADT/IntEqClasses.h" | 1//===-------- EdgeBundles.h - Bundles of CFG edges --------------*- 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//===----------------------------------------------------------------------===// --- 4 unchanged lines hidden (view full) --- 13// 14//===----------------------------------------------------------------------===// 15 16#ifndef LLVM_CODEGEN_EDGEBUNDLES_H 17#define LLVM_CODEGEN_EDGEBUNDLES_H 18 19#include "llvm/ADT/ArrayRef.h" 20#include "llvm/ADT/IntEqClasses.h" |
21#include "llvm/ADT/Twine.h" |
|
21#include "llvm/CodeGen/MachineFunctionPass.h" 22 23namespace llvm { 24 25class EdgeBundles : public MachineFunctionPass { 26 const MachineFunction *MF; 27 28 /// EC - Each edge bundle is an equivalence class. The keys are: --- 27 unchanged lines hidden (view full) --- 56private: 57 virtual bool runOnMachineFunction(MachineFunction&); 58 virtual void getAnalysisUsage(AnalysisUsage&) const; 59}; 60 61/// Specialize WriteGraph, the standard implementation won't work. 62raw_ostream &WriteGraph(raw_ostream &O, const EdgeBundles &G, 63 bool ShortNames = false, | 22#include "llvm/CodeGen/MachineFunctionPass.h" 23 24namespace llvm { 25 26class EdgeBundles : public MachineFunctionPass { 27 const MachineFunction *MF; 28 29 /// EC - Each edge bundle is an equivalence class. The keys are: --- 27 unchanged lines hidden (view full) --- 57private: 58 virtual bool runOnMachineFunction(MachineFunction&); 59 virtual void getAnalysisUsage(AnalysisUsage&) const; 60}; 61 62/// Specialize WriteGraph, the standard implementation won't work. 63raw_ostream &WriteGraph(raw_ostream &O, const EdgeBundles &G, 64 bool ShortNames = false, |
64 const std::string &Title = ""); | 65 const Twine &Title = ""); |
65 66} // end namespace llvm 67 68#endif | 66 67} // end namespace llvm 68 69#endif |