GCC Middle and Back End API Reference
ana::call_string::element_t Struct Reference

#include <call-string.h>

Collaboration diagram for ana::call_string::element_t:

Public Member Functions

 element_t (const superedge *call_sedge, const call_and_return_op *call_op, function *called_fun)
bool operator== (const element_t &other) const
bool operator!= (const element_t &other) const
functionget_caller_function () const
functionget_callee_function () const
const supernodeget_call_snode_in_caller () const
const supernodeget_return_snode_in_caller () const
const gcallget_call_stmt () const

Static Public Member Functions

static int cmp (const element_t &a, const element_t &b)

Data Fields

const superedgem_call_sedge
const call_and_return_opm_call_op
functionm_called_fun

Constructor & Destructor Documentation

◆ element_t()

ana::call_string::element_t::element_t ( const superedge * call_sedge,
const call_and_return_op * call_op,
function * called_fun )
inline

References m_call_op, m_call_sedge, and m_called_fun.

Referenced by cmp(), operator!=(), and operator==().

Member Function Documentation

◆ cmp()

int ana::call_string::element_t::cmp ( const element_t & a,
const element_t & b )
static

References a, b, and element_t().

◆ get_call_snode_in_caller()

const supernode * ana::call_string::element_t::get_call_snode_in_caller ( ) const

◆ get_call_stmt()

const gcall & ana::call_string::element_t::get_call_stmt ( ) const

◆ get_callee_function()

function * ana::call_string::element_t::get_callee_function ( ) const
inline

References m_called_fun.

◆ get_caller_function()

function * ana::call_string::element_t::get_caller_function ( ) const

◆ get_return_snode_in_caller()

const supernode * ana::call_string::element_t::get_return_snode_in_caller ( ) const

◆ operator!=()

bool ana::call_string::element_t::operator!= ( const element_t & other) const

References element_t().

◆ operator==()

bool ana::call_string::element_t::operator== ( const element_t & other) const

References element_t().

Field Documentation

◆ m_call_op

const call_and_return_op* ana::call_string::element_t::m_call_op

Referenced by element_t().

◆ m_call_sedge

const superedge* ana::call_string::element_t::m_call_sedge

◆ m_called_fun

function* ana::call_string::element_t::m_called_fun

Referenced by element_t(), and get_callee_function().


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