2013-06-11 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / internal-fn.def
blob8900d90dc22f95c6daa474142b435e02d493a5f5
1 /* Internal functions.
2 Copyright (C) 2011-2013 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 /* This file specifies a list of internal "functions". These functions
21 differ from built-in functions in that they have no linkage and cannot
22 be called directly by the user. They represent operations that are only
23 synthesised by GCC itself.
25 Internal functions are used instead of tree codes if the operation
26 and its operands are more naturally represented as a GIMPLE_CALL
27 than a GIMPLE_ASSIGN.
29 Each entry in this file has the form:
31 DEF_INTERNAL_FN (NAME, FLAGS)
33 where NAME is the name of the function and FLAGS is a set of
34 ECF_* flags. Each entry must have a corresponding expander
35 of the form:
37 void expand_NAME (gimple stmt)
39 where STMT is the statement that performs the call. */
41 DEF_INTERNAL_FN (LOAD_LANES, ECF_CONST | ECF_LEAF)
42 DEF_INTERNAL_FN (STORE_LANES, ECF_CONST | ECF_LEAF)