2012-12-12 05:25:42 +08:00
|
|
|
//===-- R600MachineFunctionInfo.h - R600 Machine Function Info ----*- C++ -*-=//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
/// \file
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef R600MACHINEFUNCTIONINFO_H
|
|
|
|
#define R600MACHINEFUNCTIONINFO_H
|
|
|
|
|
2013-05-24 01:10:37 +08:00
|
|
|
#include "AMDGPUMachineFunction.h"
|
2013-02-07 01:32:29 +08:00
|
|
|
#include "llvm/ADT/BitVector.h"
|
2012-12-12 05:25:42 +08:00
|
|
|
#include "llvm/CodeGen/SelectionDAG.h"
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2013-04-02 05:47:53 +08:00
|
|
|
class R600MachineFunctionInfo : public AMDGPUMachineFunction {
|
2012-12-12 05:25:42 +08:00
|
|
|
public:
|
|
|
|
R600MachineFunctionInfo(const MachineFunction &MF);
|
2013-02-06 01:53:52 +08:00
|
|
|
SmallVector<unsigned, 4> LiveOuts;
|
2013-02-07 01:32:29 +08:00
|
|
|
std::vector<unsigned> IndirectRegs;
|
2013-04-24 01:34:12 +08:00
|
|
|
unsigned StackSize;
|
2012-12-12 05:25:42 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
} // End llvm namespace
|
|
|
|
|
|
|
|
#endif //R600MACHINEFUNCTIONINFO_H
|