| /xsrc/external/mit/libXfont2/dist/test/ |
| gen_evil_pcf_bitmapscale.py | 39 def i32(x): function 80 properties += i32(1) 81 properties += i32(0) 83 properties += i32(0) 85 properties += i32(4) 92 accel += i32(SRC_ASCENT) 93 accel += i32(SRC_DESCENT) 94 accel += i32(0) 101 metrics += i32(NUM_GLYPHS) 115 bitmaps += i32(NUM_GLYPHS [all...] |
| gen_evil_pcf_encoding.py | 31 def i32(x): function 63 properties += i32(1) 64 properties += i32(0) 66 properties += i32(0) 68 properties += i32(1) 75 accel += i32(ASCENT) 76 accel += i32(DESCENT) 77 accel += i32(0) 84 metrics += i32(1) # nmetrics = 1 90 bitmaps += i32(1) # nbitmaps = [all...] |
| gen_evil_pcf_norepad.py | 38 def i32(x): function 82 properties += i32(1) 83 properties += i32(0) # name offset 85 properties += i32(0) # value 87 properties += i32(1) # string_size 94 accel += i32(ASCENT) 95 accel += i32(DESCENT) 96 accel += i32(0) 103 metrics += i32(1) # nmetrics = 1 109 bitmaps += i32(1) # nbitmaps = [all...] |
| gen_evil_pcf_props.py | 37 def i32(x): function 67 properties += i32(NUM_MIN_SPACE) 69 properties += i32(0) # name offset = 0 -> "MIN_SPACE" 71 properties += i32(PROP_VALUE_BASE + i) # unique value 74 properties += i32(len(prop_name_atom)) 81 accel += i32(MAX_ASCENT) 82 accel += i32(MAX_DESCENT) 83 accel += i32(0) 90 metrics += i32(1) 98 bitmaps += i32(1 [all...] |
| gen_evil_pcf_repad.py | 35 def i32(x): function 68 properties += i32(1) 69 properties += i32(0) 71 properties += i32(0) 73 properties += i32(1) 80 accel += i32(PG_ASCENT) 81 accel += i32(PG_DESCENT) 82 accel += i32(0) 89 metrics += i32(1) 95 bitmaps += i32(1 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_nir_lower_tex_src_plane.c | 79 if (plane[0].i32 > 0) { 83 assume(((state->lower_3plane & (1 << y_samp)) && plane[0].i32 < 3) || 84 (plane[0].i32 < 2)); 87 state->sampler_map[y_samp][plane[0].i32 - 1];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/ |
| si_shader_llvm_resources.c | 30 * Return a value that is equal to the given i32 \p index if it lies in [0,num) 37 LLVMValueRef c_max = LLVMConstInt(ctx->ac.i32, num - 1, 0); 70 desc1 = LLVMConstInt(ctx->ac.i32, S_008F04_BASE_ADDRESS_HI(ctx->screen->info.address32_hi), 0); 83 LLVMConstInt(ctx->ac.i32, sel->info.constbuf0_num_slots * 16, 0), 84 LLVMConstInt(ctx->ac.i32, rsrc3, false)}; 104 LLVMBuildAdd(ctx->ac.builder, index, LLVMConstInt(ctx->ac.i32, SI_NUM_SHADER_BUFFERS, 0), ""); 121 index = LLVMBuildSub(ctx->ac.builder, LLVMConstInt(ctx->ac.i32, SI_NUM_SHADER_BUFFERS - 1, 0), 143 LLVMValueRef i32_6 = LLVMConstInt(ctx->ac.i32, 6, 0); 144 LLVMValueRef i32_C = LLVMConstInt(ctx->ac.i32, C_008F28_COMPRESSION_EN, 0); 155 LLVMValueRef i32_6 = LLVMConstInt(ctx->ac.i32, 6, 0) [all...] |
| si_shader_llvm_tess.c | 84 return LLVMConstInt(ctx->ac.i32, stride, 0); 97 return LLVMConstInt(ctx->ac.i32, patch_dw_stride, 0); 103 LLVMConstInt(ctx->ac.i32, 4, 0), ""); 109 LLVMConstInt(ctx->ac.i32, 4, 0), ""); 146 return LLVMConstInt(ctx->ac.i32, tcs_out_vertices, 0); 159 return LLVMConstInt(ctx->ac.i32, stride, 0); 164 return LLVMConstInt(ctx->ac.i32, stride, 0); 184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); 194 return LLVMBuildAdd(ctx->ac.builder, base_addr, LLVMConstInt(ctx->ac.i32, param * 4, 0), ""); 227 constant16 = LLVMConstInt(ctx->ac.i32, 16, 0) [all...] |
| gfx10_shader_ngg.c | 46 LLVMConstInt(ctx->ac.i32, ctx->ac.wave_size, false), ""); 70 LLVMConstInt(ctx->ac.i32, GFX10_GS_QUERY_BUF, false)); 85 return LLVMConstInt(ctx->ac.i32, 3, 0); 88 return LLVMConstInt(ctx->ac.i32, 2, 0); 110 return LLVMConstInt(ctx->ac.i32, *num_vertices, false); 155 LLVMValueRef edgeflags = LLVMConstInt(ctx->ac.i32, all_bits_no_edgeflags, 0); 165 edge = LLVMBuildZExt(builder, edge, ctx->ac.i32, ""); 166 edge = LLVMBuildShl(builder, edge, LLVMConstInt(ctx->ac.i32, shift, 0), ""); 201 edge = LLVMBuildZExt(ctx->ac.builder, edge, ctx->ac.i32, ""); 202 edge = LLVMBuildShl(ctx->ac.builder, edge, LLVMConstInt(ctx->ac.i32, 9 + i*10, 0), "") [all...] |
| si_shader_llvm_gs.c | 65 LLVMBuildAdd(ctx->ac.builder, vtx_offset, LLVMConstInt(ctx->ac.i32, offset, false), ""); 76 vtx_offset = LLVMBuildMul(ctx->ac.builder, gs_vtx_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); 78 soffset = LLVMConstInt(ctx->ac.i32, (param * 4 + swizzle) * 256, 0); 152 LLVMConstInt(ctx->ac.i32, ctx->ac.wave_size, false), ""), 155 LLVMBuildMul(ctx->ac.builder, vertex_idx, LLVMConstInt(ctx->ac.i32, itemsize_dw, 0), ""); 176 LLVMValueRef idx = LLVMConstInt(ctx->ac.i32, param * 4 + chan, false); 257 LLVMConstInt(ctx->ac.i32, shader->selector->info.base.gs.vertices_out, 0), ""); 275 LLVMConstInt(ctx->ac.i32, offset * shader->selector->info.base.gs.vertices_out, 0); 279 voffset = LLVMBuildMul(ctx->ac.builder, voffset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); 320 LLVMValueRef offset = LLVMConstInt(ctx->ac.i32, ring, 0) [all...] |
| si_shader_llvm_vs.c | 31 static LLVMValueRef unpack_sint16(struct si_shader_context *ctx, LLVMValueRef i32, unsigned index) 36 return LLVMBuildAShr(ctx->ac.builder, i32, LLVMConstInt(ctx->ac.i32, 16, 0), ""); 38 return LLVMBuildSExt(ctx->ac.builder, LLVMBuildTrunc(ctx->ac.builder, i32, ctx->ac.i16, ""), 39 ctx->ac.i32, ""); 112 LLVMTypeRef int_type = bit_size == 16 ? ctx->ac.i16 : ctx->ac.i32; 125 LLVMConstInt(ctx->ac.i32, index, 0)); 144 LLVMBuildExtractElement(ctx->ac.builder, tmp, LLVMConstInt(ctx->ac.i32, i, false), ""); 185 LLVMValueRef voffset = LLVMConstInt(ctx->ac.i32, fetch_stride * i, 0); 194 tmp = LLVMConstInt(ctx->ac.i32, i, false) [all...] |
| si_shader_llvm_ps.c | 44 LLVMValueRef buf_index = LLVMConstInt(ctx->ac.i32, SI_PS_CONST_SAMPLE_POSITIONS, 0); 49 LLVMBuildMul(ctx->ac.builder, sample_id, LLVMConstInt(ctx->ac.i32, 8, 0), ""); 51 LLVMBuildAdd(ctx->ac.builder, offset0, LLVMConstInt(ctx->ac.i32, 4, 0), ""); 76 ac_build_load_to_sgpr(&ctx->ac, ptr, LLVMConstInt(ctx->ac.i32, SI_PS_IMAGE_COLORBUF0 / 2, 0)); 94 LLVMConstInt(ctx->ac.i32, SI_PS_IMAGE_COLORBUF0_FMASK / 2, 0)); 121 return ac_build_fs_interp(&ctx->ac, LLVMConstInt(ctx->ac.i32, chan, 0), 122 LLVMConstInt(ctx->ac.i32, attr_index, 0), prim_mask, i, j); 124 return ac_build_fs_interp_mov(&ctx->ac, LLVMConstInt(ctx->ac.i32, 2, 0), /* P0 */ 125 LLVMConstInt(ctx->ac.i32, chan, 0), 126 LLVMConstInt(ctx->ac.i32, attr_index, 0), prim_mask) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| radv_nir_to_llvm.c | 344 return LLVMConstInt(ctx->ac.i32, input_patch_size, false); 356 return LLVMConstInt(ctx->ac.i32, output_patch_size, false); 365 return LLVMConstInt(ctx->ac.i32, output_vertex_size, false); 379 return LLVMConstInt(ctx->ac.i32, output_patch0_offset, false); 398 return LLVMConstInt(ctx->ac.i32, output_patch0_offset, false); 786 add_arg(args, ARG_SGPR, ctx->ac.i32, 814 add_arg(args, ARG_SGPR, ctx->ac.i32, &ctx->abi.base_vertex); 815 add_arg(args, ARG_SGPR, ctx->ac.i32, &ctx->abi.start_instance); 817 add_arg(args, ARG_SGPR, ctx->ac.i32, &ctx->abi.draw_id); 825 add_arg(args, ARG_VGPR, ctx->ac.i32, &ctx->abi.vertex_id) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/llvm/ |
| ac_llvm_build.c | 79 ctx->i32 = LLVMIntTypeInContext(ctx->context, 32); 82 ctx->intptr = ctx->i32; 90 ctx->v2i32 = LLVMVectorType(ctx->i32, 2); 91 ctx->v3i32 = LLVMVectorType(ctx->i32, 3); 92 ctx->v4i32 = LLVMVectorType(ctx->i32, 4); 96 ctx->v8i32 = LLVMVectorType(ctx->i32, 8); 104 ctx->i32_0 = LLVMConstInt(ctx->i32, 0, false); 105 ctx->i32_1 = LLVMConstInt(ctx->i32, 1, false); 152 return LLVMBuildExtractElement(ac->builder, value, LLVMConstInt(ac->i32, index, false), ""); 213 else if (t == ctx->f32 || t == ctx->i32) [all...] |
| ac_nir_to_llvm.c | 97 ptr = LLVMBuildAdd(ctx->ac.builder, ptr, LLVMConstInt(ctx->ac.i32, c_off, 0), ""); 127 LLVMValueRef masks[] = {LLVMConstInt(ctx->ac.i32, src.swizzle[0], false), 128 LLVMConstInt(ctx->ac.i32, src.swizzle[1], false), 129 LLVMConstInt(ctx->ac.i32, src.swizzle[2], false), 130 LLVMConstInt(ctx->ac.i32, src.swizzle[3], false)}; 199 LLVMConstInt(ctx->i32, i, 0), ""); 264 LLVMTypeRef types[] = {ctx->i32, ctx->i1}; 272 res = LLVMBuildZExt(ctx->builder, res, ctx->i32, ""); 343 args[1] = LLVMConstInt(ctx->i32, N_SUBNORMAL | P_SUBNORMAL, false); 362 LLVMBuildBitCast(ctx->builder, LLVMConstInt(ctx->i32, 0x38800000, false), ctx->f32, "") [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_nir_lower_tex_src_plane.c | 122 if (plane[0].i32 > 0) { 130 assume(((state->lower_3plane & (1 << y_samp)) && plane[0].i32 < 3) || 131 (plane[0].i32 < 2)); 133 unsigned u_v_samp = state->sampler_map[y_samp][plane[0].i32 - 1];
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/ |
| si_shader.c | 253 LLVMConstInt(ctx->i32, rshift, 0), ""); 258 LLVMConstInt(ctx->i32, mask, 0), ""); 330 return LLVMConstInt(ctx->i32, stride, 0); 344 return LLVMConstInt(ctx->i32, patch_dw_stride, 0); 354 LLVMConstInt(ctx->i32, 4, 0), ""); 364 LLVMConstInt(ctx->i32, 4, 0), ""); 405 return LLVMConstInt(ctx->i32, tcs_out_vertices, 0); 417 return LLVMConstInt(ctx->i32, stride, 0); 423 return LLVMConstInt(ctx->i32, stride, 0); 443 LLVMValueRef index = LLVMConstInt(ctx->i32, double_index, 0) [all...] |
| si_shader_tgsi_mem.c | 39 * buffer in number of elements and return it as an i32. 49 LLVMConstInt(ctx->i32, 2, 0), ""); 60 LLVMConstInt(ctx->i32, 16, 0), ""); 62 LLVMConstInt(ctx->i32, 0x3FFF, 0), ""); 78 index = LLVMConstInt(ctx->i32, reg->Register.Index, false); 167 LLVMValueRef i32_6 = LLVMConstInt(ctx->i32, 6, 0); 168 LLVMValueRef i32_C = LLVMConstInt(ctx->i32, C_008F28_COMPRESSION_EN, 0); 186 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->i32, 2, 0), 225 index = LLVMConstInt(ctx->i32, 244 LLVMConstInt(ctx->i32, SI_NUM_IMAGES - 1, 0) [all...] |
| si_shader_tgsi_setup.c | 119 return ctx->ac.i32; 146 * Return a value that is equal to the given i32 \p index if it lies in [0,num) 154 LLVMValueRef c_max = LLVMConstInt(ctx->i32, num - 1, 0); 183 swizzles[0] = LLVMConstInt(ctx->i32, swizzle_x, 0); 184 swizzles[1] = LLVMConstInt(ctx->i32, swizzle_y, 0); 185 swizzles[2] = LLVMConstInt(ctx->i32, swizzle_z, 0); 186 swizzles[3] = LLVMConstInt(ctx->i32, swizzle_w, 0); 293 LLVMConstInt(ctx->i32, util_bitcount(array->writemask), 0), 294 LLVMConstInt(ctx->i32, 337 LLVMConstInt(ctx->i32, i, 0), "array_vector") [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/amd/common/ |
| ac_llvm_build.c | 76 ctx->i32 = LLVMIntTypeInContext(ctx->context, 32); 78 ctx->intptr = ctx->i32; 83 ctx->v2i32 = LLVMVectorType(ctx->i32, 2); 84 ctx->v3i32 = LLVMVectorType(ctx->i32, 3); 85 ctx->v4i32 = LLVMVectorType(ctx->i32, 4); 88 ctx->v8i32 = LLVMVectorType(ctx->i32, 8); 94 ctx->i32_0 = LLVMConstInt(ctx->i32, 0, false); 95 ctx->i32_1 = LLVMConstInt(ctx->i32, 1, false); 154 LLVMConstInt(ac->i32, index, false), ""); 212 else if (t == ctx->f32 || t == ctx->i32) [all...] |
| ac_nir_to_llvm.c | 75 LLVMValueRef index = LLVMConstInt(ac->i32, i, false); 146 LLVMPointerType(ctx->ac.i32, addr_space), ""); 173 LLVMConstInt(ctx->ac.i32, src.swizzle[0], false), 174 LLVMConstInt(ctx->ac.i32, src.swizzle[1], false), 175 LLVMConstInt(ctx->ac.i32, src.swizzle[2], false), 176 LLVMConstInt(ctx->ac.i32, src.swizzle[3], false)}; 201 LLVMConstInt(ctx->i32, 0xFFFFFFFF, false), 214 LLVMConstInt(ctx->i32, 0xFFFFFFFF, false), 292 LLVMTypeRef types[] = { ctx->i32, ctx->i1 }; 302 res = LLVMBuildZExt(ctx->builder, res, ctx->i32, ""); [all...] |
| /xsrc/external/mit/MesaLib/src/compiler/nir/ |
| nir_constant_expressions.c | 632 _src[0][_i].i32; 634 _src[1][_i].i32; 638 _dst_val[_i].i32 = dst; 1884 _src[0][0].i32, 1885 _src[0][1].i32, 1886 _src[0][2].i32, 1887 _src[0][3].i32, 1888 _src[0][4].i32, 1889 _src[0][5].i32, 1890 _src[0][6].i32, [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| radv_nir_to_llvm.c | 123 ac_build_load_to_sgpr(&ctx->ac, desc_sets, LLVMConstInt(ctx->ac.i32, i, false)); 216 stride = LLVMConstInt(ctx->ac.i32, 16, false); 218 stride = LLVMConstInt(ctx->ac.i32, layout->binding[binding].size, false); 220 offset = LLVMConstInt(ctx->ac.i32, base_offset, false); 226 desc_ptr = LLVMBuildPtrToInt(ctx->ac.builder, desc_ptr, ctx->ac.i32, ""); 259 LLVMValueRef index = LLVMConstInt(ctx->ac.i32, RING_PS_SAMPLE_POSITIONS, false); 267 LLVMConstInt(ctx->ac.i32, sample_pos_offset, false), ""); 289 sample_id = LLVMBuildShl(ctx->ac.builder, LLVMConstInt(ctx->ac.i32, 1, false), sample_id, ""); 329 LLVMConstInt(ctx->ac.i32, offset * ctx->shader->info.gs.vertices_out, false); 334 voffset = LLVMBuildMul(ctx->ac.builder, voffset, LLVMConstInt(ctx->ac.i32, 4, false), "") [all...] |
| /xsrc/external/mit/MesaLib.old/src/compiler/nir/ |
| nir_constant_expressions.c | 341 _src[0][_i].i32; 385 _src[0][_i].i32; 429 _src[0][_i].i32; 474 _src[0][_i].i32; 519 _src[0][_i].i32; 551 _dst_val[_i].i32 = dst; 563 _src[0][_i].i32; 567 _dst_val[_i].i32 = dst; 607 _src[0][_i].i32; 651 _src[0][_i].i32; [all...] |
| /xsrc/external/mit/MesaLib/dist/src/microsoft/spirv_to_dxil/ |
| spirv_to_dxil.h | 59 int32_t i32; member in union:__anon2766
|