Home
last modified time | relevance | path

Searched refs:LLVMConstInt (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
Dlp_bld_const.c239 return LLVMConstInt(LLVMIntTypeInContext(gallivm->context, type.width), 0, 0); in lp_build_zero()
260 elems[0] = LLVMConstInt(elem_type, util_float_to_half(1.0f), 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()
307 elem = LLVMConstInt(elem_type, util_float_to_half((float)val), 0); in lp_build_const_elem()
314 elem = LLVMConstInt(elem_type, round(val*dscale), 0); in lp_build_const_elem()
352 elems[i] = LLVMConstInt(elem_type, val, type.sign ? 1 : 0); in lp_build_const_int_vec()
408 masks[j + i] = LLVMConstInt(elem_type, in lp_build_const_mask_aos()
Dlp_bld_swizzle.c189 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0); in lp_build_swizzle_scalar_aos()
311 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
315 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
322 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
578 shuffles[i] = LLVMConstInt(i32t, i * 4, 0); in lp_build_pack_aos_scalars()
613 shuffles[i*4] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
614 shuffles[i*4+1] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
615 shuffles[i*4+2] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
616 shuffles[i*4+3] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
Dlp_bld_const.h124 return LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), i, 0); in lp_build_const_int32()
144 v = LLVMConstInt(int_type, (uintptr_t) ptr, 0); in lp_build_const_int_pointer()
Dlp_bld_sample.c198 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_rho()
199 LLVMValueRef index1 = LLVMConstInt(i32t, 1, 0); in lp_build_rho()
200 LLVMValueRef index2 = LLVMConstInt(i32t, 2, 0); in lp_build_rho()
852 LLVMConstInt(i32t, 0, 0)); in lp_build_extract_image_sizes()
858 LLVMConstInt(i32t, 1, 0)); in lp_build_extract_image_sizes()
864 LLVMConstInt(i32t, 2, 0)); in lp_build_extract_image_sizes()
Dlp_bld_logic.c161 args[2] = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), cc, 0); in lp_build_compare()
599 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
Dlp_bld_flow.c251 step = LLVMConstInt(LLVMTypeOf(end), 1, 0); in lp_build_loop_end_cond()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_const.c239 return LLVMConstInt(LLVMIntTypeInContext(gallivm->context, type.width), 0, 0); in lp_build_zero()
260 elems[0] = LLVMConstInt(elem_type, util_float_to_half(1.0f), 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()
307 elem = LLVMConstInt(elem_type, util_float_to_half((float)val), 0); in lp_build_const_elem()
314 elem = LLVMConstInt(elem_type, round(val*dscale), 0); in lp_build_const_elem()
352 elems[i] = LLVMConstInt(elem_type, val, type.sign ? 1 : 0); in lp_build_const_int_vec()
408 masks[j + i] = LLVMConstInt(elem_type, in lp_build_const_mask_aos()
Dlp_bld_swizzle.c189 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0); in lp_build_swizzle_scalar_aos()
311 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
315 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
322 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
578 shuffles[i] = LLVMConstInt(i32t, i * 4, 0); in lp_build_pack_aos_scalars()
613 shuffles[i*4] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
614 shuffles[i*4+1] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
615 shuffles[i*4+2] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
616 shuffles[i*4+3] = LLVMConstInt(i32t, i, 0); in lp_build_unpack_broadcast_aos_scalars()
Dlp_bld_const.h124 return LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), i, 0); in lp_build_const_int32()
144 v = LLVMConstInt(int_type, (uintptr_t) ptr, 0); in lp_build_const_int_pointer()
Dlp_bld_sample.c198 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_rho()
199 LLVMValueRef index1 = LLVMConstInt(i32t, 1, 0); in lp_build_rho()
200 LLVMValueRef index2 = LLVMConstInt(i32t, 2, 0); in lp_build_rho()
852 LLVMConstInt(i32t, 0, 0)); in lp_build_extract_image_sizes()
858 LLVMConstInt(i32t, 1, 0)); in lp_build_extract_image_sizes()
864 LLVMConstInt(i32t, 2, 0)); in lp_build_extract_image_sizes()
Dlp_bld_logic.c161 args[2] = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), cc, 0); in lp_build_compare()
599 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
Dlp_bld_flow.c251 step = LLVMConstInt(LLVMTypeOf(end), 1, 0); in lp_build_loop_end_cond()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_test_printf.c73 …lp_build_printf(gallivm, "print 5 6: %d %d\n", LLVMConstInt(LLVMInt32TypeInContext(gallivm->contex… in add_printf_test()
74 LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), 6, 0)); in add_printf_test()
77 …lp_build_assert(gallivm, LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), 1, 0), "assert(1)"… in add_printf_test()
Dlp_test_conv.c130 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_conv_test()
138 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_conv_test()
Dlp_state_fs.c159 LLVMConstInt(i32t, shift, 0), in generate_quad_mask()
171 bits[4*i + 0] = LLVMConstInt(i32t, 1 << (j + 0), 0); in generate_quad_mask()
172 bits[4*i + 1] = LLVMConstInt(i32t, 1 << (j + 1), 0); in generate_quad_mask()
173 bits[4*i + 2] = LLVMConstInt(i32t, 1 << (j + 4), 0); in generate_quad_mask()
174 bits[4*i + 3] = LLVMConstInt(i32t, 1 << (j + 5), 0); in generate_quad_mask()
943 LLVMValueRef depth_offset = LLVMConstInt(int32_type, in generate_fragment()
Dlp_test_blend.c213 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_blend_test()
225 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_blend_test()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_printf.c73 …lp_build_printf(gallivm, "print 5 6: %d %d\n", LLVMConstInt(LLVMInt32TypeInContext(gallivm->contex… in add_printf_test()
74 LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), 6, 0)); in add_printf_test()
77 …lp_build_assert(gallivm, LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), 1, 0), "assert(1)"… in add_printf_test()
Dlp_test_conv.c130 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_conv_test()
138 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_conv_test()
Dlp_state_fs.c159 LLVMConstInt(i32t, shift, 0), in generate_quad_mask()
171 bits[4*i + 0] = LLVMConstInt(i32t, 1 << (j + 0), 0); in generate_quad_mask()
172 bits[4*i + 1] = LLVMConstInt(i32t, 1 << (j + 1), 0); in generate_quad_mask()
173 bits[4*i + 2] = LLVMConstInt(i32t, 1 << (j + 4), 0); in generate_quad_mask()
174 bits[4*i + 3] = LLVMConstInt(i32t, 1 << (j + 5), 0); in generate_quad_mask()
943 LLVMValueRef depth_offset = LLVMConstInt(int32_type, in generate_fragment()
Dlp_test_blend.c213 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_blend_test()
225 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_blend_test()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITCAPITest.cpp176 LLVMBuildRet(builder, LLVMConstInt(LLVMInt32Type(), 42, 0)); in buildSimpleFunction()
202 LLVMConstInt(LLVMInt64Type(), 0, 0), LLVMConstInt(LLVMInt32Type(), 5, 0), in buildFunctionThatUsesStackmap()
203 LLVMConstInt(LLVMInt32Type(), 42, 0) in buildFunctionThatUsesStackmap()
206 LLVMBuildRet(builder, LLVMConstInt(LLVMInt32Type(), 42, 0)); in buildFunctionThatUsesStackmap()
221 LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0)); in buildModuleWithCodeAndData()
/external/llvm/tools/llvm-c-test/
Dcalc.c97 stack[depth++] = LLVMConstInt(LLVMInt64Type(), val, 1); in build_from_tokens()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
Dradeon_setup_tgsi_llvm.c72 swizzles[0] = LLVMConstInt(i32t, swizzle_x, 0); in emit_swizzle()
73 swizzles[1] = LLVMConstInt(i32t, swizzle_y, 0); in emit_swizzle()
74 swizzles[2] = LLVMConstInt(i32t, swizzle_z, 0); in emit_swizzle()
75 swizzles[3] = LLVMConstInt(i32t, swizzle_w, 0); in emit_swizzle()
876 val = LLVMBuildSelect(builder, cmp, val, LLVMConstInt(bld_base->int_bld.elem_type, -1, true), ""); in emit_ssg()
945 LLVMConstInt(bld_base->uint_bld.elem_type, imm->u[i].Uint, false ); in emit_immediate()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_setup_tgsi_llvm.c72 swizzles[0] = LLVMConstInt(i32t, swizzle_x, 0); in emit_swizzle()
73 swizzles[1] = LLVMConstInt(i32t, swizzle_y, 0); in emit_swizzle()
74 swizzles[2] = LLVMConstInt(i32t, swizzle_z, 0); in emit_swizzle()
75 swizzles[3] = LLVMConstInt(i32t, swizzle_w, 0); in emit_swizzle()
876 val = LLVMBuildSelect(builder, cmp, val, LLVMConstInt(bld_base->int_bld.elem_type, -1, true), ""); in emit_ssg()
945 LLVMConstInt(bld_base->uint_bld.elem_type, imm->u[i].Uint, false ); in emit_immediate()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c507 LLVMConstInt(LLVMInt64TypeInContext(gallivm->context), in generate_fetch()
687 LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), in convert_to_aos()
689 LLVMConstInt(LLVMInt32TypeInContext(gallivm->context), in convert_to_aos()

12