1/* Copyright (C) 1988-2023 Free Software Foundation, Inc.
2
3This file is part of GCC.
4
5GCC is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation; either version 3, or (at your option)
8any later version.
9
10GCC is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with GCC; see the file COPYING3. If not see
17<http://www.gnu.org/licenses/>. */
18
19#ifndef GCC_I386_EXPAND_H
20#define GCC_I386_EXPAND_H
21
22/* AVX512F does support 64-byte integer vector operations,
23 thus the longest vector we are faced with is V64QImode. */
24#define MAX_VECT_LEN 64
25
26struct expand_vec_perm_d
27{
28 rtx target, op0, op1;
29 unsigned char perm[MAX_VECT_LEN];
30 machine_mode vmode;
31 unsigned char nelt;
32 bool one_operand_p;
33 bool testing_p;
34};
35
36rtx legitimize_tls_address (rtx x, enum tls_model model, bool for_mov);
37alias_set_type ix86_GOT_alias_set (void);
38rtx legitimize_pic_address (rtx orig, rtx reg);
39rtx legitimize_pe_coff_symbol (rtx addr, bool inreg);
40
41bool insn_defines_reg (unsigned int regno1, unsigned int regno2,
42 rtx_insn *insn);
43void ix86_emit_binop (enum rtx_code code, machine_mode mode, rtx dst, rtx src);
44enum calling_abi ix86_function_abi (const_tree fndecl);
45bool ix86_function_ms_hook_prologue (const_tree fn);
46void warn_once_call_ms2sysv_xlogues (const char *feature);
47rtx gen_push (rtx arg);
48rtx gen_pop (rtx arg);
49rtx ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
50 machine_mode mode, int ignore);
51bool ix86_vectorize_vec_perm_const (machine_mode vmode, machine_mode op_mode,
52 rtx target, rtx op0, rtx op1,
53 const vec_perm_indices &sel);
54bool ix86_notrack_prefixed_insn_p (rtx_insn *);
55machine_mode ix86_split_reduction (machine_mode mode);
56void ix86_expand_divmod_libfunc (rtx libfunc, machine_mode mode, rtx op0,
57 rtx op1, rtx *quot_p, rtx *rem_p);
58
59#endif /* GCC_I386_EXPAND_H */
60

source code of gcc/config/i386/i386-expand.h