GCC Middle and Back End API Reference
edge_growth_cache_entry Class Reference

#include <ipa-inline.h>

Collaboration diagram for edge_growth_cache_entry:

Public Member Functions

 edge_growth_cache_entry ()
 
 edge_growth_cache_entry (int64_t time, int64_t nonspec_time, int size, ipa_hints hints)
 

Data Fields

sreal time
 
sreal nonspec_time
 
int size
 
ipa_hints hints
 

Detailed Description

Inlining decision heuristics.
   Copyright (C) 2003-2024 Free Software Foundation, Inc.
   Contributed by Jan Hubicka

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   
Data we cache about callgraph edges during inlining to avoid expensive
re-computations during the greedy algorithm.   

Constructor & Destructor Documentation

◆ edge_growth_cache_entry() [1/2]

edge_growth_cache_entry::edge_growth_cache_entry ( )
inline

◆ edge_growth_cache_entry() [2/2]

edge_growth_cache_entry::edge_growth_cache_entry ( int64_t time,
int64_t nonspec_time,
int size,
ipa_hints hints )
inline

Field Documentation

◆ hints

ipa_hints edge_growth_cache_entry::hints

◆ nonspec_time

sreal edge_growth_cache_entry::nonspec_time

Referenced by do_estimate_edge_time().

◆ size

int edge_growth_cache_entry::size

◆ time

sreal edge_growth_cache_entry::time

The documentation for this class was generated from the following file: