LLVM: lib/Target/AMDGPU/TargetInfo/AMDGPUTargetInfo.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

15

16using namespace llvm;

17

18

20 static Target TheAMDGPUTarget;

21 return TheAMDGPUTarget;

22}

23

24

26 static Target TheGCNTarget;

27 return TheGCNTarget;

28}

29

30

33 "AMD GPUs HD2XXX-HD6XXX", "AMDGPU");

35 "AMD GCN GPUs", "AMDGPU");

36}

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAMDGPUTargetInfo()

Extern function to initialize the targets for the AMDGPU backend.

#define LLVM_EXTERNAL_VISIBILITY

Target - Wrapper for Target specific information.

This is an optimization pass for GlobalISel generic memory operations.

Target & getTheR600Target()

The target for R600 GPUs.

Target & getTheGCNTarget()

The target for GCN GPUs.

RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...