Home
last modified time | relevance | path

Searched refs:bld (Results 1 - 25 of 151) sorted by relevance

1234567

/third_party/mesa3d/src/amd/compiler/tests/
H A Dtest_optimizer_postRA.cpp39 auto &startpgm = bld.instructions->at(0);
51 auto vcmp = bld.vopc(aco_opcode::v_cmp_eq_u32, bld.def(bld.lm, vcc), Operand::zero(),
53 auto sand = bld.sop2(Builder::s_and, bld.def(bld.lm, reg_s0), bld.def(s1, scc), bld.vcc(vcmp), Operand(exec, bld
[all...]
H A Dtest_sdwa.cpp37 SDWA_instruction *sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).instr->sdwa();
40 sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1b), inputs[0], inputs[1]).instr->sdwa();
42 sdwa = &bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]).instr->sdwa();
60 bld.vop2_sdwa(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], inputs[1]);
75 bld.vop2_sdwa(aco_opcode::v_mul_f32, bld
[all...]
H A Dtest_optimizer.cpp37 writeout(0, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], neg_b));
44 writeout(1, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), Operand::c32(0x123456u), neg_a));
49 writeout(2, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), neg_neg_a, inputs[1]));
54 writeout(3, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), abs_neg_a, inputs[1]));
60 writeout(4, bld.vop2(aco_opcode::v_mul_f32, bld
[all...]
H A Dtest_regalloc.cpp48 Builder::Result tmp = bld.pseudo(aco_opcode::p_split_vector, bld.def(v2b), bld.def(v2b), inputs[0]);
53 auto result1 = bld.vop1(aco_opcode::v_cvt_f32_f16, bld.def(v1), tmp.def(1).getTemp());
54 auto result2 = bld.vop1(aco_opcode::v_cvt_f32_f16, bld.def(v1), tmp.def(0).getTemp());
70 Temp hi = bld.pseudo(aco_opcode::p_split_vector, bld.def(v2b), bld
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dlocalebuildertest.cpp57 void LocaleBuilderTest::Verify(LocaleBuilder& bld, const char* expected, const char* msg) { in Verify() argument
61 if (bld.copyErrorTo(copyStatus)) { in Verify()
64 if (!bld.copyErrorTo(errorStatus) || errorStatus != U_ILLEGAL_ARGUMENT_ERROR) { in Verify()
67 Locale loc = bld.build(status); in Verify()
188 LocaleBuilder bld; in TestLocaleBuilder() local
203 bld.clear(); in TestLocaleBuilder()
209 bld.setLanguage(testCase[i++]); in TestLocaleBuilder()
210 bld.copyErrorTo(copyStatus); in TestLocaleBuilder()
211 bld.build(status); in TestLocaleBuilder()
213 bld in TestLocaleBuilder()
315 LocaleBuilder bld; TestLocaleBuilderBasic() local
430 LocaleBuilder bld; TestSetLanguageWellFormed() local
497 LocaleBuilder bld; TestSetLanguageIllFormed() local
525 LocaleBuilder bld; TestSetScriptWellFormed() local
595 LocaleBuilder bld; TestSetScriptIllFormed() local
624 LocaleBuilder bld; TestSetRegionWellFormed() local
694 LocaleBuilder bld; TestSetRegionIllFormed() local
768 LocaleBuilder bld; TestSetVariantWellFormed() local
874 LocaleBuilder bld; TestSetVariantIllFormed() local
898 LocaleBuilder bld; TestSetUnicodeLocaleKeywordWellFormed() local
922 LocaleBuilder bld; TestSetUnicodeLocaleKeywordIllFormedKey() local
945 LocaleBuilder bld; TestSetUnicodeLocaleKeywordIllFormedValue() local
956 LocaleBuilder bld; TestAddRemoveUnicodeLocaleAttribute() local
1114 LocaleBuilder bld; TestAddRemoveUnicodeLocaleAttributeWellFormed() local
1158 LocaleBuilder bld; TestAddUnicodeLocaleAttributeIllFormed() local
1169 LocaleBuilder bld; TestSetExtensionU() local
1244 LocaleBuilder bld; TestSetExtensionValidateUWellFormed() local
1284 LocaleBuilder bld; TestSetExtensionValidateUIllFormed() local
1295 LocaleBuilder bld; TestSetExtensionT() local
1380 LocaleBuilder bld; TestSetExtensionValidateTWellFormed() local
1428 LocaleBuilder bld; TestSetExtensionValidateTIllFormed() local
1439 LocaleBuilder bld; TestSetExtensionPU() local
1487 LocaleBuilder bld; TestSetExtensionValidatePUWellFormed() local
1508 LocaleBuilder bld; TestSetExtensionValidatePUIllFormed() local
1519 LocaleBuilder bld; TestSetExtensionOthers() local
1576 LocaleBuilder bld; TestSetExtensionValidateOthersWellFormed() local
1591 LocaleBuilder bld; TestSetExtensionValidateOthersWellFormed() local
1629 LocaleBuilder bld; TestSetExtensionValidateOthersIllFormed() local
1673 LocaleBuilder bld; TestPosixCases() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi_aos.c75 struct lp_build_tgsi_aos_context *bld = lp_aos_context(bld_base); in swizzle_aos() local
82 swizzles[bld->inv_swizzles[0]] = bld->swizzles[swizzle_x]; in swizzle_aos()
83 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y]; in swizzle_aos()
84 swizzles[bld->inv_swizzles[2]] = bld->swizzles[swizzle_z]; in swizzle_aos()
85 swizzles[bld->inv_swizzles[3]] = bld->swizzles[swizzle_w]; in swizzle_aos()
87 return lp_build_swizzle_aos(&bld in swizzle_aos()
92 swizzle_scalar_aos(struct lp_build_tgsi_aos_context *bld, LLVMValueRef a, unsigned chan) swizzle_scalar_aos() argument
108 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); emit_fetch_constant() local
179 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); emit_fetch_immediate() local
192 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); emit_fetch_input() local
206 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); emit_fetch_temporary() local
222 lp_emit_store_aos( struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, unsigned index, LLVMValueRef value) lp_emit_store_aos() argument
305 emit_tex(struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier) emit_tex() argument
341 emit_sample(struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier) emit_sample() argument
372 lp_emit_declaration_aos( struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_declaration *decl) lp_emit_declaration_aos() argument
429 lp_emit_instruction_aos( struct lp_build_tgsi_aos_context *bld, const struct tgsi_full_instruction *inst, const struct tgsi_opcode_info *info, int *pc) lp_emit_instruction_aos() argument
869 struct lp_build_tgsi_aos_context bld; lp_build_tgsi_aos() local
[all...]
H A Dlp_bld_arit.c92 lp_build_min_simple(struct lp_build_context *bld, in lp_build_min_simple() argument
97 const struct lp_type type = bld->type; in lp_build_min_simple()
179 min = lp_build_intrinsic_binary_anylength(bld->gallivm, intrinsic, in lp_build_min_simple()
182 isnan = lp_build_isnan(bld, b); in lp_build_min_simple()
183 return lp_build_select(bld, isnan, a, min); in lp_build_min_simple()
185 return lp_build_intrinsic_binary_anylength(bld->gallivm, intrinsic, in lp_build_min_simple()
194 LLVMValueRef isnan = lp_build_isnan(bld, a); in lp_build_min_simple()
195 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
196 cond = LLVMBuildXor(bld->gallivm->builder, cond, isnan, ""); in lp_build_min_simple()
197 return lp_build_select(bld, con in lp_build_min_simple()
246 lp_build_max_simple(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b, enum gallivm_nan_behavior nan_behavior) lp_build_max_simple() argument
374 lp_build_comp(struct lp_build_context *bld, LLVMValueRef a) lp_build_comp() argument
405 lp_build_add(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) lp_build_add() argument
520 lp_build_horizontal_add(struct lp_build_context *bld, LLVMValueRef a) lp_build_horizontal_add() argument
591 lp_build_horizontal_add4x4f(struct lp_build_context *bld, LLVMValueRef src[4]) lp_build_horizontal_add4x4f() argument
655 lp_build_hadd_partial4(struct lp_build_context *bld, LLVMValueRef vectors[], unsigned num_vecs) lp_build_hadd_partial4() argument
731 lp_build_sub(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) lp_build_sub() argument
888 struct lp_build_context bld; lp_build_mul_norm() local
939 lp_build_mul(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) lp_build_mul() argument
1002 lp_build_mul_32_lohi_cpu(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b, LLVMValueRef *res_hi) lp_build_mul_32_lohi_cpu() argument
1139 lp_build_mul_32_lohi(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b, LLVMValueRef *res_hi) lp_build_mul_32_lohi() argument
1180 lp_build_mad(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b, LLVMValueRef c) lp_build_mad() argument
1198 lp_build_mul_imm(struct lp_build_context *bld, LLVMValueRef a, int b) lp_build_mul_imm() argument
1254 lp_build_div(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) lp_build_div() argument
1300 lp_build_lerp_simple(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef v0, LLVMValueRef v1, unsigned flags) lp_build_lerp_simple() argument
1410 lp_build_lerp(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef v0, LLVMValueRef v1, unsigned flags) lp_build_lerp() argument
1471 lp_build_lerp_2d(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y, LLVMValueRef v00, LLVMValueRef v01, LLVMValueRef v10, LLVMValueRef v11, unsigned flags) lp_build_lerp_2d() argument
1487 lp_build_lerp_3d(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y, LLVMValueRef z, LLVMValueRef v000, LLVMValueRef v001, LLVMValueRef v010, LLVMValueRef v011, LLVMValueRef v100, LLVMValueRef v101, LLVMValueRef v110, LLVMValueRef v111, unsigned flags) lp_build_lerp_3d() argument
1512 lp_build_min(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) lp_build_min() argument
1547 lp_build_min_ext(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b, enum gallivm_nan_behavior nan_behavior) lp_build_min_ext() argument
1582 lp_build_max(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) lp_build_max() argument
1619 lp_build_max_ext(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b, enum gallivm_nan_behavior nan_behavior) lp_build_max_ext() argument
1656 lp_build_clamp(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef min, LLVMValueRef max) lp_build_clamp() argument
1676 lp_build_clamp_zero_one_nanzero(struct lp_build_context *bld, LLVMValueRef a) lp_build_clamp_zero_one_nanzero() argument
1689 lp_build_abs(struct lp_build_context *bld, LLVMValueRef a) lp_build_abs() argument
1734 lp_build_negate(struct lp_build_context *bld, LLVMValueRef a) lp_build_negate() argument
1752 lp_build_sgn(struct lp_build_context *bld, LLVMValueRef a) lp_build_sgn() argument
1810 lp_build_set_sign(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef sign) lp_build_set_sign() argument
1844 lp_build_int_to_float(struct lp_build_context *bld, LLVMValueRef a) lp_build_int_to_float() argument
1886 lp_build_iround_nearest_sse2(struct lp_build_context *bld, LLVMValueRef a) lp_build_iround_nearest_sse2() argument
1942 lp_build_round_altivec(struct lp_build_context *bld, LLVMValueRef a, enum lp_build_round_mode mode) lp_build_round_altivec() argument
1977 lp_build_round_arch(struct lp_build_context *bld, LLVMValueRef a, enum lp_build_round_mode mode) lp_build_round_arch() argument
2023 lp_build_trunc(struct lp_build_context *bld, LLVMValueRef a) lp_build_trunc() argument
2082 lp_build_round(struct lp_build_context *bld, LLVMValueRef a) lp_build_round() argument
2139 lp_build_floor(struct lp_build_context *bld, LLVMValueRef a) lp_build_floor() argument
2214 lp_build_ceil(struct lp_build_context *bld, LLVMValueRef a) lp_build_ceil() argument
2284 lp_build_fract(struct lp_build_context *bld, LLVMValueRef a) lp_build_fract() argument
2297 clamp_fract(struct lp_build_context *bld, LLVMValueRef fract) clamp_fract() argument
2314 lp_build_fract_safe(struct lp_build_context *bld, LLVMValueRef a) lp_build_fract_safe() argument
2327 lp_build_itrunc(struct lp_build_context *bld, LLVMValueRef a) lp_build_itrunc() argument
2348 lp_build_iround(struct lp_build_context *bld, LLVMValueRef a) lp_build_iround() argument
2404 lp_build_ifloor(struct lp_build_context *bld, LLVMValueRef a) lp_build_ifloor() argument
2461 lp_build_iceil(struct lp_build_context *bld, LLVMValueRef a) lp_build_iceil() argument
2516 lp_build_ifloor_fract(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef *out_ipart, LLVMValueRef *out_fpart) lp_build_ifloor_fract() argument
2554 lp_build_ifloor_fract_safe(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef *out_ipart, LLVMValueRef *out_fpart) lp_build_ifloor_fract_safe() argument
2565 lp_build_sqrt(struct lp_build_context *bld, LLVMValueRef a) lp_build_sqrt() argument
2597 lp_build_rcp_refine(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef rcp_a) lp_build_rcp_refine() argument
2614 lp_build_rcp(struct lp_build_context *bld, LLVMValueRef a) lp_build_rcp() argument
2682 lp_build_rsqrt_refine(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef rsqrt_a) lp_build_rsqrt_refine() argument
2706 lp_build_rsqrt(struct lp_build_context *bld, LLVMValueRef a) lp_build_rsqrt() argument
2783 lp_build_fast_rsqrt(struct lp_build_context *bld, LLVMValueRef a) lp_build_fast_rsqrt() argument
2818 lp_build_sin_or_cos(struct lp_build_context *bld, LLVMValueRef a, boolean cos) lp_build_sin_or_cos() argument
3024 lp_build_sin(struct lp_build_context *bld, LLVMValueRef a) lp_build_sin() argument
3046 lp_build_cos(struct lp_build_context *bld, LLVMValueRef a) lp_build_cos() argument
3068 lp_build_pow(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y) lp_build_pow() argument
3091 lp_build_exp(struct lp_build_context *bld, LLVMValueRef x) lp_build_exp() argument
3109 lp_build_log(struct lp_build_context *bld, LLVMValueRef x) lp_build_log() argument
3126 lp_build_log_safe(struct lp_build_context *bld, LLVMValueRef x) lp_build_log_safe() argument
3144 lp_build_polynomial(struct lp_build_context *bld, LLVMValueRef x, const double *coeffs, unsigned num_coeffs) lp_build_polynomial() argument
3231 lp_build_exp2(struct lp_build_context *bld, LLVMValueRef x) lp_build_exp2() argument
3298 lp_build_extract_exponent(struct lp_build_context *bld, LLVMValueRef x, int bias) lp_build_extract_exponent() argument
3332 lp_build_extract_mantissa(struct lp_build_context *bld, LLVMValueRef x) lp_build_extract_mantissa() argument
3406 lp_build_log2_approx(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef *p_exp, LLVMValueRef *p_floor_log2, LLVMValueRef *p_log2, boolean handle_edge_cases) lp_build_log2_approx() argument
3534 lp_build_log2(struct lp_build_context *bld, LLVMValueRef x) lp_build_log2() argument
3549 lp_build_log2_safe(struct lp_build_context *bld, LLVMValueRef x) lp_build_log2_safe() argument
3569 lp_build_fast_log2(struct lp_build_context *bld, LLVMValueRef x) lp_build_fast_log2() argument
3598 lp_build_ilog2(struct lp_build_context *bld, LLVMValueRef x) lp_build_ilog2() argument
3619 lp_build_mod(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y) lp_build_mod() argument
3646 lp_build_isnan(struct lp_build_context *bld, LLVMValueRef x) lp_build_isnan() argument
3667 lp_build_isfinite(struct lp_build_context *bld, LLVMValueRef x) lp_build_isfinite() argument
[all...]
H A Dlp_bld_sample_aos.c78 lp_build_sample_wrap_nearest_int(struct lp_build_sample_context *bld, in lp_build_sample_wrap_nearest_int() argument
90 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_sample_wrap_nearest_int()
91 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_sample_wrap_nearest_int()
101 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_sample_wrap_nearest_int()
139 lp_build_coord_repeat_npot_linear_int(struct lp_build_sample_context *bld, in lp_build_coord_repeat_npot_linear_int() argument
146 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_coord_repeat_npot_linear_int()
147 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_coord_repeat_npot_linear_int()
159 coord_f = lp_build_mul_imm(&bld->coord_bld, coord_f, 256); in lp_build_coord_repeat_npot_linear_int()
166 lp_build_context_init(&abs_coord_bld, bld->gallivm, abs_type); in lp_build_coord_repeat_npot_linear_int()
170 i32_c128 = lp_build_const_int_vec(bld in lp_build_coord_repeat_npot_linear_int()
214 lp_build_sample_wrap_linear_int(struct lp_build_sample_context *bld, unsigned block_length, LLVMValueRef coord0, LLVMValueRef *weight_i, LLVMValueRef coord_f, LLVMValueRef length, LLVMValueRef stride, LLVMValueRef offset, boolean is_pot, unsigned wrap_mode, LLVMValueRef *offset0, LLVMValueRef *offset1, LLVMValueRef *i0, LLVMValueRef *i1) lp_build_sample_wrap_linear_int() argument
370 lp_build_sample_fetch_image_nearest(struct lp_build_sample_context *bld, LLVMValueRef data_ptr, LLVMValueRef offset, LLVMValueRef x_subcoord, LLVMValueRef y_subcoord, LLVMValueRef *colors) lp_build_sample_fetch_image_nearest() argument
438 lp_build_sample_image_nearest(struct lp_build_sample_context *bld, LLVMValueRef int_size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef mipoffsets, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, const LLVMValueRef *offsets, LLVMValueRef *colors) lp_build_sample_image_nearest() argument
559 lp_build_sample_fetch_image_linear(struct lp_build_sample_context *bld, LLVMValueRef data_ptr, LLVMValueRef offset[2][2][2], LLVMValueRef x_subcoord[2], LLVMValueRef y_subcoord[2], LLVMValueRef s_fpart, LLVMValueRef t_fpart, LLVMValueRef r_fpart, LLVMValueRef *colors) lp_build_sample_fetch_image_linear() argument
739 lp_build_sample_image_linear(struct lp_build_sample_context *bld, LLVMValueRef int_size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef mipoffsets, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, const LLVMValueRef *offsets, LLVMValueRef *colors) lp_build_sample_image_linear() argument
938 lp_build_sample_mipmap(struct lp_build_sample_context *bld, unsigned img_filter, unsigned mip_filter, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, const LLVMValueRef *offsets, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef lod_fpart, LLVMValueRef colors_var) lp_build_sample_mipmap() argument
1109 lp_build_sample_aos(struct lp_build_sample_context *bld, unsigned sampler_unit, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, const LLVMValueRef *offsets, LLVMValueRef lod_positive, LLVMValueRef lod_fpart, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef texel_out[4]) lp_build_sample_aos() argument
[all...]
H A Dlp_bld_bitarit.c41 lp_build_or(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) in lp_build_or() argument
43 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_or()
44 const struct lp_type type = bld->type; in lp_build_or()
52 a = LLVMBuildBitCast(builder, a, bld->int_vec_type, ""); in lp_build_or()
53 b = LLVMBuildBitCast(builder, b, bld->int_vec_type, ""); in lp_build_or()
59 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_or()
67 lp_build_xor(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) in lp_build_xor() argument
69 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_xor()
70 const struct lp_type type = bld->type; in lp_build_xor()
78 a = LLVMBuildBitCast(builder, a, bld in lp_build_xor()
95 lp_build_and(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) lp_build_and() argument
124 lp_build_andnot(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) lp_build_andnot() argument
151 lp_build_not(struct lp_build_context *bld, LLVMValueRef a) lp_build_not() argument
174 lp_build_shl(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) lp_build_shl() argument
198 lp_build_shr(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) lp_build_shr() argument
224 lp_build_shl_imm(struct lp_build_context *bld, LLVMValueRef a, unsigned imm) lp_build_shl_imm() argument
237 lp_build_shr_imm(struct lp_build_context *bld, LLVMValueRef a, unsigned imm) lp_build_shr_imm() argument
245 lp_build_popcount(struct lp_build_context *bld, LLVMValueRef a) lp_build_popcount() argument
257 lp_build_bitfield_reverse(struct lp_build_context *bld, LLVMValueRef a) lp_build_bitfield_reverse() argument
269 lp_build_cttz(struct lp_build_context *bld, LLVMValueRef a) lp_build_cttz() argument
284 lp_build_ctlz(struct lp_build_context *bld, LLVMValueRef a) lp_build_ctlz() argument
[all...]
H A Dlp_bld_tgsi_soa.c118 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); in mask_vec() local
119 LLVMBuilderRef builder = bld->bld_base.base.gallivm->builder; in mask_vec()
120 struct lp_exec_mask *exec_mask = &bld->exec_mask; in mask_vec()
121 LLVMValueRef bld_mask = bld->mask ? lp_build_mask_value(bld->mask) : NULL; in mask_vec()
127 return LLVMBuildAnd(builder, lp_build_mask_value(bld->mask), in mask_vec()
175 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_endswitch()
227 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_case()
239 casemask = lp_build_cmp(mask->bld, PIPE_FUNC_EQUAL, caseval, ctx->switch_val); in lp_exec_case()
305 LLVMBuilderRef builder = mask->bld in lp_exec_default()
441 get_file_ptr(struct lp_build_tgsi_soa_context *bld, unsigned file, int index, unsigned chan) get_file_ptr() argument
491 lp_get_temp_ptr_soa(struct lp_build_tgsi_soa_context *bld, unsigned index, unsigned chan) lp_get_temp_ptr_soa() argument
505 lp_get_output_ptr(struct lp_build_tgsi_soa_context *bld, unsigned index, unsigned chan) lp_get_output_ptr() argument
518 gather_outputs(struct lp_build_tgsi_soa_context * bld) gather_outputs() argument
547 struct lp_build_context *bld = &bld_base->base; build_gather() local
626 emit_mask_scatter(struct lp_build_tgsi_soa_context *bld, LLVMValueRef base_ptr, LLVMValueRef indexes, LLVMValueRef values, struct lp_exec_mask *mask) emit_mask_scatter() argument
672 get_indirect_index(struct lp_build_tgsi_soa_context *bld, unsigned reg_file, unsigned reg_index, const struct tgsi_ind_register *indirect_reg, int index_limit) get_indirect_index() argument
808 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_fetch_constant() local
934 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_fetch_64bit() local
960 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_fetch_immediate() local
1040 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_fetch_input() local
1121 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_fetch_gs_input() local
1209 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_fetch_tcs_input() local
1312 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_fetch_tes_input() local
1408 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_fetch_temporary() local
1477 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_fetch_system_value() local
1613 emit_fetch_deriv( struct lp_build_tgsi_soa_context *bld, LLVMValueRef src, LLVMValueRef *res, LLVMValueRef *ddx, LLVMValueRef *ddy) emit_fetch_deriv() argument
1646 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_store_64bit_chan() local
1684 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_store_output() local
1733 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_store_tcs_output() local
1792 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_store_temp() local
1845 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_store_address() local
1868 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_store_chan() local
1931 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_debug() local
2066 emit_tex( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier, LLVMValueRef *texel, unsigned sampler_reg, enum lp_sampler_op_type sampler_op) emit_tex() argument
2279 emit_sample(struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, enum lp_build_tex_modifier modifier, boolean compare, enum lp_sampler_op_type sample_type, LLVMValueRef *texel) emit_sample() argument
2461 emit_fetch_texels( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, LLVMValueRef *texel, boolean is_samplei) emit_fetch_texels() argument
2602 emit_size_query( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, LLVMValueRef *sizes_out, boolean is_sviewinfo) emit_size_query() argument
2668 near_end_of_shader(struct lp_build_tgsi_soa_context *bld, int pc) near_end_of_shader() argument
2720 emit_kill_if( struct lp_build_tgsi_soa_context *bld, const struct tgsi_full_instruction *inst, int pc) emit_kill_if() argument
2781 emit_kill(struct lp_build_tgsi_soa_context *bld, int pc) emit_kill() argument
2810 emit_dump_file(struct lp_build_tgsi_soa_context *bld, unsigned file) emit_dump_file() argument
2893 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); lp_emit_declaration_soa() local
2992 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); lp_emit_immediate_soa() local
3075 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); ddx_emit() local
3087 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); ddy_emit() local
3099 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); kill_emit() local
3110 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); kill_if_emit() local
3121 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); tex_emit() local
3133 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); tex2_emit() local
3145 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); txb_emit() local
3157 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); txb2_emit() local
3169 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); txd_emit() local
3181 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); txl_emit() local
3193 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); txl2_emit() local
3205 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); txp_emit() local
3217 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); tg4_emit() local
3229 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); lodq_emit() local
3241 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); txq_emit() local
3252 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); txf_emit() local
3263 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); sample_i_emit() local
3274 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); sample_emit() local
3286 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); sample_b_emit() local
3298 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); sample_c_emit() local
3310 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); sample_c_lz_emit() local
3322 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); sample_d_emit() local
3334 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); sample_l_emit() local
3346 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); gather4_emit() local
3358 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); sviewinfo_emit() local
3369 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); lod_emit() local
3416 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); img_load_emit() local
3456 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); load_emit() local
3565 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); img_store_emit() local
3607 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); store_emit() local
3681 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); resq_emit() local
3714 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); img_atomic_emit() local
3762 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); atomic_emit() local
3901 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); barrier_emit() local
3950 clamp_mask_to_max_output_vertices(struct lp_build_tgsi_soa_context * bld, LLVMValueRef current_mask_vec, LLVMValueRef total_emitted_vertices_vec) clamp_mask_to_max_output_vertices() argument
3969 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_vertex() local
4008 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); end_primitive_masked() local
4066 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); end_primitive() local
4080 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); barrier_emit_tcs() local
4094 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); cal_emit() local
4106 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); ret_emit() local
4117 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); brk_emit() local
4129 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); if_emit() local
4143 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); uif_emit() local
4157 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); case_emit() local
4168 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); default_emit() local
4179 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); switch_emit() local
4190 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); endswitch_emit() local
4201 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); bgnloop_emit() local
4212 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); bgnsub_emit() local
4223 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); else_emit() local
4234 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); endif_emit() local
4245 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); endloop_emit() local
4256 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); endsub_emit() local
4267 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); cont_emit() local
4274 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_prologue() local
4362 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_prologue_post_decl() local
4371 struct lp_build_tgsi_soa_context * bld = lp_soa_context(bld_base); emit_epilogue() local
4416 struct lp_build_tgsi_soa_context bld; lp_build_tgsi_soa() local
[all...]
H A Dlp_bld_arit.h53 lp_build_comp(struct lp_build_context *bld,
57 lp_build_add(struct lp_build_context *bld,
62 lp_build_horizontal_add(struct lp_build_context *bld,
66 lp_build_hadd_partial4(struct lp_build_context *bld,
71 lp_build_sub(struct lp_build_context *bld,
83 lp_build_mul(struct lp_build_context *bld,
88 lp_build_mul_32_lohi_cpu(struct lp_build_context *bld,
94 lp_build_mul_32_lohi(struct lp_build_context *bld,
100 lp_build_mul_imm(struct lp_build_context *bld,
105 lp_build_div(struct lp_build_context *bld,
[all...]
H A Dlp_bld_sample.c244 lp_build_pmin(struct lp_build_sample_context *bld, in lp_build_pmin() argument
250 struct gallivm_state *gallivm = bld->gallivm; in lp_build_pmin()
251 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_pmin()
252 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_pmin()
253 struct lp_build_context *int_size_bld = &bld->int_size_in_bld; in lp_build_pmin()
254 struct lp_build_context *float_size_bld = &bld->float_size_in_bld; in lp_build_pmin()
255 struct lp_build_context *pmin_bld = &bld->lodf_bld; in lp_build_pmin()
256 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_pmin()
267 first_level = bld->dynamic_state->first_level(bld in lp_build_pmin()
338 lp_build_rho(struct lp_build_sample_context *bld, unsigned texture_unit, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef cube_rho, const struct lp_derivatives *derivs) lp_build_rho() argument
697 lp_build_brilinear_lod(struct lp_build_context *bld, LLVMValueRef lod, double factor, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) lp_build_brilinear_lod() argument
743 lp_build_brilinear_rho(struct lp_build_context *bld, LLVMValueRef rho, double factor, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart) lp_build_brilinear_rho() argument
796 lp_build_ilog2_sqrt(struct lp_build_context *bld, LLVMValueRef x) lp_build_ilog2_sqrt() argument
829 lp_build_lod_selector(struct lp_build_sample_context *bld, boolean is_lodq, unsigned texture_unit, unsigned sampler_unit, LLVMValueRef s, LLVMValueRef t, LLVMValueRef r, LLVMValueRef cube_rho, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, enum pipe_tex_mipfilter mip_filter, LLVMValueRef max_aniso, LLVMValueRef *out_lod, LLVMValueRef *out_lod_ipart, LLVMValueRef *out_lod_fpart, LLVMValueRef *out_lod_positive) lp_build_lod_selector() argument
1049 lp_build_nearest_mip_level(struct lp_build_sample_context *bld, unsigned texture_unit, LLVMValueRef lod_ipart, LLVMValueRef *level_out, LLVMValueRef *out_of_bounds) lp_build_nearest_mip_level() argument
1104 lp_build_linear_mip_levels(struct lp_build_sample_context *bld, unsigned texture_unit, LLVMValueRef lod_ipart, LLVMValueRef *lod_fpart_inout, LLVMValueRef *level0_out, LLVMValueRef *level1_out) lp_build_linear_mip_levels() argument
1186 lp_build_get_mipmap_level(struct lp_build_sample_context *bld, LLVMValueRef level) lp_build_get_mipmap_level() argument
1200 lp_build_get_mip_offsets(struct lp_build_sample_context *bld, LLVMValueRef level) lp_build_get_mip_offsets() argument
1244 lp_build_minify(struct lp_build_context *bld, LLVMValueRef base_size, LLVMValueRef level, boolean lod_scalar) lp_build_minify() argument
1311 lp_build_get_level_stride_vec(struct lp_build_sample_context *bld, LLVMValueRef stride_array, LLVMValueRef level) lp_build_get_level_stride_vec() argument
1356 lp_build_mipmap_level_sizes(struct lp_build_sample_context *bld, LLVMValueRef ilevel, LLVMValueRef *out_size, LLVMValueRef *row_stride_vec, LLVMValueRef *img_stride_vec) lp_build_mipmap_level_sizes() argument
1482 lp_build_extract_image_sizes(struct lp_build_sample_context *bld, struct lp_build_context *size_bld, struct lp_type coord_type, LLVMValueRef size, LLVMValueRef *out_width, LLVMValueRef *out_height, LLVMValueRef *out_depth) lp_build_extract_image_sizes() argument
1553 lp_build_unnormalized_coords(struct lp_build_sample_context *bld, LLVMValueRef flt_size, LLVMValueRef *s, LLVMValueRef *t, LLVMValueRef *r) lp_build_unnormalized_coords() argument
1757 lp_build_cube_lookup(struct lp_build_sample_context *bld, LLVMValueRef *coords, const struct lp_derivatives *derivs_in, LLVMValueRef *rho, struct lp_derivatives *derivs_out, boolean need_derivs) lp_build_cube_lookup() argument
2056 lp_build_sample_partial_offset(struct lp_build_context *bld, unsigned block_length, LLVMValueRef coord, LLVMValueRef stride, LLVMValueRef *out_offset, LLVMValueRef *out_subcoord) lp_build_sample_partial_offset() argument
2110 lp_build_sample_offset(struct lp_build_context *bld, const struct util_format_description *format_desc, LLVMValueRef x, LLVMValueRef y, LLVMValueRef z, LLVMValueRef y_stride, LLVMValueRef z_stride, LLVMValueRef *out_offset, LLVMValueRef *out_i, LLVMValueRef *out_j) lp_build_sample_offset() argument
2158 lp_build_sample_min(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef v0, LLVMValueRef v1) lp_build_sample_min() argument
2175 lp_build_sample_max(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef v0, LLVMValueRef v1) lp_build_sample_max() argument
2192 lp_build_sample_min_2d(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y, LLVMValueRef a, LLVMValueRef b, LLVMValueRef c, LLVMValueRef d) lp_build_sample_min_2d() argument
2206 lp_build_sample_max_2d(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y, LLVMValueRef a, LLVMValueRef b, LLVMValueRef c, LLVMValueRef d) lp_build_sample_max_2d() argument
2220 lp_build_sample_min_3d(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y, LLVMValueRef z, LLVMValueRef a, LLVMValueRef b, LLVMValueRef c, LLVMValueRef d, LLVMValueRef e, LLVMValueRef f, LLVMValueRef g, LLVMValueRef h) lp_build_sample_min_3d() argument
2235 lp_build_sample_max_3d(struct lp_build_context *bld, LLVMValueRef x, LLVMValueRef y, LLVMValueRef z, LLVMValueRef a, LLVMValueRef b, LLVMValueRef c, LLVMValueRef d, LLVMValueRef e, LLVMValueRef f, LLVMValueRef g, LLVMValueRef h) lp_build_sample_max_3d() argument
2250 lp_build_reduce_filter(struct lp_build_context *bld, enum pipe_tex_reduction_mode mode, unsigned flags, unsigned num_chan, LLVMValueRef x, LLVMValueRef *v00, LLVMValueRef *v01, LLVMValueRef *out) lp_build_reduce_filter() argument
2278 lp_build_reduce_filter_2d(struct lp_build_context *bld, enum pipe_tex_reduction_mode mode, unsigned flags, unsigned num_chan, LLVMValueRef x, LLVMValueRef y, LLVMValueRef *v00, LLVMValueRef *v01, LLVMValueRef *v10, LLVMValueRef *v11, LLVMValueRef *out) lp_build_reduce_filter_2d() argument
2309 lp_build_reduce_filter_3d(struct lp_build_context *bld, enum pipe_tex_reduction_mode mode, unsigned flags, unsigned num_chan, LLVMValueRef x, LLVMValueRef y, LLVMValueRef z, LLVMValueRef *v000, LLVMValueRef *v001, LLVMValueRef *v010, LLVMValueRef *v011, LLVMValueRef *v100, LLVMValueRef *v101, LLVMValueRef *v110, LLVMValueRef *v111, LLVMValueRef *out) lp_build_reduce_filter_3d() argument
[all...]
H A Dlp_bld_sample_soa.c78 lp_build_sample_texel_soa(struct lp_build_sample_context *bld, in lp_build_sample_texel_soa() argument
91 const struct lp_static_sampler_state *static_state = bld->static_sampler_state; in lp_build_sample_texel_soa()
92 const unsigned dims = bld->dims; in lp_build_sample_texel_soa()
93 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_sample_texel_soa()
94 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_sample_texel_soa()
142 lp_build_sample_offset(&bld->int_coord_bld, in lp_build_sample_texel_soa()
143 bld->format_desc, in lp_build_sample_texel_soa()
147 offset = lp_build_add(&bld->int_coord_bld, offset, mipoffsets); in lp_build_sample_texel_soa()
159 offset = lp_build_andnot(&bld->int_coord_bld, offset, use_border); in lp_build_sample_texel_soa()
162 lp_build_fetch_rgba_soa(bld in lp_build_sample_texel_soa()
236 lp_build_coord_mirror(struct lp_build_sample_context *bld, LLVMValueRef coord, boolean posOnly) lp_build_coord_mirror() argument
277 lp_build_coord_repeat_npot_linear(struct lp_build_sample_context *bld, LLVMValueRef coord_f, LLVMValueRef length_i, LLVMValueRef length_f, LLVMValueRef *coord0_i, LLVMValueRef *weight_f) lp_build_coord_repeat_npot_linear() argument
319 lp_build_sample_wrap_linear(struct lp_build_sample_context *bld, boolean is_gather, LLVMValueRef coord, LLVMValueRef length, LLVMValueRef length_f, LLVMValueRef offset, boolean is_pot, unsigned wrap_mode, LLVMValueRef *x0_out, LLVMValueRef *x1_out, LLVMValueRef *weight_out) lp_build_sample_wrap_linear() argument
686 lp_build_sample_wrap_nearest(struct lp_build_sample_context *bld, LLVMValueRef coord, LLVMValueRef length, LLVMValueRef length_f, LLVMValueRef offset, boolean is_pot, unsigned wrap_mode) lp_build_sample_wrap_nearest() argument
830 lp_build_sample_comparefunc(struct lp_build_sample_context *bld, LLVMValueRef p, LLVMValueRef texel) lp_build_sample_comparefunc() argument
864 lp_build_sample_image_nearest(struct lp_build_sample_context *bld, LLVMValueRef size, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef mipoffsets, const LLVMValueRef *coords, const LLVMValueRef *offsets, LLVMValueRef colors_out[4]) lp_build_sample_image_nearest() argument
958 lp_build_masklerp(struct lp_build_context *bld, LLVMValueRef weight, LLVMValueRef mask0, LLVMValueRef mask1) lp_build_masklerp() argument
983 lp_build_masklerp2d(struct lp_build_context *bld, LLVMValueRef weight0, LLVMValueRef weight1, LLVMValueRef mask00, LLVMValueRef mask01, LLVMValueRef mask10, LLVMValueRef mask11) lp_build_masklerp2d() argument
1009 lp_build_sample_image_linear(struct lp_build_sample_context *bld, boolean is_gather, LLVMValueRef size, LLVMValueRef linear_mask, LLVMValueRef row_stride_vec, LLVMValueRef img_stride_vec, LLVMValueRef data_ptr, LLVMValueRef mipoffsets, const LLVMValueRef *coords, const LLVMValueRef *offsets, LLVMValueRef colors_out[4]) lp_build_sample_image_linear() argument
1783 lp_build_sample_mipmap(struct lp_build_sample_context *bld, unsigned img_filter, unsigned mip_filter, boolean is_gather, const LLVMValueRef *coords, const LLVMValueRef *offsets, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef lod_fpart, LLVMValueRef *colors_out) lp_build_sample_mipmap() argument
1926 lp_build_sample_mipmap_both(struct lp_build_sample_context *bld, LLVMValueRef linear_mask, unsigned mip_filter, const LLVMValueRef *coords, const LLVMValueRef *offsets, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef lod_fpart, LLVMValueRef lod_positive, LLVMValueRef *colors_out) lp_build_sample_mipmap_both() argument
2040 lp_build_layer_coord(struct lp_build_sample_context *bld, unsigned texture_unit, boolean is_cube_array, LLVMValueRef layer, LLVMValueRef *out_of_bounds) lp_build_layer_coord() argument
2074 lp_build_sample_aniso(struct lp_build_sample_context *bld, unsigned img_filter, unsigned mip_filter, boolean is_gather, const LLVMValueRef *coords, const LLVMValueRef *offsets, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef lod_fpart, LLVMValueRef *colors_out) lp_build_sample_aniso() argument
2523 lp_build_sample_common(struct lp_build_sample_context *bld, boolean is_lodq, unsigned texture_index, unsigned sampler_index, LLVMValueRef *coords, const struct lp_derivatives *derivs, LLVMValueRef lod_bias, LLVMValueRef explicit_lod, LLVMValueRef *lod_pos_or_zero, LLVMValueRef *lod, LLVMValueRef *lod_fpart, LLVMValueRef *ilevel0, LLVMValueRef *ilevel1) lp_build_sample_common() argument
2700 lp_build_clamp_border_color(struct lp_build_sample_context *bld, unsigned sampler_unit) lp_build_clamp_border_color() argument
2933 lp_build_sample_general(struct lp_build_sample_context *bld, unsigned sampler_unit, boolean is_gather, const LLVMValueRef *coords, const LLVMValueRef *offsets, LLVMValueRef lod_positive, LLVMValueRef lod_fpart, LLVMValueRef ilevel0, LLVMValueRef ilevel1, LLVMValueRef *colors_out) lp_build_sample_general() argument
3096 lp_build_fetch_texel(struct lp_build_sample_context *bld, unsigned texture_unit, LLVMValueRef ms_index, const LLVMValueRef *coords, LLVMValueRef explicit_lod, const LLVMValueRef *offsets, LLVMValueRef *colors_out) lp_build_fetch_texel() argument
3316 struct lp_build_sample_context bld; lp_build_sample_soa_code() local
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend_aos.c94 lp_build_blend_factor_unswizzled(struct lp_build_blend_aos_context *bld, in lp_build_blend_factor_unswizzled() argument
98 LLVMValueRef src_alpha = bld->src_alpha ? bld->src_alpha : bld->src; in lp_build_blend_factor_unswizzled()
99 LLVMValueRef src1_alpha = bld->src1_alpha ? bld->src1_alpha : bld->src1; in lp_build_blend_factor_unswizzled()
100 LLVMValueRef const_alpha = bld->const_alpha ? bld->const_alpha : bld in lp_build_blend_factor_unswizzled()
228 lp_build_blend_swizzle(struct lp_build_blend_aos_context *bld, LLVMValueRef rgb, LLVMValueRef alpha, enum lp_build_blend_swizzle rgb_swizzle, unsigned alpha_swizzle, unsigned num_channels) lp_build_blend_swizzle() argument
264 lp_build_blend_factor(struct lp_build_blend_aos_context *bld, unsigned rgb_factor, unsigned alpha_factor, unsigned alpha_swizzle, unsigned num_channels) lp_build_blend_factor() argument
329 struct lp_build_blend_aos_context bld; lp_build_blend_aos() local
[all...]
H A Dlp_bld_interp.c157 calc_centroid_offsets(struct lp_build_interp_soa_context *bld, in calc_centroid_offsets() argument
164 struct lp_build_context *coeff_bld = &bld->coeff_bld; in calc_centroid_offsets()
169 for (int s = bld->coverage_samples - 1; s >= 0; s--) { in calc_centroid_offsets()
171 LLVMValueRef s_mask_idx = LLVMBuildMul(builder, bld->num_loop, lp_build_const_int32(gallivm, s), ""); in calc_centroid_offsets()
175 if (s == bld->coverage_samples - 1) in calc_centroid_offsets()
183 x_val_idx = lp_build_array_get(gallivm, bld->sample_pos_array, x_val_idx); in calc_centroid_offsets()
184 y_val_idx = lp_build_array_get(gallivm, bld->sample_pos_array, y_val_idx); in calc_centroid_offsets()
215 coeffs_init_simple(struct lp_build_interp_soa_context *bld, in coeffs_init_simple() argument
220 struct lp_build_context *coeff_bld = &bld->coeff_bld; in coeffs_init_simple()
221 struct lp_build_context *setup_bld = &bld in coeffs_init_simple()
284 attribs_update_simple(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, LLVMValueRef loop_iter, LLVMValueRef mask_store, LLVMValueRef sample_id, int start, int end) attribs_update_simple() argument
437 lp_build_interp_soa_indirect(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, unsigned attrib, unsigned chan, LLVMValueRef indir_index, LLVMValueRef pixoffx, LLVMValueRef pixoffy) lp_build_interp_soa_indirect() argument
508 lp_build_interp_soa(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, LLVMValueRef loop_iter, LLVMValueRef mask_store, unsigned attrib, unsigned chan, enum tgsi_interpolate_loc loc, LLVMValueRef indir_index, LLVMValueRef offsets[2]) lp_build_interp_soa() argument
656 pos_init(struct lp_build_interp_soa_context *bld, LLVMValueRef x0, LLVMValueRef y0) pos_init() argument
672 lp_build_interp_soa_init(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, unsigned num_inputs, const struct lp_shader_input *inputs, boolean pixel_center_integer, unsigned coverage_samples, LLVMValueRef sample_pos_array, LLVMValueRef num_loop, LLVMBuilderRef builder, struct lp_type type, LLVMValueRef a0_ptr, LLVMValueRef dadx_ptr, LLVMValueRef dady_ptr, LLVMValueRef x0, LLVMValueRef y0) lp_build_interp_soa_init() argument
793 lp_build_interp_soa_update_inputs_dyn(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, LLVMValueRef quad_start_index, LLVMValueRef mask_store, LLVMValueRef sample_id) lp_build_interp_soa_update_inputs_dyn() argument
803 lp_build_interp_soa_update_pos_dyn(struct lp_build_interp_soa_context *bld, struct gallivm_state *gallivm, LLVMValueRef quad_start_index, LLVMValueRef sample_id) lp_build_interp_soa_update_pos_dyn() argument
[all...]
H A Dlp_bld_blend.c109 lp_build_mul_norm_expand(struct lp_build_context *bld, in lp_build_mul_norm_expand() argument
114 const struct lp_type type = bld->type; in lp_build_mul_norm_expand()
124 if (a == bld->zero || b == bld->zero) { in lp_build_mul_norm_expand()
125 LLVMValueRef zero = LLVMConstNull(lp_build_vec_type(bld->gallivm, wide_type)); in lp_build_mul_norm_expand()
136 lp_build_unpack2_native(bld->gallivm, type, wide_type, a, &al, &ah); in lp_build_mul_norm_expand()
137 lp_build_unpack2_native(bld->gallivm, type2, wide_type2, b, &bl, &bh); in lp_build_mul_norm_expand()
139 *resl = lp_build_mul_norm(bld->gallivm, wide_type, al, bl); in lp_build_mul_norm_expand()
140 *resh = lp_build_mul_norm(bld->gallivm, wide_type, ah, bh); in lp_build_mul_norm_expand()
148 lp_build_blend_func(struct lp_build_context *bld, in lp_build_blend_func() argument
192 lp_build_blend(struct lp_build_context *bld, enum pipe_blend_func func, enum pipe_blendfactor factor_src, enum pipe_blendfactor factor_dst, LLVMValueRef src, LLVMValueRef dst, LLVMValueRef src_factor, LLVMValueRef dst_factor, boolean not_alpha_dependent, boolean optimise_only) lp_build_blend() argument
326 struct lp_build_context bld; lp_build_alpha_to_coverage() local
[all...]
/third_party/mesa3d/src/compiler/nir/tests/
H A Dcomparison_pre_tests.cpp34 bld = nir_builder_init_simple_shader(MESA_SHADER_VERTEX, &options, in comparison_pre_test()
37 v1 = nir_imm_vec4(&bld, -2.0, -1.0, 1.0, 2.0); in comparison_pre_test()
38 v2 = nir_imm_vec4(&bld, 2.0, 1.0, -1.0, -2.0); in comparison_pre_test()
39 v3 = nir_imm_vec4(&bld, 3.0, 4.0, 5.0, 6.0); in comparison_pre_test()
44 ralloc_free(bld.shader); in ~comparison_pre_test()
48 struct nir_builder bld; member in comparison_pre_test
96 nir_ssa_def *one = nir_imm_float(&bld, 1.0f); in TEST_F()
97 nir_ssa_def *a = nir_channel(&bld, nir_fadd(&bld, v1, v3), 0); in TEST_F()
99 nir_ssa_def *flt = nir_flt(&bld, in TEST_F()
[all...]
H A Dlower_returns_tests.cpp32 nir_builder bld; member in nir_opt_lower_returns_test
42 bld = nir_builder_init_simple_shader(MESA_SHADER_VERTEX, &options, "lower returns test"); in nir_opt_lower_returns_test()
44 nir_variable *var = nir_variable_create(bld.shader, nir_var_shader_in, glsl_int_type(), "in"); in nir_opt_lower_returns_test()
45 in_def = nir_load_var(&bld, var); in nir_opt_lower_returns_test()
50 ralloc_free(bld.shader); in ~nir_opt_lower_returns_test()
95 nir_loop *loop = nir_push_loop(&bld); in TEST_F()
97 nir_ssa_def *one = nir_imm_int(&bld, 1); in TEST_F()
99 nir_ssa_def *cmp_result = nir_ieq(&bld, in_def, one); in TEST_F()
100 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F()
102 nir_jump(&bld, nir_jump_retur in TEST_F()
[all...]
H A Dopt_if_tests.cpp32 nir_builder bld; member in nir_opt_if_test
43 bld = nir_builder_init_simple_shader(MESA_SHADER_VERTEX, &options, "if test"); in nir_opt_if_test()
45 nir_variable *var = nir_variable_create(bld.shader, nir_var_shader_in, glsl_int_type(), "in"); in nir_opt_if_test()
46 in_def = nir_load_var(&bld, var); in nir_opt_if_test()
48 out_var = nir_variable_create(bld.shader, nir_var_shader_out, glsl_int_type(), "out"); in nir_opt_if_test()
53 ralloc_free(bld.shader); in ~nir_opt_if_test()
70 nir_ssa_def *one = nir_imm_int(&bld, 1); in TEST_F()
72 nir_ssa_def *cmp_result = nir_ieq(&bld, in_def, one); in TEST_F()
73 nir_if *nif = nir_push_if(&bld, cmp_result); in TEST_F()
75 nir_push_else(&bld, NUL in TEST_F()
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_idiv.c44 convert_instr(nir_builder *bld, nir_op op, in convert_instr() argument
55 af = nir_i2f32(bld, numer); in convert_instr()
56 bf = nir_i2f32(bld, denom); in convert_instr()
57 af = nir_fabs(bld, af); in convert_instr()
58 bf = nir_fabs(bld, bf); in convert_instr()
59 a = nir_iabs(bld, numer); in convert_instr()
60 b = nir_iabs(bld, denom); in convert_instr()
62 af = nir_u2f32(bld, numer); in convert_instr()
63 bf = nir_u2f32(bld, denom); in convert_instr()
69 bf = nir_frcp(bld, b in convert_instr()
124 emit_udiv(nir_builder *bld, nir_ssa_def *numer, nir_ssa_def *denom, bool modulo) emit_udiv() argument
161 emit_idiv(nir_builder *bld, nir_ssa_def *numer, nir_ssa_def *denom, nir_op op) emit_idiv() argument
186 convert_instr_precise(nir_builder *bld, nir_op op, nir_ssa_def *numer, nir_ssa_def *denom) convert_instr_precise() argument
[all...]
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_lowering_nv50.cpp62 expandIntegerMUL(BuildUtil *bld, Instruction *mul) in expandIntegerMUL() argument
87 bld->setPosition(mul, true); in expandIntegerMUL()
93 t[j] = bld->getSSA(fullSize); in expandIntegerMUL()
96 s[0] = bld->getSSA(fullSize); in expandIntegerMUL()
97 s[1] = bld->getSSA(fullSize); in expandIntegerMUL()
98 bld->mkOp1(OP_ABS, mul->sType, s[0], mul->getSrc(0)); in expandIntegerMUL()
99 bld->mkOp1(OP_ABS, mul->sType, s[1], mul->getSrc(1)); in expandIntegerMUL()
107 i[0] = bld->mkSplit(a, halfSize, s[0]); in expandIntegerMUL()
108 i[1] = bld->mkSplit(b, halfSize, s[1]); in expandIntegerMUL()
111 i[2] = i[3] = bld in expandIntegerMUL()
236 BuildUtil bld; global() member in nv50_ir::NV50LegalizePostRA
366 BuildUtil bld; global() member in nv50_ir::NV50LegalizeSSA
687 BuildUtil bld; global() member in nv50_ir::NV50LoweringPreSSA
[all...]
H A Dnv50_ir_lowering_gv100.cpp35 Value *pred = bld.getSSA(1, FILE_PREDICATE); in handleCMP()
37 bld.mkCmp(OP_SET, reverseCondCode(i->asCmp()->setCond), TYPE_U8, pred, in handleCMP()
38 i->sType, bld.mkImm(0), i->getSrc(2))->ftz = i->ftz; in handleCMP()
39 bld.mkOp3(OP_SELP, TYPE_U32, i->getDef(0), i->getSrc(0), i->getSrc(1), pred); in handleCMP()
48 Value *carry = bld.getSSA(1, FILE_PREDICATE); in handleIADD64()
49 Value *def[2] = { bld.getSSA(), bld.getSSA() }; in handleIADD64()
54 bld.mkSplit(src[s], 4, i->getSrc(s)); in handleIADD64()
57 src[s][1] = bld.mkImm(0); in handleIADD64()
61 bld in handleIADD64()
[all...]
H A Dnv50_ir_lowering_helper.cpp65 bld.setPosition(insn, false); in handleABS()
67 Value *neg = bld.getSSA(8); in handleABS()
69 Value *lo = bld.getSSA(), *hi = bld.getSSA(); in handleABS()
70 bld.mkOp2(OP_SUB, dTy, neg, bld.mkImm((uint64_t)0), insn->getSrc(0)); in handleABS()
71 bld.mkSplit(negComp, 4, neg); in handleABS()
72 bld.mkSplit(srcComp, 4, insn->getSrc(0)); in handleABS()
73 bld.mkCmp(OP_SLCT, CC_LT, TYPE_S32, lo, TYPE_S32, negComp[0], srcComp[0], srcComp[1]); in handleABS()
74 bld in handleABS()
[all...]
H A Dnv50_ir_lowering_nvc0.cpp49 bld.setPosition(i, false); in handleDIV()
57 bld.mkMovToReg(s, i->getSrc(s)); in handleDIV()
60 bld.mkMovToReg(s, ld->getSrc(0)); in handleDIV()
75 call = bld.mkFlow(OP_CALL, NULL, CC_ALWAYS, NULL); in handleDIV()
76 bld.mkMovFromReg(i->getDef(0), i->op == OP_DIV ? 0 : 1); in handleDIV()
77 bld.mkClobber(FILE_GPR, (i->op == OP_DIV) ? 0xe : 0xd, 2); in handleDIV()
78 bld.mkClobber(FILE_PREDICATE, (i->dType == TYPE_S32) ? 0xf : 0x3, 0); in handleDIV()
93 def[0] = bld.mkMovToReg(0, src[0])->getDef(0); in handleRCPRSQLib()
94 def[1] = bld.mkMovToReg(1, src[1])->getDef(0); in handleRCPRSQLib()
101 call = bld in handleRCPRSQLib()
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dtest_fs_scoreboard.cpp99 emit_SEND(const fs_builder &bld, const fs_reg &dst, in emit_SEND() argument
102 fs_inst *inst = bld.emit(SHADER_OPCODE_SEND, dst, desc, desc, payload); in emit_SEND()
141 const fs_builder &bld = v->bld; in TEST_F() local
148 bld.ADD( x, g[1], g[2]); in TEST_F()
149 bld.MUL( y, g[3], g[4]); in TEST_F()
150 bld.AND(g[5], x, y); in TEST_F()
168 const fs_builder &bld = v->bld; in TEST_F() local
174 bld in TEST_F()
194 const fs_builder &bld = v->bld; TEST_F() local
221 const fs_builder &bld = v->bld; TEST_F() local
254 const fs_builder &bld = v->bld; TEST_F() local
280 const fs_builder &bld = v->bld; TEST_F() local
306 const fs_builder &bld = v->bld; TEST_F() local
332 const fs_builder &bld = v->bld; TEST_F() local
361 const fs_builder &bld = v->bld; TEST_F() local
392 const fs_builder &bld = v->bld; TEST_F() local
418 const fs_builder &bld = v->bld; TEST_F() local
444 const fs_builder &bld = v->bld; TEST_F() local
474 const fs_builder &bld = v->bld; TEST_F() local
505 const fs_builder &bld = v->bld; TEST_F() local
541 const fs_builder &bld = v->bld; TEST_F() local
579 const fs_builder &bld = v->bld; TEST_F() local
609 const fs_builder &bld = v->bld; TEST_F() local
642 const fs_builder &bld = v->bld; TEST_F() local
675 const fs_builder &bld = v->bld; TEST_F() local
708 const fs_builder &bld = v->bld; TEST_F() local
746 const fs_builder &bld = v->bld; TEST_F() local
791 const fs_builder &bld = v->bld; TEST_F() local
836 const fs_builder &bld = v->bld; TEST_F() local
884 const fs_builder &bld = v->bld; TEST_F() local
[all...]

Completed in 23 milliseconds

1234567