Searched refs:validate_assert (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_validate.c | 134 #define validate_assert(state, cond) \ macro 144 validate_assert(state, nir_num_components_valid(num_components)); in validate_num_components() 151 validate_assert(state, src->reg.reg != NULL); in validate_reg_src() 155 validate_assert(state, entry); in validate_reg_src() 162 validate_assert(state, state->if_stmt); in validate_reg_src() 166 validate_assert(state, reg_state->where_defined == state->impl && in validate_reg_src() 170 validate_assert(state, src->reg.reg->bit_size & bit_sizes); in validate_reg_src() 172 validate_assert(state, src->reg.reg->num_components == num_components); in validate_reg_src() 174 validate_assert(state, (src->reg.reg->num_array_elems == 0 || in validate_reg_src() 179 validate_assert(state, src->reg.reg->num_array_elems != 0); in validate_reg_src() [all …]
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_validate.c | 58 #define validate_assert(ctx, cond) \ macro 76 validate_assert(ctx, ir3_valid_immediate(instr, reg->iim_val)); in validate_src() 83 validate_assert(ctx, _mesa_set_search(ctx->defs, src->instr)); in validate_src() 84 validate_assert(ctx, src->wrmask == reg->wrmask); in validate_src() 85 validate_assert(ctx, reg_class_flags(src) == reg_class_flags(reg)); in validate_src() 88 validate_assert(ctx, reg->tied->tied == reg); in validate_src() 96 validate_assert(ctx, in validate_src() 116 validate_assert(ctx, phi->srcs_count == block->predecessors_count); in validate_phi_src() 125 validate_assert(ctx, phi->dsts_count == 1); in validate_phi() 126 validate_assert(ctx, is_dest_gpr(phi->dsts[0])); in validate_phi() [all …]
|
D | ir3_ra_validate.c | 115 #define validate_assert(ctx, cond) \ macro 143 validate_assert(ctx, dst_max <= get_file_size(ctx, dst)); in validate_simple() 145 validate_assert(ctx, ra_reg_get_num(dst) == ra_reg_get_num(dst->tied)); in validate_simple() 150 validate_assert(ctx, src_max <= get_file_size(ctx, src)); in validate_simple()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.3.0.rst | 2887 - nir/validate: refactor validate_assert to have a return value
|