LLVM
15.0.0git
lib
Target
AMDGPU
TargetInfo
AMDGPUTargetInfo.h
Go to the documentation of this file.
1
//===-- TargetInfo/AMDGPUTargetInfo.h - TargetInfo for AMDGPU ---*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
/// \file
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_LIB_TARGET_AMDGPU_TARGETINFO_AMDGPUTARGETINFO_H
14
#define LLVM_LIB_TARGET_AMDGPU_TARGETINFO_AMDGPUTARGETINFO_H
15
16
namespace
llvm
{
17
18
class
Target
;
19
20
/// The target which supports all AMD GPUs. This will eventually
21
/// be deprecated and there will be a R600 target and a GCN target.
22
Target
&
getTheAMDGPUTarget
();
23
24
/// The target for GCN GPUs
25
Target
&
getTheGCNTarget
();
26
27
}
28
29
#endif // LLVM_LIB_TARGET_AMDGPU_TARGETINFO_AMDGPUTARGETINFO_H
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:17
llvm::AMDGPU::Exp::Target
Target
Definition:
SIDefines.h:854
llvm::getTheAMDGPUTarget
Target & getTheAMDGPUTarget()
The target which supports all AMD GPUs.
Definition:
AMDGPUTargetInfo.cpp:20
llvm::getTheGCNTarget
Target & getTheGCNTarget()
The target for GCN GPUs.
Definition:
AMDGPUTargetInfo.cpp:25
Generated on Sat May 28 2022 14:46:16 for LLVM by
1.8.17