GCC Middle and Back End API Reference
|
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "backend.h"
#include "tree.h"
#include "gimple.h"
#include "optinfo.h"
#include "optinfo-emit-json.h"
#include "dump-context.h"
#include "pretty-print.h"
#include "gimple-pretty-print.h"
#include "cgraph.h"
#include "selftest.h"
Macros | |
#define | INCLUDE_MEMORY |
Functions | |
const char * | optinfo_kind_to_string (enum optinfo_kind kind) |
static dump_flags_t | optinfo_kind_to_dump_flag (enum optinfo_kind kind) |
bool | optinfo_wants_inlining_info_p () |
#define INCLUDE_MEMORY |
Optimization information. Copyright (C) 2018-2024 Free Software Foundation, Inc. Contributed by David Malcolm <dmalcolm@redhat.com>. 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/>.
|
static |
Get MSG_* flags corresponding to KIND.
References gcc_unreachable, MSG_MISSED_OPTIMIZATION, MSG_NOTE, MSG_OPTIMIZED_LOCATIONS, OPTINFO_KIND_FAILURE, OPTINFO_KIND_NOTE, OPTINFO_KIND_SCOPE, and OPTINFO_KIND_SUCCESS.
Referenced by optinfo::emit_for_opt_problem().
const char * optinfo_kind_to_string | ( | enum optinfo_kind | kind | ) |
Get a string from KIND.
References gcc_unreachable, OPTINFO_KIND_FAILURE, OPTINFO_KIND_NOTE, OPTINFO_KIND_SCOPE, and OPTINFO_KIND_SUCCESS.
Referenced by optrecord_json_writer::optinfo_to_json().
bool optinfo_wants_inlining_info_p | ( | ) |
Return true if any of the active optinfo destinations make use of inlining information. (if true, then the information is preserved).
References dump_context::get(), and dump_context::optimization_records_enabled_p().
Referenced by remove_unused_scope_block_p().