1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Make headers standalone.

llvm-svn: 144537
This commit is contained in:
Benjamin Kramer 2011-11-14 17:45:03 +00:00
parent 6d85bbc486
commit bff5aaee3f
6 changed files with 14 additions and 8 deletions

View File

@ -14,18 +14,16 @@
#ifndef LLVM_ANALYSIS_INLINECOST_H #ifndef LLVM_ANALYSIS_INLINECOST_H
#define LLVM_ANALYSIS_INLINECOST_H #define LLVM_ANALYSIS_INLINECOST_H
#include <cassert> #include "llvm/Function.h"
#include <climits>
#include <vector>
#include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/ValueMap.h" #include "llvm/ADT/ValueMap.h"
#include "llvm/Analysis/CodeMetrics.h" #include "llvm/Analysis/CodeMetrics.h"
#include <cassert>
#include <climits>
#include <vector>
namespace llvm { namespace llvm {
class Value;
class Function;
class BasicBlock;
class CallSite; class CallSite;
template<class PtrType, unsigned SmallSize> template<class PtrType, unsigned SmallSize>
class SmallPtrSet; class SmallPtrSet;

View File

@ -22,6 +22,7 @@ namespace llvm {
class Function; class Function;
class BasicBlock; class BasicBlock;
class Instruction; class Instruction;
class Value;
class raw_ostream; class raw_ostream;
class formatted_raw_ostream; class formatted_raw_ostream;

View File

@ -21,9 +21,11 @@
namespace llvm { namespace llvm {
class AllocaInst; class AllocaInst;
class Constant;
class ConstantFP; class ConstantFP;
class FunctionLoweringInfo; class FunctionLoweringInfo;
class Instruction; class Instruction;
class LoadInst;
class MachineBasicBlock; class MachineBasicBlock;
class MachineConstantPool; class MachineConstantPool;
class MachineFunction; class MachineFunction;
@ -36,7 +38,8 @@ class TargetLowering;
class TargetMachine; class TargetMachine;
class TargetRegisterClass; class TargetRegisterClass;
class TargetRegisterInfo; class TargetRegisterInfo;
class LoadInst; class User;
class Value;
/// FastISel - This is a fast-path instruction selection class that /// FastISel - This is a fast-path instruction selection class that
/// generates poor code and doesn't support illegal types or non-trivial /// generates poor code and doesn't support illegal types or non-trivial

View File

@ -20,6 +20,7 @@
namespace llvm { namespace llvm {
class MachineBasicBlock;
class MachineBranchProbabilityInfo; class MachineBranchProbabilityInfo;
template<class BlockT, class FunctionT, class BranchProbInfoT> template<class BlockT, class FunctionT, class BranchProbInfoT>
class BlockFrequencyImpl; class BlockFrequencyImpl;
@ -28,7 +29,8 @@ class BlockFrequencyImpl;
/// machine basic block frequencies. /// machine basic block frequencies.
class MachineBlockFrequencyInfo : public MachineFunctionPass { class MachineBlockFrequencyInfo : public MachineFunctionPass {
BlockFrequencyImpl<MachineBasicBlock, MachineFunction, MachineBranchProbabilityInfo> *MBFI; BlockFrequencyImpl<MachineBasicBlock, MachineFunction,
MachineBranchProbabilityInfo> *MBFI;
public: public:
static char ID; static char ID;

View File

@ -22,6 +22,7 @@ namespace llvm {
class Value; class Value;
class FoldingSetNodeID; class FoldingSetNodeID;
class MDNode;
class raw_ostream; class raw_ostream;
/// MachinePointerInfo - This class contains a discriminated union of /// MachinePointerInfo - This class contains a discriminated union of

View File

@ -10,6 +10,7 @@
#ifndef LLVM_MC_MCASMLAYOUT_H #ifndef LLVM_MC_MCASMLAYOUT_H
#define LLVM_MC_MCASMLAYOUT_H #define LLVM_MC_MCASMLAYOUT_H
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h" #include "llvm/ADT/SmallVector.h"
namespace llvm { namespace llvm {