Home | History | Annotate | Download | only in gallivm

Lines Matching refs:vec_type

121 lp_check_vec_type(struct lp_type type, LLVMTypeRef vec_type) 
125 assert(vec_type);
126 if(!vec_type)
130 return lp_check_elem_type(type, vec_type);
132 if(LLVMGetTypeKind(vec_type) != LLVMVectorTypeKind)
135 if(LLVMGetVectorSize(vec_type) != type.length)
138 elem_type = LLVMGetElementType(vec_type);
147 LLVMTypeRef vec_type;
153 vec_type = LLVMTypeOf(val);
155 return lp_check_vec_type(type, vec_type);
389 bld->vec_type = bld->elem_type;
393 bld->vec_type = LLVMVectorType(bld->elem_type, type.length);
396 bld->undef = LLVMGetUndef(bld->vec_type);
397 bld->zero = LLVMConstNull(bld->vec_type);