Home
last modified time | relevance | path

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

12345678910>>...42

/external/mesa3d/src/compiler/glsl/
Dopt_algebraic.cpp181 if (ir->operands[0]->type->is_vector()) in update_type()
182 ir->type = ir->operands[0]->type; in update_type()
184 ir->type = ir->operands[1]->type; in update_type()
195 ir_swizzle *x = expr0->operands[0]->as_swizzle(); in try_replace_with_dot()
196 ir_swizzle *y = expr0->operands[1]->as_swizzle(); in try_replace_with_dot()
197 ir_swizzle *z = expr1->operands[0]->as_swizzle(); in try_replace_with_dot()
198 ir_swizzle *w = expr1->operands[1]->as_swizzle(); in try_replace_with_dot()
233 ir_rvalue *temp = ir2->operands[op2]; in reassociate_operands()
234 ir2->operands[op2] = ir1->operands[op1]; in reassociate_operands()
235 ir1->operands[op1] = temp; in reassociate_operands()
[all …]
Dir_validate.cpp241 assert(ir->operands[0]->type == ir->type); in visit_leave()
245 assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL); in visit_leave()
249 assert(ir->type == ir->operands[0]->type); in visit_leave()
254 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT || in visit_leave()
255 ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT || in visit_leave()
256 ir->operands[0]->type->base_type == GLSL_TYPE_DOUBLE); in visit_leave()
257 assert(ir->type == ir->operands[0]->type); in visit_leave()
265 assert(ir->type == ir->operands[0]->type); in visit_leave()
273 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT); in visit_leave()
274 assert(ir->type == ir->operands[0]->type); in visit_leave()
[all …]
Dlower_instructions.cpp195 ir->operands[1] = new(ir) ir_expression(ir_unop_neg, ir->operands[1]->type, in sub_to_add_neg()
196 ir->operands[1], NULL); in sub_to_add_neg()
203 assert(ir->operands[1]->type->is_float() || ir->operands[1]->type->is_double()); in div_to_mul_rcp()
208 ir->operands[1]->type, in div_to_mul_rcp()
209 ir->operands[1]); in div_to_mul_rcp()
213 ir->operands[1] = expr; in div_to_mul_rcp()
221 assert(ir->operands[1]->type->is_integer()); in int_div_to_mul_rcp()
231 ir->operands[1]->type->vector_elements, in int_div_to_mul_rcp()
232 ir->operands[1]->type->matrix_columns); in int_div_to_mul_rcp()
234 if (ir->operands[1]->type->base_type == GLSL_TYPE_INT) in int_div_to_mul_rcp()
[all …]
Dopt_rebalance_tree.cpp75 ir_rvalue *remainder = root->operands[1]; in tree_to_vine()
80 remainder_temp->operands[0]->as_expression() : NULL; in tree_to_vine()
86 ((ir_expression *)remainder)->operands[1] : NULL; in tree_to_vine()
91 ((ir_expression *)remainder)->operands[0] = tempptr->operands[1]; in tree_to_vine()
92 tempptr->operands[1] = remainder; in tree_to_vine()
94 ((ir_expression *)vine_tail)->operands[1] = tempptr; in tree_to_vine()
107 ir_expression *child = (ir_expression *)scanner->operands[1]; in compression()
108 scanner->operands[1] = child->operands[1]; in compression()
109 scanner = (ir_expression *)scanner->operands[1]; in compression()
110 child->operands[1] = scanner->operands[0]; in compression()
[all …]
Dopt_flip_matrices.cpp73 !ir->operands[0]->type->is_matrix() || in visit_enter()
74 !ir->operands[1]->type->is_vector()) in visit_enter()
77 ir_variable *mat_var = ir->operands[0]->variable_referenced(); in visit_enter()
84 ir_dereference_variable *deref = ir->operands[0]->as_dereference_variable(); in visit_enter()
90 ir->operands[0] = ir->operands[1]; in visit_enter()
91 ir->operands[1] = new(mem_ctx) ir_dereference_variable(mvp_transpose); in visit_enter()
96 ir_dereference_array *array_ref = ir->operands[0]->as_dereference_array(); in visit_enter()
101 ir->operands[0] = ir->operands[1]; in visit_enter()
102 ir->operands[1] = array_ref; in visit_enter()
Dlower_vector_insert.cpp68 ir_constant *const idx = expr->operands[2]->constant_expression_value(); in handle_rvalue()
79 factory.make_temp(expr->operands[0]->type, "vec_tmp"); in handle_rvalue()
83 factory.emit(assign(temp, expr->operands[0])); in handle_rvalue()
84 factory.emit(assign(temp, expr->operands[1], mask)); in handle_rvalue()
103 factory.make_temp(expr->operands[0]->type, "vec_tmp"); in handle_rvalue()
106 factory.make_temp(expr->operands[1]->type, "src_temp"); in handle_rvalue()
108 factory.emit(assign(temp, expr->operands[0])); in handle_rvalue()
109 factory.emit(assign(src_temp, expr->operands[1])); in handle_rvalue()
111 assert(expr->operands[2]->type == glsl_type::int_type || in handle_rvalue()
112 expr->operands[2]->type == glsl_type::uint_type); in handle_rvalue()
[all …]
Dopt_add_neg_to_sub.h43 ir_expression *const op = ir->operands[i]->as_expression(); in visit_leave()
50 ir->operands[0] = ir->operands[1]; in visit_leave()
52 ir->operands[1] = op->operands[0]; in visit_leave()
/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/r8/src/main/java/com/android/tools/r8/ir/code/
DPhi.java22 private final List<Value> operands = new ArrayList<>(); field in Phi
62 assert operands.isEmpty(); in addOperands()
80 public void addOperands(List<Value> operands) { in addOperands() argument
84 assert this.operands.isEmpty(); in addOperands()
86 if (operands.size() == 0) { in addOperands()
89 for (Value operand : operands) { in addOperands()
107 operands.add(operand); in appendOperand()
112 return operands.get(predIndex); in getOperand()
116 return operands; in getOperands()
120 operands.get(index).removePhiUser(this); in removeOperand()
[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/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_disasm.c413 print_opc_default(struct opc_operands *operands) in print_opc_default() argument
415 print_dst(operands->dst, true); in print_opc_default()
416 print_src(operands->src0, true); in print_opc_default()
417 print_src(operands->src1, true); in print_opc_default()
418 print_src(operands->src2, false); in print_opc_default()
422 print_opc_mov(struct opc_operands *operands) in print_opc_mov() argument
425 printf("a%u", operands->dst->reg); in print_opc_mov()
426 print_components(operands->dst->comps); in print_opc_mov()
429 print_src(operands->src0, true); in print_opc_mov()
430 print_src(operands->src1, true); in print_opc_mov()
[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/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp98 expr->operands[0]->as_dereference_variable(); in TEST_F()
100 expr->operands[1]->as_dereference_variable(); in TEST_F()
131 expr->operands[0]->as_dereference_variable(); in TEST_F()
133 expr->operands[1]->as_dereference_variable(); in TEST_F()
164 expr->operands[0]->as_dereference_variable(); in TEST_F()
166 expr->operands[1]->as_dereference_variable(); in TEST_F()
196 ir_expression *const neg_b = expr->operands[0]->as_expression(); in TEST_F()
198 expr->operands[1]->as_dereference_variable(); in TEST_F()
206 neg_b->operands[0]->as_dereference_variable(); in TEST_F()
/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/swiftshader/third_party/llvm-subzero/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/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/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 …]

12345678910>>...42