1/* auto-profile.h - Defines data exported from auto-profile.cc
2 Copyright (C) 2014-2023 Free Software Foundation, Inc.
3 Contributed by Dehao Chen (dehao@google.com)
4
5This file is part of GCC.
6
7GCC is free software; you can redistribute it and/or modify it under
8the terms of the GNU General Public License as published by the Free
9Software Foundation; either version 3, or (at your option) any later
10version.
11
12GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13WARRANTY; without even the implied warranty of MERCHANTABILITY or
14FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15for more details.
16
17You should have received a copy of the GNU General Public License
18along with GCC; see the file COPYING3. If not see
19<http://www.gnu.org/licenses/>. */
20
21#ifndef AUTO_PROFILE_H
22#define AUTO_PROFILE_H
23
24/* Read, process, finalize AutoFDO data structures. */
25extern void read_autofdo_file (void);
26extern void end_auto_profile (void);
27
28/* Returns TRUE if EDGE is hot enough to be inlined early. */
29extern bool afdo_callsite_hot_enough_for_early_inline (struct cgraph_edge *);
30
31#endif /* AUTO_PROFILE_H */
32

source code of gcc/auto-profile.h