2013-04-02 05:47:53 +08:00
|
|
|
#include "AMDGPUMachineFunction.h"
|
2013-04-27 02:32:24 +08:00
|
|
|
#include "AMDGPU.h"
|
2015-12-16 00:26:16 +08:00
|
|
|
#include "Utils/AMDGPUBaseInfo.h"
|
2013-04-02 05:47:53 +08:00
|
|
|
#include "llvm/IR/Attributes.h"
|
|
|
|
#include "llvm/IR/Function.h"
|
2013-07-17 08:31:35 +08:00
|
|
|
using namespace llvm;
|
2013-04-02 05:47:53 +08:00
|
|
|
|
2013-11-19 08:57:56 +08:00
|
|
|
// Pin the vtable to this file.
|
|
|
|
void AMDGPUMachineFunction::anchor() {}
|
|
|
|
|
2013-04-02 05:47:53 +08:00
|
|
|
AMDGPUMachineFunction::AMDGPUMachineFunction(const MachineFunction &MF) :
|
2014-07-13 11:06:39 +08:00
|
|
|
MachineFunctionInfo(),
|
2014-09-15 23:41:53 +08:00
|
|
|
LDSSize(0),
|
2015-12-03 02:35:23 +08:00
|
|
|
ABIArgOffset(0),
|
2014-09-15 23:41:53 +08:00
|
|
|
ScratchSize(0),
|
|
|
|
IsKernel(true) {
|
2013-04-02 05:47:53 +08:00
|
|
|
}
|