Searched refs:operand (Results 1 - 25 of 93) sorted by relevance

1234

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir_builder.h47 * operand(ir_variable *var) constructor behind your back.
49 class operand { class in namespace:ir_builder
51 operand(ir_rvalue *val) function in class:ir_builder::operand
56 operand(ir_variable *var) function in class:ir_builder::operand
67 * \sa operand
126 ir_assignment *assign(deref lhs, operand rhs);
127 ir_assignment *assign(deref lhs, operand rhs, int writemask);
128 ir_assignment *assign(deref lhs, operand rhs, operand condition);
129 ir_assignment *assign(deref lhs, operand rh
[all...]
H A Dir_builder.cpp49 assign(deref lhs, operand rhs, operand condition, int writemask)
62 assign(deref lhs, operand rhs)
68 assign(deref lhs, operand rhs, int writemask)
74 assign(deref lhs, operand rhs, operand condition)
80 ret(operand retval)
87 swizzle(operand a, int swizzle, int components)
100 swizzle_for_size(operand a, unsigned components)
115 swizzle_xxxx(operand
[all...]
H A Dir_constant_expression.cpp703 for (unsigned operand = 0; operand < this->num_operands; operand++) { local in function:ir_expression::constant_expression_value
704 op[operand] =
705 this->operands[operand]->constant_expression_value(mem_ctx,
707 if (!op[operand])
711 for (unsigned operand = 0; operand < this->num_operands; operand++) { local in function:ir_expression::constant_expression_value
712 switch (op[operand]
[all...]
H A Dir_rvalue_visitor.cpp40 unsigned int operand; local in function:ir_rvalue_base_visitor::rvalue_visit
42 for (operand = 0; operand < ir->num_operands; operand++) {
43 handle_rvalue(&ir->operands[operand]);
H A Dbuiltin_int64.h88 ir_if *f0013 = new(mem_ctx) ir_if(operand(r0016).val);
111 ir_if *f001A = new(mem_ctx) ir_if(operand(r001B).val);
131 ir_if *f001C = new(mem_ctx) ir_if(operand(r0021).val);
158 ir_if *f0024 = new(mem_ctx) ir_if(operand(r0025).val);
195 ir_if *f0028 = new(mem_ctx) ir_if(operand(r0029).val);
215 ir_if *f002A = new(mem_ctx) ir_if(operand(r002F).val);
242 ir_if *f0032 = new(mem_ctx) ir_if(operand(r0033).val);
302 ir_if *f003D = new(mem_ctx) ir_if(operand(r0040).val);
325 ir_if *f0044 = new(mem_ctx) ir_if(operand(r0045).val);
345 ir_if *f0046 = new(mem_ctx) ir_if(operand(r004
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir_builder.h47 * operand(ir_variable *var) constructor behind your back.
49 class operand { class in namespace:ir_builder
51 operand(ir_rvalue *val) function in class:ir_builder::operand
56 operand(ir_variable *var) function in class:ir_builder::operand
67 * \sa operand
126 ir_assignment *assign(deref lhs, operand rhs);
127 ir_assignment *assign(deref lhs, operand rhs, int writemask);
128 ir_assignment *assign(deref lhs, operand rhs, operand condition);
129 ir_assignment *assign(deref lhs, operand rh
[all...]
H A Dir_builder.cpp49 assign(deref lhs, operand rhs, operand condition, int writemask)
62 assign(deref lhs, operand rhs)
68 assign(deref lhs, operand rhs, int writemask)
74 assign(deref lhs, operand rhs, operand condition)
80 ret(operand retval)
87 swizzle(operand a, int swizzle, int components)
100 swizzle_for_size(operand a, unsigned components)
115 swizzle_xxxx(operand
[all...]
H A Dir_rvalue_visitor.cpp40 unsigned int operand; local in function:ir_rvalue_base_visitor::rvalue_visit
42 for (operand = 0; operand < ir->num_operands; operand++) {
43 handle_rvalue(&ir->operands[operand]);
H A Dbuiltin_int64.h88 ir_if *f0013 = new(mem_ctx) ir_if(operand(r0016).val);
111 ir_if *f001A = new(mem_ctx) ir_if(operand(r001B).val);
131 ir_if *f001C = new(mem_ctx) ir_if(operand(r0021).val);
158 ir_if *f0024 = new(mem_ctx) ir_if(operand(r0025).val);
195 ir_if *f0028 = new(mem_ctx) ir_if(operand(r0029).val);
215 ir_if *f002A = new(mem_ctx) ir_if(operand(r002F).val);
242 ir_if *f0032 = new(mem_ctx) ir_if(operand(r0033).val);
302 ir_if *f003D = new(mem_ctx) ir_if(operand(r0040).val);
325 ir_if *f0044 = new(mem_ctx) ir_if(operand(r0045).val);
345 ir_if *f0046 = new(mem_ctx) ir_if(operand(r004
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/
H A DShaderTGSI.c312 const struct Shader_dst_operand *operand)
318 if (sx->clip_distance_mapping[0].d3d == operand->base.index[0].imm) {
321 assert(sx->clip_distance_mapping[1].d3d == operand->base.index[0].imm);
326 if (sx->cull_distance_mapping[0].d3d == operand->base.index[0].imm) {
329 assert(sx->cull_distance_mapping[1].d3d == operand->base.index[0].imm);
425 const struct Shader_dst_operand *operand)
428 operand->mask >> D3D10_SB_OPERAND_4_COMPONENT_MASK_SHIFT;
429 unsigned idx = operand->base.index[0].imm;
451 const struct Shader_dst_operand *operand,
457 operand
310 translate_semantic_index(struct Shader_xlate * sx,D3D10_SB_NAME name,const struct Shader_dst_operand * operand) argument
422 dcl_base_output(struct Shader_xlate * sx,struct ureg_program * ureg,struct ureg_dst reg,const struct Shader_dst_operand * operand) argument
449 dcl_base_input(struct Shader_xlate * sx,struct ureg_program * ureg,const struct Shader_dst_operand * operand,struct ureg_src dcl_reg,uint index,uint siv_name) argument
657 translate_relative_operand(struct Shader_xlate * sx,const struct Shader_relative_operand * operand) argument
707 translate_operand(struct Shader_xlate * sx,const struct Shader_operand * operand,unsigned writemask) argument
781 translate_indexable_temp(struct Shader_xlate * sx,const struct Shader_operand * operand) argument
816 translate_dst_operand(struct Shader_xlate * sx,const struct Shader_dst_operand * operand,boolean saturate) argument
856 translate_src_operand(struct Shader_xlate * sx,const struct Shader_src_operand * operand,const enum dx10_opcode_format format) argument
1132 operand_is_scalar(const struct Shader_src_operand * operand) argument
[all...]
H A DShaderParse.c190 struct Shader_operand *operand)
192 operand->type = DECODE_D3D10_SB_OPERAND_TYPE(**curr);
197 operand->index_dim = 0;
200 operand->index_dim = 1;
203 operand->index_dim = 2;
209 if (operand->index_dim >= 1) {
210 operand->index[0].index_rep = DECODE_D3D10_SB_OPERAND_INDEX_REPRESENTATION(0, **curr);
211 if (operand->index_dim >= 2) {
212 operand->index[1].index_rep = DECODE_D3D10_SB_OPERAND_INDEX_REPRESENTATION(1, **curr);
221 struct Shader_relative_operand *operand)
189 parse_operand(const unsigned ** curr,struct Shader_operand * operand) argument
220 parse_relative_operand(const unsigned ** curr,struct Shader_relative_operand * operand) argument
273 parse_operand_index(const unsigned ** curr,struct Shader_operand * operand) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnv04_state_frag.c53 GLenum16 *operand; member in struct:combiner_state
74 (rc)->operand = c->Operand##chan; \
114 * specified EXT_texture_env_combine operand. */
118 get_input_mapping(struct combiner_state *rc, int operand, int flags) argument
122 if (!is_color_operand(operand) && !rc->alpha)
125 if (is_negative_operand(operand) == !(flags & INVERT))
135 int operand = rc->operand[arg]; local in function:get_input_arg
146 if (is_color_operand(operand))
148 get_input_mapping(rc, operand, flag
[all...]
H A Dnv10_state_frag.c71 GLenum16 *operand; member in struct:combiner_state
89 (rc)->operand = c->Operand##chan; \
136 * operand, possibly inverted or biased. */
141 get_input_mapping(struct combiner_state *rc, int operand, int flags) argument
145 if (is_color_operand(operand))
150 if (is_negative_operand(operand) == !(flags & INVERT))
166 int operand = rc->operand[arg]; local in function:get_input_arg
177 if (is_color_operand(operand))
179 get_input_mapping(rc, operand, flag
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnv04_state_frag.c53 GLenum16 *operand; member in struct:combiner_state
74 (rc)->operand = c->Operand##chan; \
114 * specified EXT_texture_env_combine operand. */
118 get_input_mapping(struct combiner_state *rc, int operand, int flags) argument
122 if (!is_color_operand(operand) && !rc->alpha)
125 if (is_negative_operand(operand) == !(flags & INVERT))
135 int operand = rc->operand[arg]; local in function:get_input_arg
146 if (is_color_operand(operand))
148 get_input_mapping(rc, operand, flag
[all...]
H A Dnv10_state_frag.c71 GLenum16 *operand; member in struct:combiner_state
89 (rc)->operand = c->Operand##chan; \
136 * operand, possibly inverted or biased. */
141 get_input_mapping(struct combiner_state *rc, int operand, int flags) argument
145 if (is_color_operand(operand))
150 if (is_negative_operand(operand) == !(flags & INVERT))
166 int operand = rc->operand[arg]; local in function:get_input_arg
177 if (is_color_operand(operand))
179 get_input_mapping(rc, operand, flag
[all...]
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_live_var_analysis.cpp147 Operand& operand = insn->operands[i]; local in function:aco::__anon04c364850110::process_live_temps_per_block
148 if (!operand.isTemp())
150 if (operand.isFixed() && operand.physReg() == vcc)
152 const Temp temp = operand.getTemp();
155 operand.setFirstKill(true);
158 insn->operands[j].tempId() == operand.tempId()) {
163 if (operand.isLateKill())
240 Operand& operand = insn->operands[i]; local in function:aco::__anon04c364850110::process_live_temps_per_block
241 if (!operand
[all...]
H A Daco_print_ir.cpp157 aco_print_operand(const Operand* operand, FILE* output, unsigned flags) argument
159 if (operand->isLiteral() || (operand->isConstant() && operand->bytes() == 1)) {
160 if (operand->bytes() == 1)
161 fprintf(output, "0x%.2x", operand->constantValue());
162 else if (operand->bytes() == 2)
163 fprintf(output, "0x%.4x", operand->constantValue());
165 fprintf(output, "0x%x", operand->constantValue());
166 } else if (operand
[all...]
H A Daco_register_allocation.cpp199 DefInfo(ra_ctx& ctx, aco_ptr<Instruction>& instr, RegClass rc_, int operand) : rc(rc_) argument
206 if (rc.is_subdword() && operand >= 0) {
208 stride = get_subdword_operand_stride(ctx.program->chip_class, instr, operand, rc);
765 /* check if we moved an operand, again */
769 // FIXME: ensure that the operand can use this reg
787 /* check if we moved an operand */
1000 /* check if this is a dead operand, then we can re-use the space from the definition
1458 /* If there's an unexpected temporary, this operand is unlikely to be
1485 /* check for every operand of the vector
1486 * - whether the operand i
1872 get_reg_for_operand(ra_ctx & ctx,RegisterFile & register_file,std::vector<std::pair<Operand,Definition>> & parallelcopy,aco_ptr<Instruction> & instr,Operand & operand,unsigned operand_index) argument
2226 Operand& operand = instr->operands[0]; local in function:aco::__anon1a58e4b40110::init_reg_file
2250 Operand& operand = instr->operands[i]; local in function:aco::__anon1a58e4b40110::init_reg_file
2510 auto& operand = instr->operands[i]; local in function:aco::register_allocation
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/perf/
H A Dgen_perf.py204 operand = stack.pop()
205 if operand[0] == "$":
206 if operand in hw_vars:
207 operand = hw_vars[operand]
208 elif operand in set.counter_vars:
209 reference = set.counter_vars[operand]
210 operand = set.read_funcs[operand[1:]] + "(perf, query, accumulator)"
212 raise Exception("Failed to resolve variable " + operand
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/perf/
H A Dgen_perf.py212 operand = stack.pop()
213 if operand[0] == "$":
214 if operand in hw_vars:
215 operand = hw_vars[operand]
216 elif operand in set.counter_vars:
217 reference = set.counter_vars[operand]
218 operand = set.read_funcs[operand[1:]] + "(perf, query, results)"
220 raise Exception("Failed to resolve variable " + operand
[all...]
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di915_3d.h102 * This structure represents the contents of an operand to an i915 fragment
121 * Construct an operand description for the fragment shader.
124 * \param x *_CHANNEL_VAL swizzle value prefix for operand X channel, with
126 * \param y *_CHANNEL_VAL swizzle value prefix for operand Y channel, with
128 * \param z *_CHANNEL_VAL swizzle value prefix for operand Z channel, with
130 * \param w *_CHANNEL_VAL swizzle value prefix for operand W channel, with
147 struct i915_fs_operand operand; local in function:_i915_fs_operand
149 operand.reg = reg;
150 operand.x = x;
151 operand
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_combine_stores.c378 nir_deref_instr *operand = nir_src_as_deref(intrin->src[0]); local in function:combine_stores_block
379 while (nir_deref_instr_parent(operand))
380 operand = nir_deref_instr_parent(operand);
381 assert(operand->deref_type == nir_deref_type_var ||
382 operand->deref_type == nir_deref_type_cast);
384 combine_stores_with_deref(state, operand);
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/
H A Darray_refcount_test.cpp126 static operand
127 deref_array(operand array, operand index)
133 return operand(val);
136 static operand
137 deref_struct(operand s, const char *field)
143 return operand(val);
673 operand b000 = deref_array(
679 operand b010 = deref_array(
685 operand b10
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/
H A Darray_refcount_test.cpp122 static operand
123 deref_array(operand array, operand index)
129 return operand(val);
132 static operand
133 deref_struct(operand s, const char *field)
139 return operand(val);
664 operand b000 = deref_array(
670 operand b010 = deref_array(
676 operand b10
[all...]
/xsrc/external/mit/xedit/dist/lisp/
H A Dmath.c611 LispObj *operand; local in function:Lisp_Decf
613 operand = EVAL(delta);
615 sub_number_object(&num, operand);
784 LispObj *integers, *integer, *operand; local in function:Lisp_Gcd
798 operand = CAR(integers);
799 gcd_real_object(&real, operand);
846 LispObj *operand; local in function:Lisp_Incf
848 operand = EVAL(delta);
850 add_number_object(&num, operand);
943 LispObj *integers, *operand; local in function:Lisp_Lcm
[all...]

Completed in 24 milliseconds

1234