Searched refs:operands (Results 1 - 25 of 66) sorted by relevance

123

/external/srec/srec/Semproc/src/
H A DExpressionEvaluator.c39 ESR_ReturnCode EE_concat(LCHAR* name, LCHAR** operands, size_t opCount, void* data, LCHAR* resultBuf, size_t* resultLen) argument
44 if (operands == NULL || resultBuf == NULL || resultLen == NULL)
52 opLen = LSTRLEN(operands[i]);
54 LSTRCAT(resultBuf, operands[i]);
62 ESR_ReturnCode EE_conditional(LCHAR* name, LCHAR** operands, size_t opCount, void* data, LCHAR* resultBuf, size_t* resultLen) argument
64 if (operands == NULL || resultBuf == NULL || resultLen == NULL)
70 if (!LSTRCMP(operands[0], UNDEFINED_SYMBOL) || !operands[0] ||
71 !LSTRCMP(operands[0], FALSE_SYMBOL))
73 if (strlen(operands[
96 EE_add(LCHAR* name, LCHAR** operands, size_t opCount, void* data, LCHAR* resultBuf, size_t* resultLen) argument
112 EE_subtract(LCHAR* name, LCHAR** operands, size_t opCount, void* data, LCHAR* resultBuf, size_t* resultLen) argument
[all...]
H A DExpressionParser.c350 LCHAR *operands[MAX_RHS_IDENTIFIERS]; local
373 CHKLOG(rc, ST_getKeyValue(symtable, self->identifiers[i], &operands[i]));
379 p = operands[i] = &self->identifiers[i][1];
407 CHKLOG(rc, (*self->pfunction)(self->functionName, operands, self->idCount, self->userData, result, &resultLen));
417 CHKLOG(rc, ST_putKeyValue(symtable, self->lhs, operands[0]));
/external/mesa3d/src/glsl/
H A Dir_div_to_mul_rcp.cpp65 if (ir->operands[1]->type->base_type != GLSL_TYPE_INT &&
66 ir->operands[1]->type->base_type != GLSL_TYPE_UINT) {
70 ir->operands[1]->type,
71 ir->operands[1],
76 ir->operands[1] = expr;
86 ir->operands[1]->type->vector_elements,
87 ir->operands[1]->type->matrix_columns);
89 if (ir->operands[1]->type->base_type == GLSL_TYPE_INT)
90 op1 = new(ir) ir_expression(ir_unop_i2f, vec_type, ir->operands[1], NULL);
92 op1 = new(ir) ir_expression(ir_unop_u2f, vec_type, ir->operands[
[all...]
H A Dlower_instructions.cpp122 ir->operands[1] = new(ir) ir_expression(ir_unop_neg, ir->operands[1]->type,
123 ir->operands[1], NULL);
130 if (!ir->operands[1]->type->is_integer()) {
134 ir->operands[1]->type,
135 ir->operands[1],
140 ir->operands[1] = expr;
150 ir->operands[1]->type->vector_elements,
151 ir->operands[1]->type->matrix_columns);
153 if (ir->operands[
[all...]
H A Dopt_algebraic.cpp86 if (ir->operands[0]->type->is_vector())
87 ir->type = ir->operands[0]->type;
89 ir->type = ir->operands[1]->type;
98 ir_rvalue *temp = ir2->operands[op2];
99 ir2->operands[op2] = ir1->operands[op1];
100 ir1->operands[op1] = temp;
103 * base types matched, and at least one of the operands of the 2
125 if (ir1->operands[0]->type->is_matrix() ||
126 ir1->operands[
[all...]
H A Dir_validate.cpp211 assert(ir->operands[0]->type == ir->type);
215 assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL);
224 assert(ir->type == ir->operands[0]->type);
231 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT);
232 assert(ir->type == ir->operands[0]->type);
236 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT);
240 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT);
244 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT);
248 assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL);
252 assert(ir->operands[
[all...]
H A Dir_mod_to_fract.cpp63 ir_variable *temp = new(ir) ir_variable(ir->operands[1]->type, "mod_b",
71 ir->operands[1], NULL);
75 ir->operands[0]->type,
76 ir->operands[0],
80 ir->operands[0]->type,
85 ir->operands[0] = new(ir) ir_dereference_variable(temp);
86 ir->operands[1] = expr;
H A Dlower_vector.cpp67 ir_rvalue *op = ir->operands[i];
98 op = ex->operands[0];
162 const ir_constant *const c = expr->operands[i]->as_constant();
198 if (expr->operands[i]->ir_type == ir_type_constant)
203 new(mem_ctx) ir_assignment(lhs, expr->operands[i], NULL, (1U << i));
H A Dir_to_llvm.cpp504 ops[i] = llvm_value(ir->operands[i]);
510 if(ir->operands[0]->type->vector_elements <= 1 && ir->operands[1]->type->vector_elements > 1)
515 else if(ir->operands[0]->type->vector_elements > 1 && ir->operands[1]->type->vector_elements <= 1)
521 assert(ir->operands[0]->type->vector_elements == ir->operands[1]->type->vector_elements);
527 for(unsigned i = 0; i < ir->operands[vecidx]->type->vector_elements; ++i)
537 switch (ir->operands[0]->type->base_type) {
548 switch (ir->operands[
[all...]
H A Dir.cpp201 this->operands[0] = op0;
202 this->operands[1] = NULL;
203 this->operands[2] = NULL;
204 this->operands[3] = NULL;
215 this->operands[0] = op0;
216 this->operands[1] = op1;
217 this->operands[2] = NULL;
218 this->operands[3] = NULL;
228 this->operands[0] = op0;
229 this->operands[
[all...]
H A Dlower_vec_index_to_swizzle.cpp89 ir->operands[i] = convert_vec_index_to_swizzle(ir->operands[i]);
H A Dloop_controls.cpp216 ir_rvalue *counter = cond->operands[0]->as_dereference_variable();
217 ir_constant *limit = cond->operands[1]->as_constant();
221 counter = cond->operands[1]->as_dereference_variable();
222 limit = cond->operands[0]->as_constant();
H A Dir_rvalue_visitor.cpp44 handle_rvalue(&ir->operands[operand]);
H A Dloop_analysis.cpp245 * - All operands on the RHS of the assignment are also loop constants.
422 /* One of the of operands of the expression must be the variable assigned.
428 ir_variable *const op0 = rhs->operands[0]->variable_referenced();
429 ir_variable *const op1 = rhs->operands[1]->variable_referenced();
435 ir_rvalue *inc = (op0 == var) ? rhs->operands[1] : rhs->operands[0];
H A Dopt_constant_folding.cpp73 if (!expr->operands[i]->as_constant())
H A Dlower_mat_op_to_vec.cpp76 if (expr->operands[i]->type->is_matrix())
346 if (expr->operands[i]->type->is_matrix()) {
347 columns = expr->operands[i]->type->matrix_columns;
379 /* Store the expression operands in temps so we can use them
385 op_var[i] = new(mem_ctx) ir_variable(orig_expr->operands[i]->type,
392 orig_expr->operands[i],
/external/llvm/utils/TableGen/
H A DX86DisassemblerShared.h27 memset(operands, 0, sizeof(operands)); \
/external/srec/srec/Semproc/include/
H A DSR_ExpressionEvaluator.h60 * @param operands array of strings holding operands to concatenate
61 * @param opCount number of operands
66 SREC_SEMPROC_API ESR_ReturnCode EE_concat(LCHAR* name, LCHAR** operands, size_t opCount, void* data, LCHAR* resultBuf, size_t* resultLen);
69 * Built-in function to support conditional expressions (with 3 operands only!!!)
71 * @param operands first op is the condition, second is the true val, third is the false val
72 * @param opCount number of operands
76 SREC_SEMPROC_API ESR_ReturnCode EE_conditional(LCHAR* name, LCHAR** operands, size_t opCount, void* data, LCHAR* resultBuf, size_t* resultLen);
81 * @param operands strings to interpret as integers and then add together
82 * @param opCount number of operands
[all...]
/external/llvm/include/llvm/
H A DOperandTraits.h12 // the operands in the most efficient manner.
38 static unsigned operands(const User*) { function in struct:llvm::FixedNumOperandTraits
47 /// OptionalOperandTraits - when the number of operands may change at runtime.
52 static unsigned operands(const User *U) { function in struct:llvm::OptionalOperandTraits
73 static unsigned operands(const User *U) { function in struct:llvm::VariadicOperandTraits
100 static unsigned operands(const User *U) { function in struct:llvm::HungoffOperandTraits
137 assert(i_nocapture < OperandTraits<CLASS>::operands(this) \
143 assert(i_nocapture < OperandTraits<CLASS>::operands(this) \
148 return OperandTraits<CLASS>::operands(this); \
/external/llvm/lib/VMCore/
H A DConstantsContext.h51 // allocate space for exactly two operands
71 // allocate space for exactly three operands
91 // allocate space for exactly two operands
111 // allocate space for exactly three operands
132 // allocate space for exactly three operands
226 // allocate space for exactly two operands
310 operands(ops.begin(), ops.end()), indices(inds.begin(), inds.end()) {}
314 std::vector<Constant*> operands; member in struct:llvm::ExprMapKeyType
320 this->operands == that.operands
[all...]
/external/clang/test/SemaCXX/
H A Dnull_in_arithmetic_ops.cpp31 expected-error {{invalid operands to binary expression ('long' and 'void (^)()')}} \
32 expected-error {{invalid operands to binary expression ('void (^)()' and 'long')}}
34 expected-error {{invalid operands to binary expression ('long' and 'void (X::*)()')}} \
35 expected-error {{invalid operands to binary expression ('void (X::*)()' and 'long')}}
/external/llvm/test/MC/ARM/
H A Darm-memory-instructions.s29 @ label operands currently assert the show-encoding asm comment helper due
H A Ddiagnostics.s231 @ Out of order Rt/Rt2 operands for ldrexd/strexd
235 @ CHECK-ERRORS: error: destination operands must be sequential
238 @ CHECK-ERRORS: error: source operands must be sequential
287 @ Out of order Rt/Rt2 operands for ldrd
291 @ CHECK-ERRORS: error: destination operands must be sequential
294 @ CHECK-ERRORS: error: destination operands must be sequential
297 @ CHECK-ERRORS: error: destination operands must be sequential
/external/bluetooth/bluez/audio/
H A Dcontrol.c90 /* operands in passthrough commands */
358 const unsigned char *operands,
367 if (operands[0] & 0x80) {
378 if ((operands[0] & 0x7F) != key_map[i].avrcp)
403 operands[0] & 0x7F, status);
498 unsigned char buf[1024], *operands; local
538 operands = buf + sizeof(struct avctp_header) + sizeof(struct avrcp_header);
542 "opcode 0x%02X, %d operands",
558 handle_panel_passthrough(control, operands, operand_count);
572 operands[
357 handle_panel_passthrough(struct control *control, const unsigned char *operands, int operand_count) argument
999 uint8_t *operands = &buf[AVCTP_HEADER_LENGTH + AVRCP_HEADER_LENGTH]; local
[all...]
/external/libvpx/vp8/encoder/arm/armv6/
H A Dvp8_mse16x16_armv6.asm43 usub8 r9, r6, r5 ; calculate difference with reversed operands
64 usub8 r9, r6, r5 ; calculate difference with reversed operands
83 usub8 r9, r6, r5 ; calculate difference with reversed operands
105 usub8 r9, r6, r5 ; calculate difference with reversed operands

Completed in 500 milliseconds

123