Searched refs:is_constant (Results 1 - 13 of 13) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_large_constants.c31 bool is_constant; member in struct:var_info
40 /* If is_constant, hold the collected constant data for this var. */
53 if (a->is_constant != b->is_constant) {
54 return (int)a->is_constant - (int)b->is_constant;
189 .is_constant = true,
210 var_infos[deref->var->index].is_constant = false;
249 if (!info->is_constant)
261 info->is_constant
[all...]
H A Dnir_lower_convert_alu_types.c172 is_constant(nir_intrinsic_instr *conv) function in typeref:typename:bool
181 return nir_lower_convert_alu_types(shader, is_constant);
H A Dnir_search.h77 bool is_constant; member in struct:__anond19bc6b20308
94 * constraints to be placed on the match. Typically used for 'is_constant'
H A Dnir_search.c312 if (var->is_constant &&
528 assert(!var->is_constant);
605 if (var->is_constant)
H A Dnir_algebraic.py188 ${'true' if val.is_constant else 'false'},
292 self.is_constant = m.group('const') is not None
894 if src.is_constant:
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opt_large_constants.c29 bool is_constant; member in struct:var_info
157 .is_constant = true,
210 info->is_constant = false;
226 if (!info->is_constant)
233 info->is_constant = false;
266 if (info->is_constant) {
284 if (info->is_constant) {
300 if (info->is_constant) {
318 if (var_infos[var->data.index].is_constant)
H A Dnir_search.h75 bool is_constant; member in struct:__anon6df600ff0308
92 * constraints to be placed on the match. Typically used for 'is_constant'
H A Dnir_search.c295 if (var->is_constant &&
491 assert(!var->is_constant);
556 if (var->is_constant)
H A Dnir_algebraic.py195 ${'true' if val.is_constant else 'false'},
289 self.is_constant = m.group('const') is not None
817 if src.is_constant:
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_optimize.c535 unsigned int is_constant[2] = {0, 0}; local in function:is_presub_candidate
560 is_constant[i] = 1;
564 if (is_constant[0] && is_constant[1])
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_optimize.c537 unsigned int is_constant[2] = {0, 0}; local in function:is_presub_candidate
562 is_constant[i] = 1;
566 if (is_constant[0] && is_constant[1])
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_linear.c72 boolean is_constant; member in struct:linear_interp
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_optimizer.cpp216 bool is_constant(unsigned bits) function in struct:aco::ssa_info
1004 if ((info.is_constant(bits) || (info.is_literal(bits) && instr->isPseudo())) &&
1069 if (info.is_constant(bits) && alu_can_accept_constant(instr->opcode, i) &&

Completed in 21 milliseconds