GCC Middle and Back End API Reference
|
#include <optinfo.h>
Public Member Functions | |
optinfo_item (enum optinfo_item_kind kind, location_t location, char *text) | |
~optinfo_item () | |
enum optinfo_item_kind | get_kind () const |
location_t | get_location () const |
const char * | get_text () const |
Private Attributes | |
enum optinfo_item_kind | m_kind |
location_t | m_location |
char * | m_text |
An item within an optinfo.
optinfo_item::optinfo_item | ( | enum optinfo_item_kind | kind, |
location_t | location, | ||
char * | text ) |
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/>.
optinfo_item's ctor. Takes ownership of TEXT.
|
inline |
References m_kind.
Referenced by optrecord_json_writer::optinfo_to_json().
|
inline |
References m_location.
Referenced by optrecord_json_writer::optinfo_to_json().
References m_text.
Referenced by dump_context::emit_item(), and optrecord_json_writer::optinfo_to_json().
|
private |
Referenced by get_kind().
|
private |
Referenced by get_location().
|
private |
Referenced by get_text(), and ~optinfo_item().