Lines Matching refs:arg
61 try_constant_propagation(vec4_instruction *inst, int arg, src_reg *values[4])
77 if (inst->src[arg].abs) {
86 if (inst->src[arg].negate) {
95 inst->src[arg] = value;
100 if (arg == 1) {
101 inst->src[arg] = value;
103 } else if (arg == 0 && inst->src[1].file != IMM) {
118 if (arg == 1) {
119 inst->src[arg] = value;
121 } else if (arg == 0 && inst->src[1].file != IMM) {
138 if (arg == 1) {
139 inst->src[arg] = value;
141 } else if (arg == 0 && inst->src[1].file != IMM) {
164 vec4_instruction *inst, int arg, src_reg *values[4])
191 BRW_GET_SWZ(inst->src[arg].swizzle, i));
200 if (inst->src[arg].abs) {
204 if (inst->src[arg].negate)
224 if (value.equals(&inst->src[arg]))
227 value.type = inst->src[arg].type;
228 inst->src[arg] = value;
255 /* For each source arg, see if each component comes from a copy