• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright © 2015 Intel Corporation
3  * SPDX-License-Identifier: MIT
4  */
5 
6 #pragma once
7 
8 #include "elk_reg.h"
9 #include "nir.h"
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 enum elk_conditional_mod elk_cmod_for_nir_comparison(nir_op op);
16 enum elk_lsc_opcode elk_lsc_aop_for_nir_intrinsic(const nir_intrinsic_instr *atomic);
17 enum elk_reg_type elk_type_for_nir_type(const struct intel_device_info *devinfo,
18                                         nir_alu_type type);
19 
20 #ifdef __cplusplus
21 }
22 #endif
23