LLVM: lib/Target/AMDGPU/R600Subtarget.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
17
18using namespace llvm;
19
20#define DEBUG_TYPE "r600-subtarget"
21
22#define GET_SUBTARGETINFO_TARGET_DESC
23#define GET_SUBTARGETINFO_CTOR
24#include "R600GenSubtargetInfo.inc"
25
29 InstrInfo(*this),
32 InstrItins(getInstrItineraryForCPU(GPU)) {
34 TSInfo = std::make_unique();
35}
36
38
40 return TSInfo.get();
41}
42
47 FullFS += FS;
49
52
53 return *this;
54}
Provides R600 specific target descriptions.
AMDGPU R600 specific subclass of TargetSubtarget.
AMDGPUSubtarget(Triple TT)
unsigned AddressableLocalMemorySize
R600Subtarget(const Triple &TT, StringRef CPU, StringRef FS, const TargetMachine &TM)
Definition R600Subtarget.cpp:26
bool hasCaymanISA() const
~R600Subtarget() override
const SelectionDAGTargetInfo * getSelectionDAGInfo() const override
Definition R600Subtarget.cpp:39
R600Subtarget & initializeSubtargetDependencies(const Triple &TT, StringRef GPU, StringRef FS)
Definition R600Subtarget.cpp:43
Align getStackAlignment() const
Generation getGeneration() const
void ParseSubtargetFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS)
Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...
SmallString - A SmallString is just a SmallVector with methods and accessors that make it work better...
StringRef - Represent a constant reference to a string, i.e.
Information about stack frame layout on the target.
Primary interface to the complete machine description for the target machine.
Triple - Helper class for working with autoconf configuration names.
This is an optimization pass for GlobalISel generic memory operations.