/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
D | lp_bld_type.c | 64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_vec_type() local 66 return elem_type; in lp_build_vec_type() 68 return LLVMVectorType(elem_type, type.length); in lp_build_vec_type() 79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) in lp_check_elem_type() argument 83 assert(elem_type); in lp_check_elem_type() 84 if(!elem_type) in lp_check_elem_type() 87 elem_kind = LLVMGetTypeKind(elem_type); in lp_check_elem_type() 112 if(LLVMGetIntTypeWidth(elem_type) != type.width) in lp_check_elem_type() 123 LLVMTypeRef elem_type; in lp_check_vec_type() local 138 elem_type = LLVMGetElementType(vec_type); in lp_check_vec_type() [all …]
|
D | lp_bld_const.c | 251 LLVMTypeRef elem_type; in lp_build_one() local 257 elem_type = lp_build_elem_type(gallivm, type); in lp_build_one() 260 elems[0] = LLVMConstInt(elem_type, util_float_to_half(1.0f), 0); in lp_build_one() 262 elems[0] = LLVMConstReal(elem_type, 1.0); in lp_build_one() 264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0); in lp_build_one() 266 elems[0] = LLVMConstInt(elem_type, 1, 0); in lp_build_one() 268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0); in lp_build_one() 272 LLVMTypeRef vec_type = LLVMVectorType(elem_type, type.length); in lp_build_one() 303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_const_elem() local 307 elem = LLVMConstInt(elem_type, util_float_to_half((float)val), 0); in lp_build_const_elem() [all …]
|
D | lp_bld_intr.c | 170 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); in lp_build_intrinsic_binary_anylength() local 171 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength() 172 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
|
D | lp_bld_type.h | 146 LLVMTypeRef elem_type; member 317 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
|
D | lp_bld_logic.c | 594 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_select_aos() local 599 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
|
D | lp_bld_swizzle.c | 184 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_swizzle_scalar_aos() local 189 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0); in lp_build_swizzle_scalar_aos()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_type.c | 64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_vec_type() local 66 return elem_type; in lp_build_vec_type() 68 return LLVMVectorType(elem_type, type.length); in lp_build_vec_type() 79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) in lp_check_elem_type() argument 83 assert(elem_type); in lp_check_elem_type() 84 if(!elem_type) in lp_check_elem_type() 87 elem_kind = LLVMGetTypeKind(elem_type); in lp_check_elem_type() 112 if(LLVMGetIntTypeWidth(elem_type) != type.width) in lp_check_elem_type() 123 LLVMTypeRef elem_type; in lp_check_vec_type() local 138 elem_type = LLVMGetElementType(vec_type); in lp_check_vec_type() [all …]
|
D | lp_bld_const.c | 251 LLVMTypeRef elem_type; in lp_build_one() local 257 elem_type = lp_build_elem_type(gallivm, type); in lp_build_one() 260 elems[0] = LLVMConstInt(elem_type, util_float_to_half(1.0f), 0); in lp_build_one() 262 elems[0] = LLVMConstReal(elem_type, 1.0); in lp_build_one() 264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0); in lp_build_one() 266 elems[0] = LLVMConstInt(elem_type, 1, 0); in lp_build_one() 268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0); in lp_build_one() 272 LLVMTypeRef vec_type = LLVMVectorType(elem_type, type.length); in lp_build_one() 303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_const_elem() local 307 elem = LLVMConstInt(elem_type, util_float_to_half((float)val), 0); in lp_build_const_elem() [all …]
|
D | lp_bld_intr.c | 170 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); in lp_build_intrinsic_binary_anylength() local 171 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength() 172 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
|
D | lp_bld_type.h | 146 LLVMTypeRef elem_type; member 317 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
|
D | lp_bld_logic.c | 594 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_select_aos() local 599 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
|
D | lp_bld_swizzle.c | 184 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_swizzle_scalar_aos() local 189 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0); in lp_build_swizzle_scalar_aos()
|
D | lp_bld_sample_aos.c | 741 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_sample_fetch_image_linear() local 790 index = LLVMConstInt(elem_type, j/2 + subindex, 0); in lp_build_sample_fetch_image_linear() 794 index = LLVMConstInt(elem_type, h16.type.length/2 + j/2 + subindex, 0); in lp_build_sample_fetch_image_linear() 1463 lod_fpart = LLVMBuildTrunc(builder, lod_fpart, h16_bld.elem_type, ""); in lp_build_sample_mipmap()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | radeon_setup_tgsi_llvm.c | 219 ctx->soa.bld_base.uint_bld.elem_type, ""); in emit_declaration() 255 ctx->soa.bld_base.base.elem_type, ""); in emit_declaration() 317 base.elem_type, -1.0f); in emit_store() 524 LLVMTypeRef type = bld_base->base.elem_type; in emit_prepare_cube_coords() 583 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in txd_fetch_args() 596 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in txp_fetch_args() 640 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in tex_fetch_args() 656 LLVMTypeRef offset_type = bld_base->int_bld.elem_type; in txf_fetch_args() 876 val = LLVMBuildSelect(builder, cmp, val, LLVMConstInt(bld_base->int_bld.elem_type, -1, true), ""); in emit_ssg() 881 val = LLVMBuildSelect(builder, cmp, val, LLVMConstReal(bld_base->base.elem_type, -1), ""); in emit_ssg() [all …]
|
D | AMDGPUInstructions.td | 140 class Insert_Element <ValueType elem_type, ValueType vec_type, 145 (elem_type elem_class:$elem), sub_idx)),
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_setup_tgsi_llvm.c | 219 ctx->soa.bld_base.uint_bld.elem_type, ""); in emit_declaration() 255 ctx->soa.bld_base.base.elem_type, ""); in emit_declaration() 317 base.elem_type, -1.0f); in emit_store() 524 LLVMTypeRef type = bld_base->base.elem_type; in emit_prepare_cube_coords() 583 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in txd_fetch_args() 596 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in txp_fetch_args() 640 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in tex_fetch_args() 656 LLVMTypeRef offset_type = bld_base->int_bld.elem_type; in txf_fetch_args() 876 val = LLVMBuildSelect(builder, cmp, val, LLVMConstInt(bld_base->int_bld.elem_type, -1, true), ""); in emit_ssg() 881 val = LLVMBuildSelect(builder, cmp, val, LLVMConstReal(bld_base->base.elem_type, -1), ""); in emit_ssg() [all …]
|
D | AMDGPUInstructions.td | 140 class Insert_Element <ValueType elem_type, ValueType vec_type, 145 (elem_type elem_class:$elem), sub_idx)),
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
D | r600_llvm.c | 30 "llvm.AMDGPU.load.const", bld_base->base.elem_type, in llvm_fetch_const() 54 ctx->soa.bld_base.base.elem_type, ®, 1, in llvm_load_system_value() 87 ctx->soa.bld_base.base.elem_type, ®, 1, in llvm_load_input() 201 emit_data->dst_type = base->elem_type; in dp_fetch_args()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_llvm.c | 30 "llvm.AMDGPU.load.const", bld_base->base.elem_type, in llvm_fetch_const() 54 ctx->soa.bld_base.base.elem_type, ®, 1, in llvm_load_system_value() 87 ctx->soa.bld_base.base.elem_type, ®, 1, in llvm_load_input() 201 emit_data->dst_type = base->elem_type; in dp_fetch_args()
|
/external/opencv/cxcore/src/ |
D | cxpersistence.cpp | 1818 int elem_type = CV_NODE_NONE; in icvXMLParseValue() local 1836 elem_type = CV_NODE_STRING; in icvXMLParseValue() 1838 elem_type = CV_NODE_MAP; in icvXMLParseValue() 1840 elem_type = CV_NODE_MAP; in icvXMLParseValue() 1845 elem_type = CV_NODE_USER; in icvXMLParseValue() 1863 CV_CALL( ptr = icvXMLParseValue( fs, ptr, elem, elem_type)); in icvXMLParseValue() 2958 icvEncodeFormat( int elem_type, char* dt ) in icvEncodeFormat() argument 2960 sprintf( dt, "%d%c", CV_MAT_CN(elem_type), icvTypeSymbol[CV_MAT_DEPTH(elem_type)] ); in icvEncodeFormat() 3062 int elem_type = -1; in icvDecodeSimpleFormat() local 3074 elem_type = CV_MAKETYPE( fmt_pairs[1], fmt_pairs[0] ); in icvDecodeSimpleFormat() [all …]
|
/external/opencv/cxcore/include/ |
D | cxtypes.h | 1237 #define CV_SET_ELEM_FIELDS(elem_type) \ argument 1239 struct elem_type* next_free; 1519 #define CV_SEQ_ELEM( seq, elem_type, index ) \ argument 1522 (seq)->elem_size == sizeof(elem_type)), \ 1523 (elem_type*)((seq)->first && (unsigned)index < \ 1525 (seq)->first->data + (index) * sizeof(elem_type) : \ 1527 #define CV_GET_SEQ_ELEM( elem_type, seq, index ) CV_SEQ_ELEM( (seq), elem_type, (index) ) argument
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | radeonsi_shader.c | 233 "llvm.SI.vs.load.buffer.index", uint->elem_type, NULL, 0, in declare_input_vs() 236 vec4_type = LLVMVectorType(base->elem_type, 4); in declare_input_vs() 607 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in tex_fetch_args()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
D | radeonsi_shader.c | 233 "llvm.SI.vs.load.buffer.index", uint->elem_type, NULL, 0, in declare_input_vs() 236 vec4_type = LLVMVectorType(base->elem_type, 4); in declare_input_vs() 607 emit_data->dst_type = LLVMVectorType(bld_base->base.elem_type, 4); in tex_fetch_args()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
D | lp_bld_interp.c | 679 bld->x = LLVMBuildSIToFP(builder, x0, coeff_bld->elem_type, ""); in pos_init() 680 bld->y = LLVMBuildSIToFP(builder, y0, coeff_bld->elem_type, ""); in pos_init()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_interp.c | 679 bld->x = LLVMBuildSIToFP(builder, x0, coeff_bld->elem_type, ""); in pos_init() 680 bld->y = LLVMBuildSIToFP(builder, y0, coeff_bld->elem_type, ""); in pos_init()
|