Searched refs:func_type (Results 1 - 17 of 17) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/util/
H A Dtuple.hpp59 typedef typename std::remove_reference<F>::type func_type;
61 std::declval<func_type>()(std::get<Is>(std::declval<T &&>())...)
91 typedef typename std::remove_reference<F>::type func_type;
93 decltype(std::declval<func_type>()(
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/util/
H A Dtuple.hpp59 typedef typename std::remove_reference<F>::type func_type;
61 std::declval<func_type>()(std::get<Is>(std::declval<T &&>())...)
91 typedef typename std::remove_reference<F>::type func_type;
93 decltype(std::declval<func_type>()(
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Ddxil_function.c210 const struct dxil_type *func_type = local in function:dxil_alloc_func_with_rettype
213 if (!func_type) {
221 const struct dxil_func *func = dxil_add_function_decl(mod, full_name, func_type, attr);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
H A Dvtn_cfg.c257 const struct vtn_type *func_type = b->func->type; local in function:vtn_cfg_handle_prepass_instruction
259 vtn_assert(func_type->return_type->type == result_type);
265 for (unsigned i = 0; i < func_type->length; i++)
266 num_params += vtn_type_count_function_params(func_type->params[i]);
269 if (func_type->return_type->base_type != vtn_base_type_void)
276 if (func_type->return_type->base_type != vtn_base_type_void) {
283 for (unsigned i = 0; i < func_type->length; i++)
284 vtn_type_add_to_function_params(func_type->params[i], func, &idx);
295 if (func_type->return_type->base_type != vtn_base_type_void)
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dvtn_cfg.c170 const struct vtn_type *func_type = b->func->type; local in function:vtn_cfg_handle_prepass_instruction
172 vtn_assert(func_type->return_type->type == result_type);
178 for (unsigned i = 0; i < func_type->length; i++)
179 num_params += glsl_type_count_function_params(func_type->params[i]->type);
182 if (func_type->return_type->base_type != vtn_base_type_void)
189 if (func_type->return_type->base_type != vtn_base_type_void) {
199 for (unsigned i = 0; i < func_type->length; i++)
200 glsl_type_add_to_function_params(func_type->params[i]->type, func, &idx);
216 if (func_type->return_type->base_type != vtn_base_type_void)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_linear_llvm.c261 LLVMTypeRef func_type; local in function:llvmpipe_fs_variant_linear_llvm
317 func_type = LLVMFunctionType(ret_type, arg_types, ARRAY_SIZE(arg_types), 0);
319 function = LLVMAddFunction(gallivm->module, func_name, func_type);
H A Dlp_jit.c328 LLVMTypeRef func_type; local in function:lp_jit_create_types
335 func_type = LLVMFunctionType(ret_type, arg_types, ARRAY_SIZE(arg_types), 0);
341 linear_elem_type = LLVMPointerType(func_type, 0);
H A Dlp_state_setup.c646 LLVMTypeRef func_type; local in function:generate_setup_variant
693 func_type = LLVMFunctionType(LLVMVoidTypeInContext(gallivm->context),
696 variant->function = LLVMAddFunction(gallivm->module, func_name, func_type);
H A Dlp_state_cs.c74 LLVMTypeRef func_type, coro_func_type; local in function:generate_compute
125 func_type = LLVMFunctionType(LLVMVoidTypeInContext(gallivm->context),
131 function = LLVMAddFunction(gallivm->module, func_name, func_type);
H A Dlp_state_fs.c2998 LLVMTypeRef func_type; local in function:generate_fragment
3095 func_type = LLVMFunctionType(LLVMVoidTypeInContext(gallivm->context),
3098 function = LLVMAddFunction(gallivm->module, func_name, func_type);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_setup.c715 LLVMTypeRef func_type; local in function:generate_setup_variant
761 func_type = LLVMFunctionType(LLVMVoidTypeInContext(gallivm->context),
764 variant->function = LLVMAddFunction(gallivm->module, func_name, func_type);
H A Dlp_state_fs.c2414 LLVMTypeRef func_type; local in function:generate_fragment
2506 func_type = LLVMFunctionType(LLVMVoidTypeInContext(gallivm->context),
2509 function = LLVMAddFunction(gallivm->module, func_name, func_type);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c1528 LLVMTypeRef func_type; local in function:draw_llvm_generate
1593 func_type = LLVMFunctionType(LLVMInt8TypeInContext(context),
1596 variant_func = LLVMAddFunction(gallivm->module, func_name, func_type);
2234 LLVMTypeRef func_type; local in function:draw_gs_llvm_generate
2271 func_type = LLVMFunctionType(int32_type, arg_types, ARRAY_SIZE(arg_types), 0);
2273 variant_func = LLVMAddFunction(gallivm->module, func_name, func_type);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c1923 LLVMTypeRef func_type; local in function:draw_llvm_generate
1990 func_type = LLVMFunctionType(LLVMInt8TypeInContext(context),
1993 variant_func = LLVMAddFunction(gallivm->module, func_name, func_type);
2762 LLVMTypeRef func_type; local in function:draw_gs_llvm_generate
2802 func_type = LLVMFunctionType(int32_type, arg_types, ARRAY_SIZE(arg_types), 0);
2804 variant_func = LLVMAddFunction(gallivm->module, func_name, func_type);
3352 LLVMTypeRef func_type, coro_func_type; local in function:draw_tcs_llvm_generate
3387 func_type = LLVMFunctionType(int32_type, arg_types, ARRAY_SIZE(arg_types) - 1, 0);
3391 variant_func = LLVMAddFunction(gallivm->module, func_name, func_type);
3919 LLVMTypeRef func_type; local in function:draw_tes_llvm_generate
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c192 LLVMTypeRef func_type = LLVMFunctionType(i16t, &f32t, 1, 0); local in function:lp_build_float_to_half
194 func = LLVMBuildBitCast(builder, func, LLVMPointerType(func_type, 0), "util_float_to_half");
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c217 LLVMTypeRef func_type = LLVMFunctionType(i16t, &f32t, 1, 0); local in function:lp_build_float_to_half
219 func = LLVMBuildBitCast(builder, func, LLVMPointerType(func_type, 0), "_mesa_float_to_half");
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_demo.cpp996 static int func_type = 0, display_count = 70; local in function:ShowDemoWindowWidgets
998 ImGui::PushItemWidth(100); ImGui::Combo("func", &func_type, "Sin\0Saw\0"); ImGui::PopItemWidth();
1001 float (*func)(void*, int) = (func_type == 0) ? Funcs::Sin : Funcs::Saw;

Completed in 46 milliseconds