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