Home
last modified time | relevance | path

Searched refs:operands (Results 1 – 25 of 934) sorted by relevance

12345678910>>...38

/external/mesa3d/src/glsl/
Dlower_instructions.cpp128 ir->operands[1] = new(ir) ir_expression(ir_unop_neg, ir->operands[1]->type, in sub_to_add_neg()
129 ir->operands[1], NULL); in sub_to_add_neg()
136 assert(ir->operands[1]->type->is_float()); in div_to_mul_rcp()
141 ir->operands[1]->type, in div_to_mul_rcp()
142 ir->operands[1]); in div_to_mul_rcp()
146 ir->operands[1] = expr; in div_to_mul_rcp()
154 assert(ir->operands[1]->type->is_integer()); in int_div_to_mul_rcp()
164 ir->operands[1]->type->vector_elements, in int_div_to_mul_rcp()
165 ir->operands[1]->type->matrix_columns); in int_div_to_mul_rcp()
167 if (ir->operands[1]->type->base_type == GLSL_TYPE_INT) in int_div_to_mul_rcp()
[all …]
Dopt_algebraic.cpp96 if (ir->operands[0]->type->is_vector()) in update_type()
97 ir->type = ir->operands[0]->type; in update_type()
99 ir->type = ir->operands[1]->type; in update_type()
108 ir_rvalue *temp = ir2->operands[op2]; in reassociate_operands()
109 ir2->operands[op2] = ir1->operands[op1]; in reassociate_operands()
110 ir1->operands[op1] = temp; in reassociate_operands()
135 if (ir1->operands[0]->type->is_matrix() || in reassociate_constant()
136 ir1->operands[1]->type->is_matrix() || in reassociate_constant()
137 ir2->operands[0]->type->is_matrix() || in reassociate_constant()
138 ir2->operands[1]->type->is_matrix()) in reassociate_constant()
[all …]
Dir_validate.cpp231 assert(ir->operands[0]->type == ir->type); in visit_leave()
235 assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL); in visit_leave()
244 assert(ir->type == ir->operands[0]->type); in visit_leave()
251 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
252 assert(ir->type == ir->operands[0]->type); in visit_leave()
256 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
260 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
264 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT); in visit_leave()
268 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
272 assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL); in visit_leave()
[all …]
Dir.cpp206 this->operands[0] = op0; in ir_expression()
207 this->operands[1] = NULL; in ir_expression()
208 this->operands[2] = NULL; in ir_expression()
209 this->operands[3] = NULL; in ir_expression()
220 this->operands[0] = op0; in ir_expression()
221 this->operands[1] = op1; in ir_expression()
222 this->operands[2] = NULL; in ir_expression()
223 this->operands[3] = NULL; in ir_expression()
233 this->operands[0] = op0; in ir_expression()
234 this->operands[1] = op1; in ir_expression()
[all …]
/external/clang/test/SemaOpenCL/
Dinvalid-logical-ops-1.1.cl10 int flaf = 0.0f && 0.0f; // expected-error {{invalid operands}}
11 int flof = 0.0f || 0.0f; // expected-error {{invalid operands}}
12 float fbaf = 0.0f & 0.0f; // expected-error {{invalid operands}}
13 float fbof = 0.0f | 0.0f; // expected-error {{invalid operands}}
14 float fbxf = 0.0f ^ 0.0f; // expected-error {{invalid operands}}
15 int flai = 0.0f && 0; // expected-error {{invalid operands}}
16 int floi = 0.0f || 0; // expected-error {{invalid operands}}
17 float ibaf = 0 & 0.0f; // expected-error {{invalid operands}}
18 float ibof = 0 | 0.0f; // expected-error {{invalid operands}}
25 int4 f4laf = f4 && 0.0f; // expected-error {{invalid operands}}
[all …]
Dinvalid-logical-ops-1.2.cl13 float fbaf = 0.0f & 0.0f; // expected-error {{invalid operands}}
14 float fbof = 0.0f | 0.0f; // expected-error {{invalid operands}}
15 float fbxf = 0.0f ^ 0.0f; // expected-error {{invalid operands}}
18 float ibaf = 0 & 0.0f; // expected-error {{invalid operands}}
19 float ibof = 0 | 0.0f; // expected-error {{invalid operands}}
28 float4 f4baf = f4 & 0.0f; // expected-error {{invalid operands}}
29 float4 f4bof = f4 | 0.0f; // expected-error {{invalid operands}}
30 float4 f4bxf = f4 ^ 0.0f; // expected-error {{invalid operands}}
38 double fbaf = 0.0 & 0.0; // expected-error {{invalid operands}}
39 double fbof = 0.0 | 0.0; // expected-error {{invalid operands}}
[all …]
/external/v8/src/interpreter/
Dbytecode-traits.h79 template <AccumulatorUse accumulator_use, OperandType... operands>
87 1, OperandScaler<operands, OperandScale::kSingle>::kSize...>::kValue;
89 1, OperandScaler<operands, OperandScale::kDouble>::kSize...>::kValue;
91 1, OperandScaler<operands, OperandScale::kQuadruple>::kSize...>::kValue;
93 static const int kOperandCount = sizeof...(operands);
96 template <AccumulatorUse accumulator_use, OperandType... operands>
98 BytecodeTraits<accumulator_use, operands...>::kOperandTypes[] = {
99 operands...};
100 template <AccumulatorUse accumulator_use, OperandType... operands>
102 BytecodeTraits<accumulator_use, operands...>::kOperandTypeInfos[] = {
[all …]
/external/google-breakpad/src/third_party/libdisasm/
Dx86_insn.c21 if (! insn || ! insn->operands ) { in x86_get_address()
25 for (op_lst = insn->operands; op_lst; op_lst = op_lst->next ) { in x86_get_address()
42 if (! insn || ! insn->operands ) { in x86_get_rel_offset()
46 for (op_lst = insn->operands; op_lst; op_lst = op_lst->next ) { in x86_get_rel_offset()
59 if (! insn || ! insn->operands ) { in x86_get_branch_target()
63 for (op_lst = insn->operands; op_lst; op_lst = op_lst->next ) { in x86_get_branch_target()
73 if (! insn || ! insn->operands ) { in x86_get_imm()
77 for (op_lst = insn->operands; op_lst; op_lst = op_lst->next ) { in x86_get_imm()
96 if (! insn || ! insn->operands ) { in x86_get_raw_imm()
101 if ( IS_PROPER_IMM( insn->operands ) ) { in x86_get_raw_imm()
[all …]
Dia32_invariant.c160 inv->operands[x].access = (enum x86_op_access)
162 inv->operands[x].flags = (enum x86_op_flags)
209 mode_16, &inv->operands[x]);
214 inv->operands[x].type = op_register;
222 inv->operands[x].type = op_offset;
224 inv->operands[x].flags |= op_signed |
242 inv->operands[x].type =
245 inv->operands[x].type =
248 inv->operands[x].flags |= op_signed;
250 inv->operands[x].type = op_immediate;
[all …]
Dx86_operand_list.c12 list = insn->operands; in x86_oplist_append()
21 insn->operands = op; in x86_oplist_append()
55 for ( list = insn->operands; list; ) { in x86_oplist_free()
61 insn->operands = NULL; in x86_oplist_free()
92 for ( list = insn->operands; list; list = list->next ) { in x86_operand_foreach()
174 return &(insn->operands->op); in x86_operand_1st()
182 return &(insn->operands->next->op); in x86_operand_2nd()
190 return &(insn->operands->next->next->op); in x86_operand_3rd()
/external/vixl/tools/test_generator/
Dgenerator.py187 def BuildOperandDefinition(operands): argument
210 [operand[1] for operand in operands],
215 self.it_condition.format(**dict(operands)) if self.it_condition else "al"
241 BuildOperandDefinition(operands)
242 for operands in itertools.product(*variants)
243 if filter_lambda(**dict(operands))
311 def __init__(self, test_name, test_isa, test_type, mnemonics, operands, argument
324 self.operands = deepcopy(operands)
325 self.operands.ExcludeVariants("Register", ["r13", "r15"])
327 self.operands = operands
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DSemanticContext.java304 protected final Set<SemanticContext> operands = new HashSet<SemanticContext>(); field in SemanticContext.CommutativePredicate
310 operands.addAll(predicate.operands); in CommutativePredicate()
312 operands.add(a); in CommutativePredicate()
317 operands.addAll(predicate.operands); in CommutativePredicate()
319 operands.add(b); in CommutativePredicate()
329 operands.addAll(predicate.operands); in CommutativePredicate()
331 operands.add(context); in CommutativePredicate()
341 for (SemanticContext semctx : operands) { in getGatedPredicateContext()
352 for (SemanticContext semctx : operands) { in hasUserSemanticPredicate()
362 for (SemanticContext semctx : operands) { in isSyntacticPredicate()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantsContext.h310 operands(ops.begin(), ops.end()), indices(inds.begin(), inds.end()) {}
314 std::vector<Constant*> operands;
320 this->operands == that.operands &&
325 if (this->operands != that.operands) return this->operands < that.operands;
413 return new UnaryConstantExpr(V.opcode, V.operands[0], Ty);
416 return new BinaryConstantExpr(V.opcode, V.operands[0], V.operands[1],
419 return new SelectConstantExpr(V.operands[0], V.operands[1],
420 V.operands[2]);
422 return new ExtractElementConstantExpr(V.operands[0], V.operands[1]);
424 return new InsertElementConstantExpr(V.operands[0], V.operands[1],
[all …]
/external/llvm/include/llvm/IR/
DOperandTraits.h38 static unsigned operands(const User*) { in operands() function
52 static unsigned operands(const User *U) { in operands() function
73 static unsigned operands(const User *U) { in operands() function
100 static unsigned operands(const User *U) { in operands() function
137 assert(i_nocapture < OperandTraits<CLASS>::operands(this) \
143 assert(i_nocapture < OperandTraits<CLASS>::operands(this) \
148 return OperandTraits<CLASS>::operands(this); \
/external/swiftshader/third_party/LLVM/include/llvm/
DOperandTraits.h38 static unsigned operands(const User*) { in operands() function
52 static unsigned operands(const User *U) { in operands() function
73 static unsigned operands(const User *U) { in operands() function
100 static unsigned operands(const User *U) { in operands() function
137 assert(i_nocapture < OperandTraits<CLASS>::operands(this) \
143 assert(i_nocapture < OperandTraits<CLASS>::operands(this) \
148 return OperandTraits<CLASS>::operands(this); \
/external/llvm/test/Assembler/
Dgeneric-debug-node.ll10 ; CHECK-NEXT: !1 = !GenericDINode(tag: DW_TAG_entry_point, header: "some\00header", operands: {!0, …
11 !1 = !GenericDINode(tag: 3, header: "some\00header", operands: {!0, !3, !4})
12 !2 = !GenericDINode(tag: 3, header: "some\00header", operands: {!{}, !3, !4})
17 !5 = !GenericDINode(tag: 3, operands: {})
18 !6 = !GenericDINode(tag: 3, header: "", operands: {})
/external/llvm/docs/
DMIRLangRef.rst86 - The ``MCSymbol`` machine operands are only printed, they can't be parsed.
94 of certain ``MCSymbol`` operands or the exception handling state in MMI, can't
274 :ref:`machine operands <machine-operands>`,
275 :ref:`instruction flags <instruction-flags>`, and machine memory operands.
277 The instruction's name is usually specified before the operands. The example
286 operands, the instruction's name has to be specified after them. The example
288 defined register operands:
317 :ref:`register machine operands <register-operands>`,
353 .. _machine-operands:
358 There are seventeen different kinds of machine operands, and all of them, except
[all …]
/external/ImageMagick/MagickCore/
Dlocale.c335 const char *magick_restrict format,va_list operands) in FormatLocaleFileList() argument
347 n=(ssize_t) vfprintf(file,format,operands); in FormatLocaleFileList()
350 n=(ssize_t) vfprintf_l(file,format,locale,operands); in FormatLocaleFileList()
352 n=(ssize_t) vfprintf_l(file,locale,format,operands); in FormatLocaleFileList()
364 n=(ssize_t) vfprintf(file,format,operands); in FormatLocaleFileList()
368 n=(ssize_t) vfprintf(file,format,operands); in FormatLocaleFileList()
373 n=(ssize_t) vfprintf(file,format,operands); in FormatLocaleFileList()
386 operands; in FormatLocaleFile() local
388 va_start(operands,format); in FormatLocaleFile()
389 n=FormatLocaleFileList(file,format,operands); in FormatLocaleFile()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeSchedule3.td17 // source operands or one register source operand and one immediate operand.
19 // two source operands are read during the decode stage and the result is
30 // register source operands or one register source operand and one immediate
33 // two source operands are read during the decode stage and the result is
44 // operands. The instruction takes one cycle to execute in each the pipeline
46 // source operands are read during the decode stage and the result is ready
57 // source operands or one register source operand and one immediate operand.
59 // except the execute stage, which takes two cycles. The two source operands
81 // two source operands are read during the decode stage.
103 // operands are read during the decode stage.
[all …]
DMBlazeSchedule5.td17 // source operands or one register source operand and one immediate operand.
19 // two source operands are read during the decode stage and the result is
32 // register source operands or one register source operand and one immediate
34 // pipeline stages. The two source operands are read during the decode stage
47 // operands. The instruction takes one cycle to execute in each the pipeline
49 // source operands are read during the decode stage and the result is ready
62 // source operands or one register source operand and one immediate operand.
64 // The two source operands are read during the decode stage and the result is
89 // two source operands are read during the decode stage.
115 // operands are read during the decode stage.
[all …]
/external/valgrind/none/tests/tilegx/
Dgen_insn_test.c232 &tilegx_operands[opc->operands[p][i]]; in encode_insn_tilegx_X()
260 decoded.operands[i] = opd; in encode_insn_tilegx_X()
279 &tilegx_operands[opc->operands[p][i]]; in encode_insn_tilegx_X()
340 &tilegx_operands[opc->operands[p][i]]; in encode_insn_tilegx_X()
369 decoded.operands[i] = opd; in encode_insn_tilegx_X()
382 &tilegx_operands[opc->operands[p][i]]; in encode_insn_tilegx_X()
439 opd = &tilegx_operands[tilegx_opcodes[TILEGX_OPC_LD].operands[4][0]]; in encode_insn_tilegx_Y()
441 opd = &tilegx_operands[tilegx_opcodes[TILEGX_OPC_LD].operands[4][1]]; in encode_insn_tilegx_Y()
481 opd = &tilegx_operands[opc->operands[2 + p][i]]; in encode_insn_tilegx_Y()
509 decoded.operands[i] = opd; in encode_insn_tilegx_Y()
[all …]
/external/ImageMagick/MagickWand/
Dwandcli.c282 operands; in CLILogEvent() local
294 va_start(operands,format); in CLILogEvent()
295 status=LogMagickEventList(type,module,function,line,new_format,operands); in CLILogEvent()
296 va_end(operands); in CLILogEvent()
329 operands; in CLIThrowException() local
343 va_start(operands,format); in CLIThrowException()
345 line,severity,tag,new_format,operands); in CLIThrowException()
346 va_end(operands); in CLIThrowException()
/external/llvm/test/MC/PowerPC/
Dppc64-errors.s7 # Register operands
17 # TLS register operands
27 # Signed 16-bit immediate operands
37 # Unsigned 16-bit immediate operands
47 # Signed 16-bit immediate operands (extended range for addis)
55 # D-Form memory operands
/external/elfutils/libcpu/
Di386_parse.y128 } operands[3]; member
791 if (instr->operands[n].str != NULL) in fillin_arg()
796 instr->operands[n].str = runp->str; in fillin_arg()
839 if (instr->operands[n].off1 == 0) in fillin_arg()
840 instr->operands[n].off1 = bitoff; in fillin_arg()
841 else if (instr->operands[n].off2 == 0) in fillin_arg()
842 instr->operands[n].off2 = bitoff; in fillin_arg()
843 else if (instr->operands[n].off3 == 0) in fillin_arg()
844 instr->operands[n].off3 = bitoff; in fillin_arg()
862 instr->operands[n].fct = fct; in fillin_arg()
[all …]
/external/llvm/test/CodeGen/AArch64/
Darm64-ld1.ll19 ; Make sure we are using the operands defined by the ABI
28 ; Make sure we are using the operands defined by the ABI
45 ; Make sure we are using the operands defined by the ABI
54 ; Make sure we are using the operands defined by the ABI
63 ; Make sure we are using the operands defined by the ABI
80 ; Make sure we are using the operands defined by the ABI
89 ; Make sure we are using the operands defined by the ABI
98 ; Make sure we are using the operands defined by the ABI
115 ; Make sure we are using the operands defined by the ABI
124 ; Make sure we are using the operands defined by the ABI
[all …]

12345678910>>...38