OSDN Git Service

radeonsi: initial WIP SI code
[android-x86/external-mesa.git] / src / gallium / drivers / radeon / AMDGPUISelLowering.h
1 //===-- AMDGPUISelLowering.h - TODO: Add brief description -------===//
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 //===----------------------------------------------------------------------===//
9 //
10 // TODO: Add full description
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef AMDGPUISELLOWERING_H
15 #define AMDGPUISELLOWERING_H
16
17 #include "AMDILISelLowering.h"
18
19 namespace llvm {
20
21 class AMDGPUTargetLowering : public AMDILTargetLowering
22 {
23 protected:
24   void addLiveIn(MachineInstr * MI, MachineFunction * MF,
25                  MachineRegisterInfo & MRI, const struct TargetInstrInfo * TII,
26                  unsigned reg) const;
27
28 public:
29   AMDGPUTargetLowering(TargetMachine &TM);
30
31 };
32
33 } /* End namespace llvm */
34
35 #endif /* AMDGPUISELLOWERING_H */