1 //===-- R600Intrinsics.td - R600 Instrinsic defs -------*- tablegen -*-----===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // R600 Intrinsic Definitions
12 //===----------------------------------------------------------------------===//
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_v4f32_ty, llvm_i32_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<[], [], []>;