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
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_R600_R600MACHINEFUNCTIONINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_R600_R600MACHINEFUNCTIONINFO_H
|
2012-12-12 05:25:42 +08:00
|
|
|
|
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 {
|
2014-04-29 15:57:24 +08:00
|
|
|
void anchor() override;
|
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
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#endif
|