2012-12-11 21:25:42 +00: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-23 17:10:37 +00:00
|
|
|
#include "AMDGPUMachineFunction.h"
|
2013-02-06 17:32:29 +00:00
|
|
|
#include "llvm/ADT/BitVector.h"
|
2012-12-11 21:25:42 +00:00
|
|
|
#include "llvm/CodeGen/SelectionDAG.h"
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2013-04-01 21:47:53 +00:00
|
|
|
class R600MachineFunctionInfo : public AMDGPUMachineFunction {
|
2012-12-11 21:25:42 +00:00
|
|
|
public:
|
|
|
|
R600MachineFunctionInfo(const MachineFunction &MF);
|
2013-02-05 17:53:52 +00:00
|
|
|
SmallVector<unsigned, 4> LiveOuts;
|
2013-02-06 17:32:29 +00:00
|
|
|
std::vector<unsigned> IndirectRegs;
|
2013-04-23 17:34:12 +00:00
|
|
|
unsigned StackSize;
|
2012-12-11 21:25:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // End llvm namespace
|
|
|
|
|
|
|
|
#endif //R600MACHINEFUNCTIONINFO_H
|