HomeSort by relevance Sort by last modified time
    Searched refs:bit_size (Results 1 - 25 of 59) sorted by null

1 2 3

  /external/mesa3d/src/compiler/nir/
nir_constant_expressions.h 31 unsigned bit_size, nir_const_value *src);
nir_lower_load_const_to_scalar.c 52 nir_load_const_instr_create(b.shader, 1, lower->def.bit_size);
53 if (lower->def.bit_size == 64)
57 assert(lower->def.bit_size == 64 || lower->def.bit_size == 32);
nir_algebraic.py 81 { ${val.type_enum}, ${val.bit_size} },
128 self.bit_size = int(m.group('bits')) if m.group('bits') else 0
131 self.bit_size = 0
134 assert self.bit_size == 0 or self.bit_size == 32
135 self.bit_size = 32
170 self.bit_size = int(m.group('bits')) if m.group('bits') else 0
173 assert self.bit_size == 0 or self.bit_size == 32
174 self.bit_size = 3
    [all...]
nir_phi_builder.h 78 unsigned bit_size, const BITSET_WORD *defs);
nir_opt_constant_folding.c 58 unsigned bit_size = 0; local
60 bit_size = instr->dest.dest.ssa.bit_size;
66 if (bit_size == 0 &&
68 bit_size = instr->src[i].src.ssa->bit_size;
79 if (load_const->def.bit_size == 64)
89 if (bit_size == 0)
90 bit_size = 32;
97 bit_size, src)
    [all...]
nir_search.h 44 unsigned bit_size; member in struct:__anon27475
nir_lower_indirect_derefs.c 76 unsigned bit_size = then_dest->bit_size; local
78 then_dest->num_components, bit_size, NULL);
126 unsigned bit_size = orig_instr->dest.ssa.bit_size; local
128 load->num_components, bit_size, NULL);
nir_phi_builder.c 55 unsigned bit_size; member in struct:nir_phi_builder_value
109 unsigned bit_size, const BITSET_WORD *defs)
117 val->bit_size = bit_size;
191 val->bit_size);
216 val->bit_size, NULL);
nir_lower_phis_to_scalar.c 192 unsigned bit_size = phi->dest.ssa.bit_size; local
209 bit_size, NULL);
215 phi->dest.ssa.bit_size, NULL);
223 nir_ssa_dest_init(&mov->instr, &mov->dest.dest, 1, bit_size, NULL);
nir_search.c 123 if (value->bit_size &&
124 nir_src_bit_size(instr->src[src].src) != value->bit_size)
196 switch (load->def.bit_size) {
215 switch (load->def.bit_size) {
258 if (expr->value.bit_size &&
259 instr->dest.dest.ssa.bit_size != expr->value.bit_size)
372 if (value->bit_size) {
373 assert(!tree->is_dest_sized || tree->dest_size == value->bit_size);
374 tree->common_size = value->bit_size;
    [all...]
nir_builder.h 85 nir_ssa_undef(nir_builder *build, unsigned num_components, unsigned bit_size)
88 nir_ssa_undef_instr_create(build->shader, num_components, bit_size);
99 unsigned bit_size, nir_const_value value)
102 nir_load_const_instr_create(build->shader, num_components, bit_size);
209 unsigned bit_size = nir_alu_type_get_type_size(op_info->output_type); local
210 if (bit_size == 0) {
212 unsigned src_bit_size = instr->src[i].src.ssa->bit_size;
214 if (bit_size)
215 assert(src_bit_size == bit_size);
217 bit_size = src_bit_size
    [all...]
nir_constant_expressions.py 270 evaluate_${name}(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
275 switch (bit_size) {
276 % for bit_size in [32, 64]:
277 case ${bit_size}: {
279 output_type = type_add_size(op.output_type, bit_size)
280 input_types = [type_add_size(type_, bit_size) for type_ in op.input_types]
nir_lower_regs_to_ssa.c 99 reg->bit_size, reg->name);
179 reg->bit_size, reg->name);
206 reg->bit_size, reg->name);
249 reg->bit_size, defs);
nir_instr_set.c 55 hash = HASH(hash, instr->dest.dest.ssa.bit_size);
86 unsigned size = instr->def.num_components * (instr->def.bit_size / 8);
131 hash = HASH(hash, instr->dest.ssa.bit_size);
273 if (alu1->dest.dest.ssa.bit_size != alu2->dest.dest.ssa.bit_size)
333 if (load1->def.bit_size != load2->def.bit_size)
337 load1->def.num_components * (load1->def.bit_size / 8u)) == 0;
373 if (info->has_dest && intrinsic1->dest.ssa.bit_size !=
374 intrinsic2->dest.ssa.bit_size)
    [all...]
nir_lower_var_copies.c 120 unsigned bit_size = glsl_get_bit_size(src_tail->type); local
126 nir_ssa_dest_init(&load->instr, &load->dest, num_components, bit_size,
nir_lower_alu_to_scalar.c 35 unsigned bit_size)
38 bit_size, NULL);
51 nir_alu_ssa_dest_init(chan, 1, instr->dest.dest.ssa.bit_size);
230 nir_alu_ssa_dest_init(lower, 1, instr->dest.dest.ssa.bit_size);
nir_loop_analyze.c 401 nir_const_value *limit, nir_op cond_op, unsigned bit_size,
431 nir_eval_const_opcode(mul_op, 1, bit_size, mul_src);
436 nir_eval_const_opcode(add_op, 1, bit_size, add_src);
443 nir_const_value result = nir_eval_const_opcode(cond_op, 1, bit_size, src);
512 unsigned bit_size = nir_src_bit_size(alu->src[0].src); local
516 if (test_iterations(iter_bias, step, limit, cond_alu->op, bit_size,
nir_lower_io_to_scalar.c 46 1, intr->dest.ssa.bit_size, NULL);
nir_repair_ssa.c 88 nir_phi_builder_add_value(pb, def->num_components, def->bit_size,
  /art/runtime/
bit_memory_region.h 29 ALWAYS_INLINE BitMemoryRegion(MemoryRegion region, size_t bit_offset, size_t bit_size) {
32 const size_t end = (bit_offset + bit_size + kBitsPerByte - 1) / kBitsPerByte;
43 ALWAYS_INLINE BitMemoryRegion Subregion(size_t bit_offset, size_t bit_size) const {
44 return BitMemoryRegion(region_, bit_start_ + bit_offset, bit_size);
  /external/mesa3d/prebuilt-intermediates/nir/
nir_constant_expressions.c 254 evaluate_b2f(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
259 switch (bit_size) {
296 evaluate_b2i(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
301 switch (bit_size) {
338 evaluate_ball_fequal2(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
343 switch (bit_size) {
404 evaluate_ball_fequal3(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
409 switch (bit_size) {
470 evaluate_ball_fequal4(MAYBE_UNUSED unsigned num_components, unsigned bit_size,
475 switch (bit_size) {
    [all...]
  /external/r8/src/main/java/com/android/tools/r8/utils/
EncodedValueUtils.java 24 int bit_size = Long.SIZE + 1 - Long.numberOfLeadingZeros(value ^ (value >> (Long.SIZE - 1))); local
25 int size = Math.max((bit_size + Byte.SIZE - 1) / Byte.SIZE, 1);
36 int bit_size = Long.SIZE + 1 - Long.numberOfLeadingZeros(value ^ (value >> (Long.SIZE - 1))); local
37 int size = Math.max((bit_size + Byte.SIZE - 1) / Byte.SIZE, 1);
60 int bit_size = Long.SIZE - Long.numberOfLeadingZeros(value); local
61 int size = Math.max((bit_size + Byte.SIZE - 1) / Byte.SIZE, 1);
71 int bit_size = Long.SIZE - Long.numberOfLeadingZeros(value); local
72 int size = Math.max((bit_size + Byte.SIZE - 1) / Byte.SIZE, 1);
83 int bit_size = Long.SIZE - Long.numberOfTrailingZeros(value); local
84 int size = (bit_size - 1) / Byte.SIZE + 1
95 int bit_size = Long.SIZE - Long.numberOfTrailingZeros(value); local
    [all...]
  /external/mesa3d/src/gallium/drivers/r600/sb/
sb_valtable.cpp 351 assert(id < bit_size);
358 assert(id < bit_size);
371 assert(id < bit_size);
394 if (cur_data_size && size > bit_size && bit_size % bt_bits) {
395 basetype clear_mask = (~(basetype)0u) << (bit_size % bt_bits);
399 bit_size = size;
403 assert(start < bit_size);
419 return bit_size;
492 std::swap(bit_size, bs2.bit_size)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_nir_opt_peephole_ffma.c 212 unsigned bit_size = add->dest.dest.ssa.bit_size; local
252 bit_size,
  /external/mesa3d/src/compiler/spirv/
spirv_to_nir.c 65 unsigned bit_size = glsl_get_bit_size(val->type); local
66 val->def = nir_ssa_undef(&b->nb, num_components, bit_size);
110 int bit_size = glsl_get_bit_size(type); local
114 nir_load_const_instr_create(b->shader, num_components, bit_size);
130 nir_load_const_instr_create(b->shader, rows, bit_size);
717 int bit_size = w[2]; local
718 val->type->type = bit_size == 64 ? glsl_double_type() : glsl_float_type();
1034 int bit_size = glsl_get_bit_size(val->const_type); local
1047 int bit_size = glsl_get_bit_size(val->const_type); local
1068 int bit_size = glsl_get_bit_size(val->const_type); local
1122 unsigned bit_size = glsl_get_bit_size(val->const_type); local
1238 unsigned bit_size = glsl_get_bit_size(type); local
1255 unsigned bit_size = glsl_get_bit_size(type); local
1275 unsigned bit_size = local
    [all...]

Completed in 799 milliseconds

1 2 3