[Codegen] Alter the default promotion for saturating adds and subs
[llvm-complete.git] / lib / Target / AMDGPU / TargetInfo / AMDGPUTargetInfo.h
blob1e6dbd90b0c1eba30dce588dbc75157dcb3448fe
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
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_AMDGPU_TARGETINFO_AMDGPUTARGETINFO_H
14 #define LLVM_LIB_TARGET_AMDGPU_TARGETINFO_AMDGPUTARGETINFO_H
16 namespace llvm {
18 class Target;
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();
24 /// The target for GCN GPUs
25 Target &getTheGCNTarget();
29 #endif // LLVM_LIB_TARGET_AMDGPU_TARGETINFO_AMDGPUTARGETINFO_H