Home
last modified time | relevance | path

Searched refs:cast_type (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c58 cast_type(struct lp_build_nir_context *bld_base, LLVMValueRef val, in cast_type() function
383 LLVMBuildAnd(builder, cast_type(bld_base, src0, nir_type_int, 32), in emit_b2f()
416 cast_type(bld_base, src0, nir_type_int, 32), in emit_b2i()
439 LLVMValueRef sel = cast_type(bld_base, src[0], nir_type_int, 32); in emit_b32csel()
1245 result[i] = cast_type(bld_base, src[i], in visit_alu()
1255 temp_chan = cast_type(bld_base, temp_chan, in visit_alu()
1285 src_chan[i] = cast_type(bld_base, src_chan[i], in visit_alu()
1290 result[c] = cast_type(bld_base, result[c], in visit_alu()
1357 idx_src = cast_type(bld_base, idx_src, nir_type_uint, 32); in get_deref_offset()
1538 LLVMValueRef idx = cast_type(bld_base, get_src(bld_base, instr->src[0]), nir_type_uint, 32); in visit_load_ssbo()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_deref.c1079 const struct glsl_type *cast_type = cast->type; in opt_remove_sampler_cast() local
1080 while (glsl_type_is_array(parent_type) && glsl_type_is_array(cast_type)) { in opt_remove_sampler_cast()
1081 if (glsl_get_length(parent_type) != glsl_get_length(cast_type)) in opt_remove_sampler_cast()
1084 cast_type = glsl_get_array_element(cast_type); in opt_remove_sampler_cast()
1090 if (cast_type != glsl_bare_sampler_type() && in opt_remove_sampler_cast()
1092 cast_type != glsl_sampler_type_to_texture(parent_type))) in opt_remove_sampler_cast()
/third_party/ltp/tools/sparse/sparse-src/
Dexpression.c640 token = typename(token->next, &expr->cast_type, NULL); in type_info_expression()
658 cast->cast_type = expr->cast_type; in type_info_expression()
659 expr->cast_type = NULL; in type_info_expression()
768 cast->cast_type = sym; in cast_expression()
Dinline.c160 struct symbol *sym = expr->cast_type; in copy_expression()
163 expr->cast_type = alloc_symbol(sym->pos, sym->type); in copy_expression()
164 *expr->cast_type = *sym; in copy_expression()
Dexpression.h214 struct symbol *cast_type; member
Dast-inspect.c206 ast_append_child(node, "cast_type:", expr->cast_type, inspect_symbol); in inspect_expression()
Devaluate.c326 expr->cast_type = type; in cast_to()
2180 struct symbol *sym = expr->cast_type; in evaluate_type_information()
2247 base->cast_type = base_type; in evaluate_sizeof()
2256 size->cast_type = size_t_ctype; in evaluate_sizeof()
2954 struct symbol *sym = expr->cast_type; in evaluate_compound_literal()
2997 ctype = examine_symbol_type(expr->cast_type); in evaluate_cast()
3000 expr->cast_type = ctype; in evaluate_cast()
Ddissect.c363 ret = base_type(expr->cast_type); in do_expression()
Dshow-parse.c996 new_type = expr->cast_type; in show_cast_expr()
Dcompile-i386.c1656 new_type = expr->cast_type; in emit_cast_expr()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c577 const struct glsl_type *cast_type = get_cast_type(alignment * 8); in split_unaligned_load() local
578 … nir_deref_instr *cast = nir_build_deref_cast(b, &ptr->dest.ssa, ptr->modes, cast_type, alignment); in split_unaligned_load()
605 const struct glsl_type *cast_type = get_cast_type(alignment * 8); in split_unaligned_store() local
606 … nir_deref_instr *cast = nir_build_deref_cast(b, &ptr->dest.ssa, ptr->modes, cast_type, alignment); in split_unaligned_store()
/third_party/json/third_party/cpplint/
Dcpplint.py5521 def CheckCStyleCast(filename, clean_lines, linenum, cast_type, pattern, error): argument
5569 (cast_type, match.group(1)))
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c2898 SpvId cast_type = get_dest_type(ctx, &intr->dest, ntype); in emit_image_intrinsic() local
2899 param = emit_bitcast(ctx, cast_type, param); in emit_image_intrinsic()
2903 param2 = emit_bitcast(ctx, cast_type, param2); in emit_image_intrinsic()
/third_party/skia/third_party/externals/angle2/scripts/
Dgenerate_entry_points.py1636 cast_type=param_type)