Home
last modified time | relevance | path

Searched refs:array_ref (Results 1 – 18 of 18) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-ssa-forwprop.c668 tree lhs, rhs, rhs2, array_ref; in forward_propagate_addr_expr_1() local
935 array_ref = TREE_OPERAND (def_rhs, 0); in forward_propagate_addr_expr_1()
936 if ((TREE_CODE (array_ref) != ARRAY_REF in forward_propagate_addr_expr_1()
937 || TREE_CODE (TREE_TYPE (TREE_OPERAND (array_ref, 0))) != ARRAY_TYPE in forward_propagate_addr_expr_1()
938 || TREE_CODE (TREE_OPERAND (array_ref, 1)) != INTEGER_CST) in forward_propagate_addr_expr_1()
939 && TREE_CODE (TREE_TYPE (array_ref)) != ARRAY_TYPE) in forward_propagate_addr_expr_1()
1896 optimize_count_trailing_zeroes (tree array_ref, tree x, tree mulc, in optimize_count_trailing_zeroes() argument
1899 tree type = TREE_TYPE (array_ref); in optimize_count_trailing_zeroes()
1900 tree array = TREE_OPERAND (array_ref, 0); in optimize_count_trailing_zeroes()
1919 tree low = array_ref_low_bound (array_ref); in optimize_count_trailing_zeroes()
[all …]
H A Dtree-vect-stmts.c130 tree vect_type, vect, vect_name, array_ref; in read_vector_array() local
136 array_ref = build4 (ARRAY_REF, vect_type, array, in read_vector_array()
140 new_stmt = gimple_build_assign (vect, array_ref); in read_vector_array()
156 tree array_ref; in write_vector_array() local
159 array_ref = build4 (ARRAY_REF, TREE_TYPE (vect), array, in write_vector_array()
163 new_stmt = gimple_build_assign (array_ref, vect); in write_vector_array()
H A Dtree.def434 DEFTREECODE (ARRAY_REF, "array_ref", tcc_reference, 4)
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-ssa-forwprop.cc670 tree lhs, rhs, rhs2, array_ref; in forward_propagate_addr_expr_1() local
937 array_ref = TREE_OPERAND (def_rhs, 0); in forward_propagate_addr_expr_1()
938 if ((TREE_CODE (array_ref) != ARRAY_REF in forward_propagate_addr_expr_1()
939 || TREE_CODE (TREE_TYPE (TREE_OPERAND (array_ref, 0))) != ARRAY_TYPE in forward_propagate_addr_expr_1()
940 || TREE_CODE (TREE_OPERAND (array_ref, 1)) != INTEGER_CST) in forward_propagate_addr_expr_1()
941 && TREE_CODE (TREE_TYPE (array_ref)) != ARRAY_TYPE) in forward_propagate_addr_expr_1()
2305 optimize_count_trailing_zeroes (tree array_ref, tree x, tree mulc, in optimize_count_trailing_zeroes() argument
2308 tree type = TREE_TYPE (array_ref); in optimize_count_trailing_zeroes()
2309 tree array = TREE_OPERAND (array_ref, 0); in optimize_count_trailing_zeroes()
2328 tree low = array_ref_low_bound (array_ref); in optimize_count_trailing_zeroes()
[all …]
H A Dtree-vect-stmts.cc164 tree vect_type, vect, vect_name, array_ref; in read_vector_array() local
170 array_ref = build4 (ARRAY_REF, vect_type, array, in read_vector_array()
174 new_stmt = gimple_build_assign (vect, array_ref); in read_vector_array()
191 tree array_ref; in write_vector_array() local
194 array_ref = build4 (ARRAY_REF, TREE_TYPE (vect), array, in write_vector_array()
198 new_stmt = gimple_build_assign (array_ref, vect); in write_vector_array()
H A Dtree.def440 DEFTREECODE (ARRAY_REF, "array_ref", tcc_reference, 4)
H A DChangeLog.tree-ssa3248 * expr.c (string_constant): Recognize array_ref.
H A DChangeLog-20082613 pointer arithmetics into array_ref if the array is accessed
H A DChangeLog-20028353 * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dparse.c4666 gfc_array_ref *array_ref; in parse_associate() local
4706 array_ref = NULL; in parse_associate()
4709 array_ref = &ref->u.ar; in parse_associate()
4710 if (array_ref || a->target->rank) in parse_associate()
4714 if (array_ref) in parse_associate()
4718 for (dim = 0; dim < array_ref->dimen; ++dim) in parse_associate()
4719 if (array_ref->dimen_type[dim] != DIMEN_ELEMENT in parse_associate()
4720 && !(array_ref->dimen_type[dim] == DIMEN_UNKNOWN in parse_associate()
4721 && array_ref->end[dim] == NULL in parse_associate()
4722 && array_ref->start[dim] != NULL)) in parse_associate()
H A Dopenmp.c4540 gfc_ref *array_ref = NULL; variable
4544 array_ref = n->expr->ref;
4564 while (array_ref
4565 && (array_ref->type == REF_COMPONENT
4566 || (array_ref->type == REF_ARRAY
4567 && array_ref->next
4568 && (array_ref->next->type
4570 array_ref = array_ref->next;
4573 if (array_ref
4579 || array_ref->next
[all …]
H A Dresolve.c5267 gfc_ref *ref, **prev, *array_ref; in gfc_resolve_ref() local
5313 array_ref = NULL; in gfc_resolve_ref()
5320 array_ref = ref; in gfc_resolve_ref()
5336 array_ref = NULL; in gfc_resolve_ref()
5381 if (ref->u.i == INQUIRY_LEN && array_ref && expr->ts.deferred) in gfc_resolve_ref()
5383 array_ref->u.ar.type = AR_ELEMENT; in gfc_resolve_ref()
5390 for (dim = 0; dim < array_ref->u.ar.dimen; dim++) in gfc_resolve_ref()
5392 array_ref->u.ar.dimen_type[dim] = DIMEN_ELEMENT; in gfc_resolve_ref()
5393 if (array_ref->u.ar.start[dim]) in gfc_resolve_ref()
5394 gfc_free_expr (array_ref->u.ar.start[dim]); in gfc_resolve_ref()
[all …]
H A Dtrans-expr.c394 gfc_ref *ref, *class_ref, *tail = NULL, *array_ref; in gfc_find_and_cut_at_last_class_ref() local
398 array_ref = NULL; in gfc_find_and_cut_at_last_class_ref()
402 array_ref = ref; in gfc_find_and_cut_at_last_class_ref()
411 if (array_ref && CLASS_DATA (ref->u.c.component)->attr.allocatable) in gfc_find_and_cut_at_last_class_ref()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dparse.cc4916 gfc_array_ref *array_ref; in parse_associate() local
4956 array_ref = NULL; in parse_associate()
4959 array_ref = &ref->u.ar; in parse_associate()
4960 if (array_ref || a->target->rank) in parse_associate()
4964 if (array_ref) in parse_associate()
4968 for (dim = 0; dim < array_ref->dimen; ++dim) in parse_associate()
4969 if (array_ref->dimen_type[dim] != DIMEN_ELEMENT in parse_associate()
4970 && !(array_ref->dimen_type[dim] == DIMEN_UNKNOWN in parse_associate()
4971 && array_ref->end[dim] == NULL in parse_associate()
4972 && array_ref->start[dim] != NULL)) in parse_associate()
H A Dresolve.cc5350 gfc_ref *ref, **prev, *array_ref; in gfc_resolve_ref() local
5396 array_ref = NULL; in gfc_resolve_ref()
5403 array_ref = ref; in gfc_resolve_ref()
5419 array_ref = NULL; in gfc_resolve_ref()
5464 if (ref->u.i == INQUIRY_LEN && array_ref in gfc_resolve_ref()
5468 array_ref->u.ar.type = AR_ELEMENT; in gfc_resolve_ref()
5475 for (dim = 0; dim < array_ref->u.ar.dimen; dim++) in gfc_resolve_ref()
5477 array_ref->u.ar.dimen_type[dim] = DIMEN_ELEMENT; in gfc_resolve_ref()
5478 if (array_ref->u.ar.start[dim]) in gfc_resolve_ref()
5479 gfc_free_expr (array_ref->u.ar.start[dim]); in gfc_resolve_ref()
[all …]
H A Dtrans-expr.cc441 gfc_ref *ref, *class_ref, *tail = NULL, *array_ref; in gfc_find_and_cut_at_last_class_ref() local
445 array_ref = NULL; in gfc_find_and_cut_at_last_class_ref()
479 array_ref = ref; in gfc_find_and_cut_at_last_class_ref()
488 if (array_ref in gfc_find_and_cut_at_last_class_ref()
H A DChangeLog42 * resolve.cc (gfc_resolve_ref): Conversion of array_ref into an
H A DChangeLog-20111416 * resolve.c (resolve_array_ref): Set array_ref's dimen field (and the