]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/llvm/lib/Target/AMDGPU/R700Instructions.td
Merge ^/vendor/lldb/dist up to its last change, and resolve conflicts.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / llvm / lib / Target / AMDGPU / R700Instructions.td
1 //===-- R700Instructions.td - R700 Instruction defs  -------*- tablegen -*-===//
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 // TableGen definitions for instructions which are:
10 // - Available to R700 and newer VLIW4/VLIW5 GPUs
11 // - Available only on R700 family GPUs.
12 //
13 //===----------------------------------------------------------------------===//
14
15 def isR700 : Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::R700">;
16
17 let Predicates = [isR700] in {
18   def SIN_r700 : SIN_Common<0x6E>;
19   def COS_r700 : COS_Common<0x6F>;
20 }