Home
last modified time | relevance | path

Searched refs:lp_res (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/polly/lib/External/isl/
Disl_ilp.c509 static __isl_give isl_val *convert_lp_result(enum isl_lp_result lp_res, in convert_lp_result() argument
514 if (lp_res == isl_lp_ok) { in convert_lp_result()
520 if (lp_res == isl_lp_error) in convert_lp_result()
522 if (lp_res == isl_lp_empty) in convert_lp_result()
543 enum isl_lp_result lp_res; in isl_basic_set_opt_val() local
552 lp_res = isl_basic_set_opt(bset, max, obj, &res->n); in isl_basic_set_opt_val()
553 return convert_lp_result(lp_res, res, max); in isl_basic_set_opt_val()
581 enum isl_lp_result lp_res; in isl_set_opt_val() local
590 lp_res = isl_set_opt(set, max, obj, &res->n); in isl_set_opt_val()
591 return convert_lp_result(lp_res, res, max); in isl_set_opt_val()
Disl_lp.c222 enum isl_lp_result lp_res; in basic_set_opt_lp() local
231 lp_res = isl_basic_set_solve_lp(bset, max, obj->v->el + 1, in basic_set_opt_lp()
233 if (lp_res == isl_lp_ok) in basic_set_opt_lp()
236 if (lp_res == isl_lp_error) in basic_set_opt_lp()
238 if (lp_res == isl_lp_empty) in basic_set_opt_lp()
Disl_polynomial.c4657 enum isl_lp_result lp_res; in split_periods() local
4663 lp_res = isl_set_solve_lp(set, 0, qp->div->row[i] + 1, in split_periods()
4665 if (lp_res == isl_lp_error) in split_periods()
4667 if (lp_res == isl_lp_unbounded || lp_res == isl_lp_empty) in split_periods()
4671 lp_res = isl_set_solve_lp(set, 1, qp->div->row[i] + 1, in split_periods()
4673 if (lp_res == isl_lp_error) in split_periods()
4675 if (lp_res == isl_lp_unbounded || lp_res == isl_lp_empty) in split_periods()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c1100 struct llvmpipe_resource *lp_res = llvmpipe_resource(res); in lp_csctx_set_cs_images() local
1104 if (!lp_res) in lp_csctx_set_cs_images()
1106 if (!lp_res->dt) { in lp_csctx_set_cs_images()
1109 jit_image->base = lp_res->tex_data; in lp_csctx_set_cs_images()
1111 jit_image->base = lp_res->data; in lp_csctx_set_cs_images()
1119 uint32_t mip_offset = lp_res->mip_offsets[image->u.tex.level]; in lp_csctx_set_cs_images()
1136 mip_offset += image->u.tex.first_layer * lp_res->img_stride[image->u.tex.level]; in lp_csctx_set_cs_images()
1140 jit_image->row_stride = lp_res->row_stride[image->u.tex.level]; in lp_csctx_set_cs_images()
1141 jit_image->img_stride = lp_res->img_stride[image->u.tex.level]; in lp_csctx_set_cs_images()
1142 jit_image->sample_stride = lp_res->sample_stride; in lp_csctx_set_cs_images()
[all …]
Dlp_setup.c689 struct llvmpipe_resource *lp_res = llvmpipe_resource(res); in lp_setup_set_fs_images() local
693 if (!lp_res) in lp_setup_set_fs_images()
695 if (!lp_res->dt) { in lp_setup_set_fs_images()
698 jit_image->base = lp_res->tex_data; in lp_setup_set_fs_images()
700 jit_image->base = lp_res->data; in lp_setup_set_fs_images()
708 uint32_t mip_offset = lp_res->mip_offsets[image->u.tex.level]; in lp_setup_set_fs_images()
725 mip_offset += image->u.tex.first_layer * lp_res->img_stride[image->u.tex.level]; in lp_setup_set_fs_images()
729 jit_image->row_stride = lp_res->row_stride[image->u.tex.level]; in lp_setup_set_fs_images()
730 jit_image->img_stride = lp_res->img_stride[image->u.tex.level]; in lp_setup_set_fs_images()
731 jit_image->sample_stride = lp_res->sample_stride; in lp_setup_set_fs_images()