Home
last modified time | relevance | path

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

/external/llvm-project/llvm/test/CodeGen/WebAssembly/
Dmultivalue-stackify.py39 num_defs = 0
41 num_defs += len(defs)
42 return num_defs
47 for num_defs in range(MAX_PROGRAM_DEFS - program_defs + 1):
49 if num_defs == 0 and num_uses == 0:
52 yield uses, tuple(program_defs + i for i in range(num_defs))
149 def make_llvm_type(num_defs): argument
150 if num_defs == 0:
153 return '{' + ', '.join(['i32'] * num_defs) + '}'
156 def make_llvm_op_name(num_uses, num_defs): argument
[all …]
/external/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 …]
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c53 size_t num_defs; member
640 assert(ssa->index < ctx->num_defs); in get_src_ssa()
750 assert(ssa->index < ctx->num_defs); in store_ssa_def()
2517 ctx.num_defs = entry->ssa_alloc; in nir_to_spirv()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp7435 unsigned num_defs = 0; in emit_reduction_instr() local
7437 defs[num_defs++] = dst; in emit_reduction_instr()
7438 defs[num_defs++] = bld.def(bld.lm); /* used internally to save/restore exec */ in emit_reduction_instr()
7451 defs[num_defs++] = bld.def(RegType::sgpr, dst.size()); in emit_reduction_instr()
7454 defs[num_defs++] = bld.def(s1, scc); in emit_reduction_instr()
7464 defs[num_defs++] = bld.def(bld.lm, vcc); in emit_reduction_instr()
7466 … = create_instruction<Pseudo_reduction_instruction>(aco_op, Format::PSEUDO_REDUCTION, 3, num_defs); in emit_reduction_instr()
7471 std::copy(defs, defs + num_defs, reduce->definitions.begin()); in emit_reduction_instr()