/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_tgsi.c | 43 unsigned lp_bld_tgsi_list_init(struct lp_build_tgsi_context * bld_base) argument 45 bld_base->instructions = (struct tgsi_full_instruction *) 47 if (!bld_base->instructions) { 50 bld_base->max_instructions = LP_MAX_INSTRUCTIONS; 56 struct lp_build_tgsi_context * bld_base, 60 if (bld_base->num_instructions == bld_base->max_instructions) { 62 instructions = REALLOC(bld_base->instructions, bld_base->max_instructions 64 (bld_base 55 lp_bld_tgsi_add_instruction( struct lp_build_tgsi_context * bld_base, struct tgsi_full_instruction *inst_to_add) argument 85 lp_build_action_set_dst_type( struct lp_build_emit_data * emit_data, struct lp_build_tgsi_context *bld_base, unsigned tgsi_opcode) argument 99 lp_build_tgsi_intrinsic( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 111 lp_build_emit_llvm( struct lp_build_tgsi_context *bld_base, unsigned tgsi_opcode, struct lp_build_emit_data * emit_data) argument 127 lp_build_emit_llvm_unary( struct lp_build_tgsi_context *bld_base, unsigned tgsi_opcode, LLVMValueRef arg0) argument 139 lp_build_emit_llvm_binary( struct lp_build_tgsi_context *bld_base, unsigned tgsi_opcode, LLVMValueRef arg0, LLVMValueRef arg1) argument 153 lp_build_emit_llvm_ternary( struct lp_build_tgsi_context *bld_base, unsigned tgsi_opcode, LLVMValueRef arg0, LLVMValueRef arg1, LLVMValueRef arg2) argument 171 lp_build_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 189 lp_build_tgsi_inst_llvm( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_instruction * inst) argument 282 lp_build_emit_fetch( struct lp_build_tgsi_context *bld_base, const struct tgsi_full_instruction *inst, unsigned src_op, const unsigned chan_index) argument 338 lp_build_tgsi_llvm( struct lp_build_tgsi_context * bld_base, const struct tgsi_token *tokens) argument [all...] |
H A D | lp_bld_tgsi_action.c | 64 struct lp_build_tgsi_context * bld_base, 68 emit_data->args[0] = lp_build_emit_fetch(bld_base, emit_data->inst, 0, 0); 74 struct lp_build_tgsi_context * bld_base, 78 emit_data->args[0] = lp_build_emit_fetch(bld_base, emit_data->inst, 81 emit_data->args[1] = lp_build_emit_fetch(bld_base, emit_data->inst, 91 struct lp_build_tgsi_context * bld_base, 95 bld_base->base.gallivm->builder, 103 struct lp_build_tgsi_context * bld_base, 106 LLVMValueRef tmp = lp_build_emit_llvm_unary(bld_base, TGSI_OPCODE_ROUND, emit_data->args[0]); 107 emit_data->output[emit_data->chan] = LLVMBuildFPToSI(bld_base 63 scalar_unary_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 73 scalar_binary_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 89 add_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 101 arr_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 113 clamp_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 129 dp_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data, unsigned dp_components) argument 146 dp2_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 154 dp2_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 177 dp2a_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 187 dp2a_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 205 dp3_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 213 dp3_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 241 dp4_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 249 dp4_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 280 dph_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 296 dst_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 315 dst_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 342 end_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 353 exp_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 387 frc_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 402 kil_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 425 kilp_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 435 lit_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 449 lit_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 491 log_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 536 lrp_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 552 mad_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 568 mov_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 578 mul_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 590 pow_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 607 rsq_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 629 scs_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 655 sfl_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 666 str_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 676 sub_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 689 u2f_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 700 umad_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 715 umul_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 727 xpd_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 738 xpd_helper( struct lp_build_tgsi_context * bld_base, LLVMValueRef a, LLVMValueRef b, LLVMValueRef c, LLVMValueRef d) argument 754 xpd_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 780 lp_set_default_actions(struct lp_build_tgsi_context * bld_base) argument 833 abs_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 844 add_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 855 and_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 866 arl_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 880 arr_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 890 ceil_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 901 cmp_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 914 cnd_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 931 cos_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 942 div_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 953 ex2_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 964 exp_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 978 f2i_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 989 f2u_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1002 flr_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1013 i2f_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1024 iabs_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1035 idiv_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1046 ineg_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1058 iset_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data, unsigned pipe_func) argument 1076 imax_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1087 imin_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1098 isge_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1108 ishr_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1119 islt_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1130 issg_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1141 lg2_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1152 log_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1179 max_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1190 min_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1201 mod_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1212 not_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1223 or_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1234 pow_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1247 rcp_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1261 recip_sqrt_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1272 round_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1284 set_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data, unsigned pipe_func) argument 1301 seq_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1311 sge_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1322 sgt_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1332 shl_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1343 sin_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1354 sle_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1364 slt_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1375 sne_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1386 ssg_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1398 sub_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1411 trunc_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1422 uadd_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1433 udiv_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1444 umax_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1455 umin_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1466 umod_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1477 uset_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data, unsigned pipe_func) argument 1496 useq_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1506 usge_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1516 ushr_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1527 uslt_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1538 usne_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1548 xor_emit_cpu( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1559 lp_set_default_actions_cpu( struct lp_build_tgsi_context * bld_base) argument [all...] |
H A D | lp_bld_tgsi_aos.c | 67 swizzle_aos(struct lp_build_tgsi_context *bld_base, argument 75 struct lp_build_tgsi_aos_context *bld = lp_aos_context(bld_base); 87 return lp_build_swizzle_aos(&bld->bld_base.base, a, swizzles); 97 return lp_build_swizzle_scalar_aos(&bld->bld_base.base, a, chan); 103 struct lp_build_tgsi_context * bld_base, 108 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); 109 LLVMBuilderRef builder = bld_base->base.gallivm->builder; 110 struct lp_type type = bld_base->base.type; 120 res = bld->bld_base.base.undef; 127 index = lp_build_const_int32(bld->bld_base 102 emit_fetch_constant( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register * reg, enum tgsi_opcode_type stype, unsigned swizzle) argument 173 emit_fetch_immediate( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register * reg, enum tgsi_opcode_type stype, unsigned swizzle) argument 186 emit_fetch_input( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register * reg, enum tgsi_opcode_type stype, unsigned swizzle) argument 200 emit_fetch_temporary( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register * reg, enum tgsi_opcode_type stype, unsigned swizzle) argument [all...] |
H A D | lp_bld_tgsi_soa.c | 391 LLVMBuilderRef builder = bld->bld_base.base.gallivm->builder; 394 LLVMValueRef lindex = lp_build_const_int32(bld->bld_base.base.gallivm, index * 4 + chan); 413 LLVMBuilderRef builder = bld->bld_base.base.gallivm->builder; 416 LLVMValueRef lindex = lp_build_const_int32(bld->bld_base.base.gallivm, 468 struct gallivm_state *gallivm = bld->bld_base.base.gallivm; 485 for (i = 0; i < bld->bld_base.base.type.length; i++) { 521 LLVMBuilderRef builder = bld->bld_base.base.gallivm->builder; 522 struct lp_build_context *uint_bld = &bld->bld_base.uint_bld; 532 base = lp_build_const_int_vec(bld->bld_base.base.gallivm, uint_bld->type, reg_index); 541 max_index = lp_build_const_int_vec(bld->bld_base 552 stype_to_fetch(struct lp_build_tgsi_context * bld_base, enum tgsi_opcode_type stype) argument 579 emit_fetch_constant( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register * reg, enum tgsi_opcode_type stype, unsigned swizzle) argument 636 emit_fetch_immediate( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register * reg, enum tgsi_opcode_type stype, unsigned swizzle) argument 655 emit_fetch_input( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register * reg, enum tgsi_opcode_type stype, unsigned swizzle) argument 721 emit_fetch_temporary( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register * reg, enum tgsi_opcode_type stype, unsigned swizzle) argument 782 emit_fetch_system_value( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register * reg, enum tgsi_opcode_type stype, unsigned swizzle) argument 923 emit_store_chan( struct lp_build_tgsi_context *bld_base, const struct tgsi_full_instruction *inst, unsigned index, unsigned chan_index, LLVMValueRef pred, LLVMValueRef value) argument 1113 emit_store( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_instruction * inst, const struct tgsi_opcode_info * info, LLVMValueRef dst[4]) argument 1544 lp_emit_declaration_soa( struct lp_build_tgsi_context *bld_base, const struct tgsi_full_declaration *decl) argument 1600 lp_emit_immediate_soa( struct lp_build_tgsi_context *bld_base, const struct tgsi_full_immediate *imm) argument 1643 ddx_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1655 ddy_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1667 kilp_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1678 kil_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1689 tex_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1700 txb_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1712 txd_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1724 txl_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1736 txp_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1748 txq_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1759 cal_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1771 ret_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1782 brk_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1793 if_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1807 bgnloop_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1818 bgnsub_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1829 else_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1840 endif_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1851 endloop_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1862 endsub_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1873 cont_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1892 nrm_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1976 emit_prologue(struct lp_build_tgsi_context * bld_base) argument 2028 emit_epilogue(struct lp_build_tgsi_context * bld_base) argument [all...] |
H A D | lp_bld_tgsi_action.h | 122 * This function initializes the bld_base->op_actions array with some 127 struct lp_build_tgsi_context * bld_base); 130 * This function initialize the bld_base->op_actions array with some 136 struct lp_build_tgsi_context * bld_base);
|
H A D | lp_bld_tgsi.h | 278 unsigned lp_bld_tgsi_list_init(struct lp_build_tgsi_context * bld_base); 282 struct lp_build_tgsi_context * bld_base, 358 struct lp_build_tgsi_context bld_base; member in struct:lp_build_tgsi_soa_context 411 struct lp_build_tgsi_context *bld_base, 435 struct lp_build_tgsi_context bld_base; member in struct:lp_build_tgsi_aos_context 473 lp_soa_context(struct lp_build_tgsi_context *bld_base) argument 475 return (struct lp_build_tgsi_soa_context *)bld_base; 479 lp_aos_context(struct lp_build_tgsi_context *bld_base) argument 481 return (struct lp_build_tgsi_aos_context *)bld_base; 505 struct lp_build_tgsi_context * bld_base, [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | radeon_setup_tgsi_llvm.c | 61 struct lp_build_tgsi_context * bld_base, 70 LLVMInt32TypeInContext(bld_base->base.gallivm->context); 77 return LLVMBuildShuffleVector(bld_base->base.gallivm->builder, 89 struct gallivm_state * gallivm = bld->bld_base.base.gallivm; 105 struct lp_build_tgsi_context *bld_base, 111 LLVMContextRef ctx = bld_base->base.gallivm->context; 127 struct lp_build_tgsi_soa_context *bld = lp_soa_context(bld_base); 133 struct lp_build_tgsi_context *bld_base, 138 struct radeon_llvm_context * ctx = radeon_llvm_context(bld_base); 146 return lp_build_gather_values(bld_base 60 emit_swizzle( struct lp_build_tgsi_context * bld_base, LLVMValueRef value, unsigned swizzle_x, unsigned swizzle_y, unsigned swizzle_z, unsigned swizzle_w) argument 104 emit_fetch_immediate( struct lp_build_tgsi_context *bld_base, const struct tgsi_full_src_register *reg, enum tgsi_opcode_type type, unsigned swizzle) argument 132 emit_fetch_input( struct lp_build_tgsi_context *bld_base, const struct tgsi_full_src_register *reg, enum tgsi_opcode_type type, unsigned swizzle) argument 154 emit_fetch_temporary( struct lp_build_tgsi_context *bld_base, const struct tgsi_full_src_register *reg, enum tgsi_opcode_type type, unsigned swizzle) argument 185 emit_fetch_output( struct lp_build_tgsi_context *bld_base, const struct tgsi_full_src_register *reg, enum tgsi_opcode_type type, unsigned swizzle) argument 205 emit_declaration( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_declaration *decl) argument 270 emit_store( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_instruction * inst, const struct tgsi_opcode_info * info, LLVMValueRef dst[4]) argument 345 bgnloop_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 365 brk_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 377 cont_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 389 else_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 423 endif_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 455 endloop_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 472 if_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 502 kil_emit( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 517 emit_prepare_cube_coords( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 567 txd_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 587 txp_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 617 tex_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 649 txf_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 683 emit_icmp( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 712 emit_cmp( const struct lp_build_tgsi_action *action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 743 emit_not( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 754 emit_and( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 764 emit_or( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 774 emit_uadd( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 784 emit_udiv( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 794 emit_idiv( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 804 emit_mod( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 814 emit_umod( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 824 emit_shl( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 834 emit_ushr( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 843 emit_ishr( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 853 emit_xor( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 863 emit_ssg( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 887 emit_ineg( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 897 emit_f2i( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 907 emit_f2u( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 917 emit_i2f( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 927 emit_u2f( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 937 emit_immediate(struct lp_build_tgsi_context * bld_base, const struct tgsi_full_immediate *imm) argument 984 build_tgsi_intrinsic_nomem( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 1024 struct lp_build_tgsi_context * bld_base = &ctx->soa.bld_base; local [all...] |
H A D | radeon_llvm.h | 116 struct lp_build_tgsi_context * bld_base, 121 LLVMBuilderRef builder = bld_base->base.gallivm->builder; 122 LLVMContextRef ctx = bld_base->base.gallivm->context; 151 struct lp_build_tgsi_context * bld_base) 153 return (struct radeon_llvm_context*)bld_base; 171 struct lp_build_tgsi_context * bld_base, 115 bitcast( struct lp_build_tgsi_context * bld_base, enum tgsi_opcode_type type, LLVMValueRef value ) argument 150 radeon_llvm_context( struct lp_build_tgsi_context * bld_base) argument
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_llvm.c | 22 struct lp_build_tgsi_context * bld_base, 27 LLVMValueRef idx = lp_build_const_int32(bld_base->base.gallivm, 29 LLVMValueRef cval = build_intrinsic(bld_base->base.gallivm->builder, 30 "llvm.AMDGPU.load.const", bld_base->base.elem_type, 33 return bitcast(bld_base, type, cval); 50 ctx->soa.bld_base.base.gallivm, chan); 52 ctx->soa.bld_base.base.gallivm->builder, 54 ctx->soa.bld_base.base.elem_type, ®, 1, 59 struct lp_build_tgsi_context * bld_base, 64 struct radeon_llvm_context * ctx = radeon_llvm_context(bld_base); 21 llvm_fetch_const( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register *reg, enum tgsi_opcode_type type, unsigned swizzle) argument 58 llvm_fetch_system_value( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register *reg, enum tgsi_opcode_type type, unsigned swizzle) argument 92 llvm_emit_prologue(struct lp_build_tgsi_context * bld_base) argument 113 llvm_emit_epilogue(struct lp_build_tgsi_context * bld_base) argument 142 llvm_emit_tex( const struct lp_build_tgsi_action * action, struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 168 dp_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 217 struct lp_build_tgsi_context * bld_base = &ctx->soa.bld_base; local [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeonsi_shader.c | 85 struct lp_build_tgsi_context * bld_base) 87 return (struct si_shader_context *)bld_base; 211 struct lp_build_context * uint = &si_shader_ctx->radeon_bld.soa.bld_base.uint_bld; 212 struct lp_build_context * base = &si_shader_ctx->radeon_bld.soa.bld_base.base; 262 &si_shader_ctx->radeon_bld.soa.bld_base.base; 343 si_shader_context(&radeon_bld->soa.bld_base); 354 struct lp_build_tgsi_context * bld_base, 359 struct lp_build_context * base = &bld_base->base; 376 return bitcast(bld_base, type, load); 380 static void si_llvm_init_export_args(struct lp_build_tgsi_context *bld_base, argument 84 si_shader_context( struct lp_build_tgsi_context * bld_base) argument 353 fetch_constant( struct lp_build_tgsi_context * bld_base, const struct tgsi_full_src_register *reg, enum tgsi_opcode_type type, unsigned swizzle) argument 458 si_llvm_emit_epilogue(struct lp_build_tgsi_context * bld_base) argument 588 tex_fetch_args( struct lp_build_tgsi_context * bld_base, struct lp_build_emit_data * emit_data) argument 667 struct lp_build_tgsi_context * bld_base; local [all...] |