1/* Header file for memory address lowering and mode selection.
2   Copyright (C) 2013-2015 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
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
9version.
10
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.
15
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/>.  */
19
20#ifndef GCC_TREE_SSA_ADDRESS_H
21#define GCC_TREE_SSA_ADDRESS_H
22
23extern rtx addr_for_mem_ref (struct mem_address *, addr_space_t, bool);
24extern rtx addr_for_mem_ref (tree exp, addr_space_t as, bool really_expand);
25extern void get_address_description (tree, struct mem_address *);
26extern tree tree_mem_ref_addr (tree, tree);
27tree create_mem_ref (gimple_stmt_iterator *, tree,
28		     struct aff_tree *, tree, tree, tree, bool);
29extern void copy_ref_info (tree, tree);
30tree maybe_fold_tmr (tree);
31
32#endif /* GCC_TREE_SSA_ADDRESS_H */
33