Searched defs:elem_type (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_intr.c170 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); local
171 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), "");
172 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), "");
H A Dlp_bld_type.c64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); local
66 return elem_type;
68 return LLVMVectorType(elem_type, type.length);
79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) argument
83 assert(elem_type);
84 if(!elem_type)
87 elem_kind = LLVMGetTypeKind(elem_type);
112 if(LLVMGetIntTypeWidth(elem_type) != type.width)
123 LLVMTypeRef elem_type; local
138 elem_type
169 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); local
[all...]
H A Dlp_bld_type.h146 LLVMTypeRef elem_type; member in struct:lp_build_context
317 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
H A Dlp_bld_const.c251 LLVMTypeRef elem_type; local
257 elem_type = lp_build_elem_type(gallivm, type);
260 elems[0] = LLVMConstInt(elem_type, util_float_to_half(1.0f), 0);
262 elems[0] = LLVMConstReal(elem_type, 1.0);
264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0);
266 elems[0] = LLVMConstInt(elem_type, 1, 0);
268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0);
272 LLVMTypeRef vec_type = LLVMVectorType(elem_type, type.length);
303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); local
307 elem = LLVMConstInt(elem_type, util_float_to_hal
345 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); local
368 LLVMTypeRef elem_type; local
400 LLVMTypeRef elem_type = LLVMIntTypeInContext(gallivm->context, type.width); local
[all...]
H A Dlp_bld_logic.c594 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local
599 shuffles[j + i] = LLVMConstInt(elem_type,
H A Dlp_bld_swizzle.c184 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local
189 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0);
H A Dlp_bld_sample_aos.c741 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local
790 index = LLVMConstInt(elem_type, j/2 + subindex, 0);
794 index = LLVMConstInt(elem_type, h16.type.length/2 + j/2 + subindex, 0);
1463 lod_fpart = LLVMBuildTrunc(builder, lod_fpart, h16_bld.elem_type, "");
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_intr.c170 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); local
171 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), "");
172 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), "");
H A Dlp_bld_type.c64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); local
66 return elem_type;
68 return LLVMVectorType(elem_type, type.length);
79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) argument
83 assert(elem_type);
84 if(!elem_type)
87 elem_kind = LLVMGetTypeKind(elem_type);
112 if(LLVMGetIntTypeWidth(elem_type) != type.width)
123 LLVMTypeRef elem_type; local
138 elem_type
169 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); local
[all...]
H A Dlp_bld_type.h146 LLVMTypeRef elem_type; member in struct:lp_build_context
317 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
H A Dlp_bld_const.c251 LLVMTypeRef elem_type; local
257 elem_type = lp_build_elem_type(gallivm, type);
260 elems[0] = LLVMConstInt(elem_type, util_float_to_half(1.0f), 0);
262 elems[0] = LLVMConstReal(elem_type, 1.0);
264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0);
266 elems[0] = LLVMConstInt(elem_type, 1, 0);
268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0);
272 LLVMTypeRef vec_type = LLVMVectorType(elem_type, type.length);
303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); local
307 elem = LLVMConstInt(elem_type, util_float_to_hal
345 LLVMTypeRef elem_type = lp_build_int_elem_type(gallivm, type); local
368 LLVMTypeRef elem_type; local
400 LLVMTypeRef elem_type = LLVMIntTypeInContext(gallivm->context, type.width); local
[all...]
H A Dlp_bld_logic.c594 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local
599 shuffles[j + i] = LLVMConstInt(elem_type,
H A Dlp_bld_swizzle.c184 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local
189 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0);
H A Dlp_bld_sample_aos.c741 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); local
790 index = LLVMConstInt(elem_type, j/2 + subindex, 0);
794 index = LLVMConstInt(elem_type, h16.type.length/2 + j/2 + subindex, 0);
1463 lod_fpart = LLVMBuildTrunc(builder, lod_fpart, h16_bld.elem_type, "");
/external/opencv/cxcore/src/
H A Dcxdrawing.cpp1156 int elem_type = CV_MAT_TYPE(v->flags); local
1170 if( elem_type == CV_32SC2 )
2477 int elem_type = CV_MAT_TYPE(contour->flags); local
2543 if( elem_type == CV_32SC2 )
2560 if( elem_type == CV_32SC2 )
H A Dcxpersistence.cpp1818 int elem_type = CV_NODE_NONE; local
1836 elem_type = CV_NODE_STRING;
1838 elem_type = CV_NODE_MAP;
1840 elem_type = CV_NODE_MAP;
1845 elem_type = CV_NODE_USER;
1863 CV_CALL( ptr = icvXMLParseValue( fs, ptr, elem, elem_type));
2958 icvEncodeFormat( int elem_type, char* dt ) argument
2960 sprintf( dt, "%d%c", CV_MAT_CN(elem_type), icvTypeSymbol[CV_MAT_DEPTH(elem_type)] );
3062 int elem_type local
3119 int elem_type = fmt_pairs[k*2+1]; local
3247 int elem_type = fmt_pairs[k*2+1]; local
3581 int rows, cols, elem_type; local
3668 int sizes[CV_MAX_DIM], dims, elem_type; local
3828 int* sizes = 0, dims, elem_type, cn; local
3980 int y, width, height, elem_type, coi, depth; local
[all...]

Completed in 207 milliseconds