GCC Middle and Back End API Reference
Go to the documentation of this file.
1/* Header file for memory address lowering and mode selection.
2 Copyright (C) 2013-2024 Free Software Foundation, Inc.
4This file is part of GCC.
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 3, or (at your option) any later
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
23/* Description of a memory address. */
30extern rtx addr_for_mem_ref (struct mem_address *, addr_space_t, bool);
31extern rtx addr_for_mem_ref (tree exp, addr_space_t as, bool really_expand);
32extern void get_address_description (tree, struct mem_address *);
34extern bool valid_mem_ref_p (machine_mode, addr_space_t, struct mem_address *,
35 code_helper = ERROR_MARK);
36extern void move_fixed_address_to_symbol (struct mem_address *,
37 class aff_tree *);
39 class aff_tree *, tree, tree, tree, bool);
40extern void copy_ref_info (tree, tree);
43extern unsigned int preferred_mem_scale_factor (tree base,
44 machine_mode mem_mode,
45 bool speed);
46#endif /* GCC_TREE_SSA_ADDRESS_H */
Definition tree-affine.h:42
Definition tree.h:81
unsigned char addr_space_t
Definition coretypes.h:175
union tree_node * tree
Definition coretypes.h:97
double exp(double)
Definition gimple-iterator.h:26
Definition tree-ssa-address.h:26
tree index
Definition tree-ssa-address.h:27
tree offset
Definition tree-ssa-address.h:27
tree step
Definition tree-ssa-address.h:27
tree symbol
Definition tree-ssa-address.h:27
tree base
Definition tree-ssa-address.h:27
Definition rtl.h:311
bool valid_mem_ref_p(machine_mode, addr_space_t, struct mem_address *, code_helper=ERROR_MARK)
Definition tree-ssa-address.cc:346
void move_fixed_address_to_symbol(struct mem_address *, class aff_tree *)
Definition tree-ssa-address.cc:421
tree create_mem_ref(gimple_stmt_iterator *, tree, class aff_tree *, tree, tree, tree, bool)
Definition tree-ssa-address.cc:797
rtx addr_for_mem_ref(struct mem_address *, addr_space_t, bool)
Definition tree-ssa-address.cc:192
tree maybe_fold_tmr(tree)
Definition tree-ssa-address.cc:1067
void copy_ref_info(tree, tree)
Definition tree-ssa-address.cc:1004
unsigned int preferred_mem_scale_factor(tree base, machine_mode mem_mode, bool speed)
Definition tree-ssa-address.cc:1143
void get_address_description(tree, struct mem_address *)
Definition tree-ssa-address.cc:977
tree tree_mem_ref_addr(tree, tree)
Definition tree-ssa-address.cc:297