/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_tgsi.c | 43 unsigned lp_bld_tgsi_list_init(struct lp_build_tgsi_context * bld_base) 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->max_instructions + LP_MAX_INSTRUCTIONS [all...] |
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->base.gallivm->builder, tmp [all...] |
lp_bld_tgsi_aos.c | 67 swizzle_aos(struct lp_build_tgsi_context *bld_base, 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.base.gallivm [all...] |
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.base.gallivm [all...] |
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);
|
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) 475 return (struct lp_build_tgsi_soa_context *)bld_base; 479 lp_aos_context(struct lp_build_tgsi_context *bld_base) 481 return (struct lp_build_tgsi_aos_context *)bld_base; 505 struct lp_build_tgsi_context * bld_base, [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_tgsi.c | 43 unsigned lp_bld_tgsi_list_init(struct lp_build_tgsi_context * bld_base) 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->max_instructions + LP_MAX_INSTRUCTIONS [all...] |
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->base.gallivm->builder, tmp [all...] |
lp_bld_tgsi_aos.c | 67 swizzle_aos(struct lp_build_tgsi_context *bld_base, 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.base.gallivm [all...] |
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.base.gallivm [all...] |
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);
|
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) 475 return (struct lp_build_tgsi_soa_context *)bld_base; 479 lp_aos_context(struct lp_build_tgsi_context *bld_base) 481 return (struct lp_build_tgsi_aos_context *)bld_base; 505 struct lp_build_tgsi_context * bld_base, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
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->base.gallivm, values 1024 struct lp_build_tgsi_context * bld_base = &ctx->soa.bld_base; local [all...] |
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,
|
/external/mesa3d/src/gallium/drivers/radeon/ |
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->base.gallivm, values 1024 struct lp_build_tgsi_context * bld_base = &ctx->soa.bld_base; local [all...] |
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,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
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); 217 struct lp_build_tgsi_context * bld_base = &ctx->soa.bld_base; local [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
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); 217 struct lp_build_tgsi_context * bld_base = &ctx->soa.bld_base; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
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, 667 struct lp_build_tgsi_context * bld_base; local [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
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, 667 struct lp_build_tgsi_context * bld_base; local [all...] |