R600/SI: Share code recording ShaderTypeAttribute between generations
[oota-llvm.git] / lib / Target / R600 / SIMachineFunctionInfo.cpp
1 //===-- SIMachineFunctionInfo.cpp - SI Machine Function Info -------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 /// \file
9 //===----------------------------------------------------------------------===//
10
11
12 #include "SIMachineFunctionInfo.h"
13
14 using namespace llvm;
15
16 SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF)
17   : AMDGPUMachineFunction(MF),
18     PSInputAddr(0) { }