Home
last modified time | relevance | path

Searched refs:num_defs (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir_liveness.c40 unsigned num_defs; member
130 state.num_defs = 0; in etna_live_defs()
132 block_live_index[block->index] = state.num_defs; in etna_live_defs()
143 defs[state.num_defs] = (struct live_def) {instr, dest, state.num_defs, 0}; in etna_live_defs()
150 defs[state.num_defs].live_start = 0; in etna_live_defs()
153 live_map[idx] = state.num_defs; in etna_live_defs()
154 state.num_defs++; in etna_live_defs()
157 block_live_index[impl->num_blocks] = state.num_defs; in etna_live_defs()
165 state.bitset_words = BITSET_WORDS(state.num_defs); in etna_live_defs()
242 BITSET_FOREACH_SET(i, block->live_in, state.num_defs) in etna_live_defs()
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c73 size_t num_defs; member
1104 assert(ssa->index < ctx->num_defs); in get_src_ssa()
1212 assert(ssa->index < ctx->num_defs); in store_ssa_def()
2815 assert(dest_ssa->index < ctx->num_defs); in extract_sparse_load()
2967 assert(index < ctx->num_defs); in emit_is_sparse_texels_resident()
4429 ctx.num_defs = entry->ssa_alloc; in nir_to_spirv()
/third_party/mesa3d/src/microsoft/compiler/
Dnir_to_dxil.c474 unsigned num_defs; member
1695 assert(ssa->index < ctx->num_defs); in store_ssa_def()
1754 assert(ssa->index < ctx->num_defs); in get_src_ssa()
5343 ctx->num_defs = impl->ssa_alloc; in emit_function()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp8128 unsigned num_defs = 0; in emit_reduction_instr() local
8130 defs[num_defs++] = dst; in emit_reduction_instr()
8131 defs[num_defs++] = bld.def(bld.lm); /* used internally to save/restore exec */ in emit_reduction_instr()
8143 defs[num_defs++] = bld.def(RegType::sgpr, dst.size()); in emit_reduction_instr()
8146 defs[num_defs++] = bld.def(s1, scc); in emit_reduction_instr()
8158 defs[num_defs++] = bld.def(bld.lm, vcc); in emit_reduction_instr()
8161 aco_op, Format::PSEUDO_REDUCTION, 3, num_defs); in emit_reduction_instr()
8166 std::copy(defs, defs + num_defs, reduce->definitions.begin()); in emit_reduction_instr()