Vincent Lejeune | ace6f73 | 2013-04-01 21:47:53 +0000 | [diff] [blame] | 1 | #include "AMDGPUMachineFunction.h" |
Tom Stellard | 456adc6 | 2013-04-26 18:32:24 +0000 | [diff] [blame] | 2 | #include "AMDGPU.h" |
Tom Stellard | ac00eb5 | 2015-12-15 16:26:16 +0000 | [diff] [blame] | 3 | #include "Utils/AMDGPUBaseInfo.h" |
Vincent Lejeune | ace6f73 | 2013-04-01 21:47:53 +0000 | [diff] [blame] | 4 | #include "llvm/IR/Attributes.h" |
| 5 | #include "llvm/IR/Function.h" |
Craig Topper | 8fc4096 | 2013-07-17 00:31:35 +0000 | [diff] [blame] | 6 | using namespace llvm; |
Vincent Lejeune | ace6f73 | 2013-04-01 21:47:53 +0000 | [diff] [blame] | 7 | |
Juergen Ributzka | d12ccbd | 2013-11-19 00:57:56 +0000 | [diff] [blame] | 8 | // Pin the vtable to this file. |
| 9 | void AMDGPUMachineFunction::anchor() {} |
| 10 | |
Vincent Lejeune | ace6f73 | 2013-04-01 21:47:53 +0000 | [diff] [blame] | 11 | AMDGPUMachineFunction::AMDGPUMachineFunction(const MachineFunction &MF) : |
Matt Arsenault | 762af96 | 2014-07-13 03:06:39 +0000 | [diff] [blame] | 12 | MachineFunctionInfo(), |
Matt Arsenault | 3f98140 | 2014-09-15 15:41:53 +0000 | [diff] [blame] | 13 | LDSSize(0), |
Tom Stellard | e928533 | 2015-12-02 18:35:23 +0000 | [diff] [blame] | 14 | ABIArgOffset(0), |
Matt Arsenault | 3f98140 | 2014-09-15 15:41:53 +0000 | [diff] [blame] | 15 | ScratchSize(0), |
Nikolay Haustov | 6eb050e | 2016-05-06 14:59:04 +0000 | [diff] [blame] | 16 | IsKernel(true) { |
Vincent Lejeune | ace6f73 | 2013-04-01 21:47:53 +0000 | [diff] [blame] | 17 | } |