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
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-13 16:26:38 +00:00
|
|
|
#ifndef LLVM_LIB_TARGET_R600_R600MACHINEFUNCTIONINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_R600_R600MACHINEFUNCTIONINFO_H
|
2012-12-11 21:25:42 +00:00
|
|
|
|
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 {
|
2014-04-29 07:57:24 +00:00
|
|
|
void anchor() override;
|
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
|
|
|
};
|
|
|
|
|
2015-06-23 09:49:53 +00:00
|
|
|
} // End llvm namespace
|
2012-12-11 21:25:42 +00:00
|
|
|
|
2014-08-13 16:26:38 +00:00
|
|
|
#endif
|