/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_const.c | 239 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()
|
D | lp_bld_swizzle.c | 189 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()
|
D | lp_bld_const.h | 124 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()
|
D | lp_bld_sample.c | 198 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()
|
D | lp_bld_logic.c | 161 args[2] = LLVMConstInt(LLVMInt8TypeInContext(gallivm->context), cc, 0); in lp_build_compare() 599 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
|
D | lp_bld_flow.c | 251 step = LLVMConstInt(LLVMTypeOf(end), 1, 0); in lp_build_loop_end_cond()
|
D | lp_bld_sample_soa.c | 1314 tex_width, LLVMConstInt(i32t, 0, 0), ""); in lp_build_sample_soa() 1317 tex_height, LLVMConstInt(i32t, 1, 0), ""); in lp_build_sample_soa() 1320 tex_depth, LLVMConstInt(i32t, 2, 0), ""); in lp_build_sample_soa()
|
D | lp_bld_arit.c | 1308 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_round_sse41() 1328 args[2] = LLVMConstInt(i32t, mode, 0); in lp_build_round_sse41() 1368 LLVMConstInt(i32t, mode, 0)); in lp_build_round_sse41() 1398 LLVMValueRef index0 = LLVMConstInt(i32t, 0, 0); in lp_build_iround_nearest_sse2()
|
D | lp_bld_sample_aos.c | 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()
|
D | lp_bld_tgsi_soa.c | 87 LLVMConstInt(int_type, LP_MAX_TGSI_LOOP_ITERATIONS, false), in lp_exec_mask_init() 260 LLVMConstInt(int_type, 1, false), in lp_exec_endloop()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_printf.c | 73 …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()
|
D | lp_test_conv.c | 130 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_conv_test() 138 LLVMValueRef index = LLVMConstInt(LLVMInt32TypeInContext(context), i, 0); in add_conv_test()
|
D | lp_state_fs.c | 159 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()
|
D | lp_test_blend.c | 213 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/tools/llvm-c-test/ |
D | metadata.c | 20 LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) }; in add_named_metadata_operand() 32 LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) }; in set_metadata()
|
D | calc.c | 97 stack[depth++] = LLVMConstInt(LLVMInt64Type(), val, 1); in build_from_tokens()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITCAPITest.cpp | 176 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() 355 LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0)); in TEST_F()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_setup_tgsi_llvm.c | 72 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/ |
D | draw_llvm.c | 507 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()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 712 return LLVMConstInt(IntTy, (long long) Long_val(N), 1); in llvm_const_int() 718 return LLVMConstInt(IntTy, Int64_val(N), Bool_val(SExt)); in llvm_const_of_int64()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 1405 LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N,
|
/external/llvm/lib/IR/ |
D | Core.cpp | 833 LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, in LLVMConstInt() function
|
/external/llvm/bindings/go/llvm/ |
D | ir.go | 766 v.C = C.LLVMConstInt(t.C,
|