3825bc4d3b0121207a3b4835932d7c6e26845934
[oota-llvm.git] / lib / Target / R600 / R600Intrinsics.td
1 //===-- R600Intrinsics.td - R600 Instrinsic defs -------*- tablegen -*-----===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // R600 Intrinsic Definitions
11 //
12 //===----------------------------------------------------------------------===//
13
14 let TargetPrefix = "R600", isTarget = 1 in {
15   def int_R600_load_input : Intrinsic<[llvm_float_ty], [llvm_i32_ty], [IntrNoMem]>;
16   def int_R600_load_input_perspective :
17     Intrinsic<[llvm_float_ty], [llvm_i32_ty], [IntrReadMem]>;
18   def int_R600_load_input_constant :
19     Intrinsic<[llvm_float_ty], [llvm_i32_ty], [IntrReadMem]>;
20   def int_R600_load_input_linear :
21     Intrinsic<[llvm_float_ty], [llvm_i32_ty], [IntrReadMem]>;
22   def int_R600_store_stream_output :
23     Intrinsic<[], [llvm_float_ty, llvm_i32_ty, llvm_i32_ty], []>;
24   def int_R600_store_pixel_color :
25       Intrinsic<[], [llvm_float_ty, llvm_i32_ty], []>;
26   def int_R600_store_pixel_depth :
27       Intrinsic<[], [llvm_float_ty], []>;
28   def int_R600_store_pixel_stencil :
29       Intrinsic<[], [llvm_float_ty], []>;
30   def int_R600_store_pixel_dummy :
31       Intrinsic<[], [], []>;
32 }