Searched refs:arg_types (Results 1 - 25 of 29) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_assert.c66 LLVMTypeRef arg_types[2]; local in function:lp_build_assert
75 arg_types[0] = LLVMInt32TypeInContext(context);
76 arg_types[1] = LLVMPointerType(LLVMInt8TypeInContext(context), 0);
80 ret_type, arg_types, ARRAY_SIZE(arg_types),
84 args[0] = LLVMBuildZExt(builder, condition, arg_types[0], "");
88 assert(LLVMTypeOf(args[0]) == arg_types[0]);
89 assert(LLVMTypeOf(args[1]) == arg_types[1]);
H A Dlp_bld_intr.h77 LLVMTypeRef *arg_types,
H A Dlp_bld_intr.c104 LLVMTypeRef *arg_types,
112 function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0);
232 LLVMTypeRef arg_types[LP_MAX_FUNC_ARGS]; local in function:lp_build_intrinsic
239 arg_types[i] = LLVMTypeOf(args[i]);
242 function = lp_declare_intrinsic(module, name, ret_type, arg_types, num_args);
101 lp_declare_intrinsic(LLVMModuleRef module,const char * name,LLVMTypeRef ret_type,LLVMTypeRef * arg_types,unsigned num_args) argument
H A Dlp_bld_format_aos.c795 LLVMTypeRef arg_types[4]; local in function:lp_build_fetch_rgba_aos
799 arg_types[0] = pi8t;
800 arg_types[1] = pi8t;
801 arg_types[2] = i32t;
802 arg_types[3] = i32t;
803 function_type = LLVMFunctionType(ret_type, arg_types,
804 ARRAY_SIZE(arg_types), 0);
900 LLVMTypeRef arg_types[4]; local in function:lp_build_fetch_rgba_aos
903 arg_types[0] = pf32t;
904 arg_types[
[all...]
H A Dlp_bld_const.h163 LLVMTypeRef *arg_types,
H A Dlp_bld_const.c469 LLVMTypeRef *arg_types,
476 function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0);
466 lp_build_const_func_pointer(struct gallivm_state * gallivm,const void * ptr,LLVMTypeRef ret_type,LLVMTypeRef * arg_types,unsigned num_args,const char * name) argument
H A Dlp_bld_format_s3tc.c1962 LLVMTypeRef arg_types[3]; local in function:update_cached_block
1971 arg_types[0] = pi8t;
1972 arg_types[1] = LLVMInt32TypeInContext(gallivm->context);
1973 arg_types[2] = LLVMTypeOf(cache); // XXX: put right type here
1974 function_type = LLVMFunctionType(ret_type, arg_types, ARRAY_SIZE(arg_types), 0);
1977 for (arg = 0; arg < ARRAY_SIZE(arg_types); ++arg)
1978 if (LLVMGetTypeKind(arg_types[arg]) == LLVMPointerTypeKind)
H A Dlp_bld_sample_soa.c3574 LLVMTypeRef arg_types[LP_MAX_TEX_FUNC_ARGS]; local in function:lp_build_sample_soa_func
3584 arg_types[num_param++] = LLVMTypeOf(params->context_ptr);
3586 arg_types[num_param++] = LLVMTypeOf(params->thread_data_ptr);
3589 arg_types[num_param++] = LLVMTypeOf(coords[0]);
3593 arg_types[num_param++] = LLVMTypeOf(coords[layer]);
3597 arg_types[num_param++] = LLVMTypeOf(coords[0]);
3601 arg_types[num_param++] = LLVMTypeOf(offsets[0]);
3607 arg_types[num_param++] = LLVMTypeOf(params->lod);
3611 arg_types[num_param++] = LLVMTypeOf(derivs->ddx[i]);
3612 arg_types[num_para
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_assert.c66 LLVMTypeRef arg_types[2]; local in function:lp_build_assert
75 arg_types[0] = LLVMInt32TypeInContext(context);
76 arg_types[1] = LLVMPointerType(LLVMInt8TypeInContext(context), 0);
80 ret_type, arg_types, ARRAY_SIZE(arg_types),
84 args[0] = LLVMBuildZExt(builder, condition, arg_types[0], "");
88 assert(LLVMTypeOf(args[0]) == arg_types[0]);
89 assert(LLVMTypeOf(args[1]) == arg_types[1]);
H A Dlp_bld_intr.h78 LLVMTypeRef *arg_types,
H A Dlp_bld_intr.c109 LLVMTypeRef *arg_types,
117 function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0);
237 LLVMTypeRef arg_types[LP_MAX_FUNC_ARGS]; local in function:lp_build_intrinsic
244 arg_types[i] = LLVMTypeOf(args[i]);
247 function = lp_declare_intrinsic(module, name, ret_type, arg_types, num_args);
106 lp_declare_intrinsic(LLVMModuleRef module,const char * name,LLVMTypeRef ret_type,LLVMTypeRef * arg_types,unsigned num_args) argument
H A Dlp_bld_format_aos.c829 LLVMTypeRef arg_types[4]; local in function:lp_build_fetch_rgba_aos
833 arg_types[0] = pi8t;
834 arg_types[1] = pi8t;
835 arg_types[2] = i32t;
836 arg_types[3] = i32t;
837 function_type = LLVMFunctionType(ret_type, arg_types,
838 ARRAY_SIZE(arg_types), 0);
938 LLVMTypeRef arg_types[4]; local in function:lp_build_fetch_rgba_aos
941 arg_types[0] = pf32t;
942 arg_types[
[all...]
H A Dlp_bld_const.h174 LLVMTypeRef *arg_types,
H A Dlp_bld_const.c469 LLVMTypeRef *arg_types,
476 function_type = LLVMFunctionType(ret_type, arg_types, num_args, 0);
466 lp_build_const_func_pointer(struct gallivm_state * gallivm,const void * ptr,LLVMTypeRef ret_type,LLVMTypeRef * arg_types,unsigned num_args,const char * name) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_linear_llvm.c260 LLVMTypeRef arg_types[4]; local in function:llvmpipe_fs_variant_linear_llvm
312 arg_types[0] = variant->jit_linear_context_ptr_type; /* context */
313 arg_types[1] = int32t; /* x */
314 arg_types[2] = int32t; /* y */
315 arg_types[3] = int32t; /* width */
317 func_type = LLVMFunctionType(ret_type, arg_types, ARRAY_SIZE(arg_types), 0);
327 for (i = 0; i < ARRAY_SIZE(arg_types); ++i) {
328 if (LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind) {
H A Dlp_state_cs.c73 LLVMTypeRef arg_types[19]; local in function:generate_compute
106 arg_types[0] = variant->jit_cs_context_ptr_type; /* context */
107 arg_types[1] = int32_type; /* block_x_size */
108 arg_types[2] = int32_type; /* block_y_size */
109 arg_types[3] = int32_type; /* block_z_size */
110 arg_types[4] = int32_type; /* grid_x */
111 arg_types[5] = int32_type; /* grid_y */
112 arg_types[6] = int32_type; /* grid_z */
113 arg_types[7] = int32_type; /* grid_size_x */
114 arg_types[
[all...]
H A Dlp_state_setup.c534 const LLVMTypeRef *arg_types,
539 if(LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind)
647 LLVMTypeRef arg_types[8]; local in function:generate_setup_variant
684 arg_types[0] = LLVMPointerType(vec4f_type, 0); /* v0 */
685 arg_types[1] = LLVMPointerType(vec4f_type, 0); /* v1 */
686 arg_types[2] = LLVMPointerType(vec4f_type, 0); /* v2 */
687 arg_types[3] = LLVMInt32TypeInContext(gallivm->context); /* facing */
688 arg_types[4] = LLVMPointerType(vec4f_type, 0); /* a0, aligned */
689 arg_types[5] = LLVMPointerType(vec4f_type, 0); /* dadx, aligned */
690 arg_types[
532 set_noalias(LLVMBuilderRef builder,LLVMValueRef function,const LLVMTypeRef * arg_types,int nr_args) argument
[all...]
H A Dlp_jit.c327 LLVMTypeRef arg_types[1]; local in function:lp_jit_create_types
332 arg_types[0] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0);
335 func_type = LLVMFunctionType(ret_type, arg_types, ARRAY_SIZE(arg_types), 0);
H A Dlp_state_fs.c2997 LLVMTypeRef arg_types[15]; local in function:generate_fragment
3079 arg_types[0] = variant->jit_context_ptr_type; /* context */
3080 arg_types[1] = int32_type; /* x */
3081 arg_types[2] = int32_type; /* y */
3082 arg_types[3] = int32_type; /* facing */
3083 arg_types[4] = LLVMPointerType(fs_elem_type, 0); /* a0 */
3084 arg_types[5] = LLVMPointerType(fs_elem_type, 0); /* dadx */
3085 arg_types[6] = LLVMPointerType(fs_elem_type, 0); /* dady */
3086 arg_types[7] = LLVMPointerType(LLVMPointerType(int8_type, 0), 0); /* color */
3087 arg_types[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_setup.c621 const LLVMTypeRef *arg_types,
626 if(LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind)
716 LLVMTypeRef arg_types[7]; local in function:generate_setup_variant
753 arg_types[0] = LLVMPointerType(vec4f_type, 0); /* v0 */
754 arg_types[1] = LLVMPointerType(vec4f_type, 0); /* v1 */
755 arg_types[2] = LLVMPointerType(vec4f_type, 0); /* v2 */
756 arg_types[3] = LLVMInt32TypeInContext(gallivm->context); /* facing */
757 arg_types[4] = LLVMPointerType(vec4f_type, 0); /* a0, aligned */
758 arg_types[5] = LLVMPointerType(vec4f_type, 0); /* dadx, aligned */
759 arg_types[
619 set_noalias(LLVMBuilderRef builder,LLVMValueRef function,const LLVMTypeRef * arg_types,int nr_args) argument
[all...]
H A Dlp_state_fs.c2413 LLVMTypeRef arg_types[13]; local in function:generate_fragment
2492 arg_types[0] = variant->jit_context_ptr_type; /* context */
2493 arg_types[1] = int32_type; /* x */
2494 arg_types[2] = int32_type; /* y */
2495 arg_types[3] = int32_type; /* facing */
2496 arg_types[4] = LLVMPointerType(fs_elem_type, 0); /* a0 */
2497 arg_types[5] = LLVMPointerType(fs_elem_type, 0); /* dadx */
2498 arg_types[6] = LLVMPointerType(fs_elem_type, 0); /* dady */
2499 arg_types[7] = LLVMPointerType(LLVMPointerType(blend_vec_type, 0), 0); /* color */
2500 arg_types[
[all...]
/xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/
H A Ddxil_function.c197 const struct dxil_type *arg_types[MAX_FUNC_PARAMS]; local in function:dxil_alloc_func_with_rettype
207 arg_types[num_params++] = t;
212 arg_types, num_params);
H A Ddxil_module.h299 const struct dxil_type **arg_types,
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c1921 LLVMTypeRef arg_types[13]; local in function:draw_llvm_generate
1922 unsigned num_arg_types = ARRAY_SIZE(arg_types);
1976 arg_types[i++] = get_context_ptr_type(variant); /* context */
1977 arg_types[i++] = get_vertex_header_ptr_type(variant); /* vertex_header */
1978 arg_types[i++] = get_buffer_ptr_type(variant); /* vbuffers */
1979 arg_types[i++] = int32_type; /* count */
1980 arg_types[i++] = int32_type; /* start/fetch_elt_max */
1981 arg_types[i++] = int32_type; /* stride */
1982 arg_types[i++] = get_vb_ptr_type(variant); /* pipe_vertex_buffer's */
1983 arg_types[
2761 LLVMTypeRef arg_types[8]; local in function:draw_gs_llvm_generate
3351 LLVMTypeRef arg_types[7]; local in function:draw_tcs_llvm_generate
3918 LLVMTypeRef arg_types[11]; local in function:draw_tes_llvm_generate
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c1526 LLVMTypeRef arg_types[11]; local in function:draw_llvm_generate
1527 unsigned num_arg_types = ARRAY_SIZE(arg_types);
1581 arg_types[i++] = get_context_ptr_type(variant); /* context */
1582 arg_types[i++] = get_vertex_header_ptr_type(variant); /* vertex_header */
1583 arg_types[i++] = get_buffer_ptr_type(variant); /* vbuffers */
1584 arg_types[i++] = int32_type; /* count */
1585 arg_types[i++] = int32_type; /* start/fetch_elt_max */
1586 arg_types[i++] = int32_type; /* stride */
1587 arg_types[i++] = get_vb_ptr_type(variant); /* pipe_vertex_buffer's */
1588 arg_types[
2233 LLVMTypeRef arg_types[7]; local in function:draw_gs_llvm_generate
[all...]

Completed in 47 milliseconds

12