| 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 for R600 GPUs. |
| 21 | Target &getTheR600Target(); |
| 22 | |
| 23 | /// The target for GCN GPUs. |
| 24 | Target &getTheGCNTarget(); |
| 25 | |
| 26 | } |
| 27 | |
| 28 | #endif // LLVM_LIB_TARGET_AMDGPU_TARGETINFO_AMDGPUTARGETINFO_H |
| 29 | |