Lines Matching defs:bld

935    struct lp_build_context bld;
936 lp_build_context_init(&bld, gallivm, type);
944 out = LLVMBuildLoad2(builder, LLVMTypeOf(bld.zero), outputs[attrib][chan], "");
945 out = lp_build_clamp(&bld, out, bld.zero, bld.one);
1732 struct lp_build_context * bld,
1740 struct gallivm_state *gallivm = bld->gallivm;
1744 struct lp_type type = bld->type;
1748 res = bld->zero;
1788 struct lp_build_context * bld,
1797 struct lp_type gs_type = bld->type;
1807 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(gallivm, bld->type, 0), "");
1838 struct lp_build_context * bld,
1852 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(gallivm, bld->type, 0), "");
1853 for (i = 0; i < bld->type.length; ++i) {
1924 struct lp_build_context bld, blduivec;
2037 lp_build_context_init(&bld, gallivm, lp_type_uint(32));
2047 fake_buf_ptr = LLVMBuildGEP2(builder, LLVMInt8TypeInContext(context), fake_buf, &bld.zero, 1, "");
2067 fetch_max = LLVMBuildSub(builder, count, bld.one, "fetch_max");
2108 buf_offset = lp_build_add(&bld, vb_buffer_offset, src_offset);
2109 tmp = lp_build_sub(&bld, bsize, bld.one);
2140 buffer_size_adj[j] = LLVMBuildSelect(builder, ofbit, bld.zero,
2173 lp_build_loop_begin(&lp_loop, gallivm, bld.zero);
2235 32, bld.type, TRUE,
2287 LLVMValueRef base_vertex = lp_build_select(&bld, have_elts, vertex_id_offset, lp_build_const_int32(gallivm, 0));
2290 LLVMValueRef first_vertex = lp_build_select(&bld, have_elts, vertex_id_offset, start_or_maxelt);
2755 struct lp_build_context bld;
2837 lp_build_context_init(&bld, gallivm, lp_type_int(32));
3103 struct lp_build_context *bld,
3112 struct gallivm_state *gallivm = bld->gallivm;
3116 struct lp_type type = bld->type;
3121 res = bld->zero;
3158 res = lp_build_broadcast_scalar(bld, res);
3165 struct lp_build_context *bld,
3175 struct gallivm_state *gallivm = bld->gallivm;
3179 struct lp_type type = bld->type;
3184 res = bld->zero;
3221 res = lp_build_broadcast_scalar(bld, res);
3228 struct lp_build_context *bld,
3240 struct gallivm_state *gallivm = bld->gallivm;
3244 struct lp_type type = bld->type;
3279 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(gallivm, bld->type, 0), "");
3296 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(gallivm, bld->type, 0), "");
3344 struct lp_build_context bld, bldvec;
3413 lp_build_context_init(&bld, gallivm, lp_type_int(32));
3786 struct lp_build_context *bld,
3795 struct gallivm_state *gallivm = bld->gallivm;
3799 struct lp_type type = bld->type;
3804 res = bld->zero;
3842 res = lp_build_broadcast_scalar(bld, res);
3849 struct lp_build_context *bld,
3855 struct gallivm_state *gallivm = bld->gallivm;
3859 struct lp_type type = bld->type;
3864 res = bld->zero;
3892 res = lp_build_broadcast_scalar(bld, res);
3915 struct lp_build_context bld, bldvec;
3995 lp_build_context_init(&bld, gallivm, lp_type_int(32));
4036 lp_build_loop_begin(&lp_loop, gallivm, bld.zero);