GCC Middle and Back End API Reference
ana::callsite_expr Class Reference

#include <supergraph.h>

Public Member Functions

 callsite_expr ()
 
bool param_p () const
 
bool return_value_p () const
 

Static Public Member Functions

static callsite_expr from_zero_based_param (int idx)
 
static callsite_expr from_return_value ()
 

Private Member Functions

 callsite_expr (int val)
 

Private Attributes

int m_val
 

Detailed Description

An ID representing an expression at a callsite:
either a parameter index, or the return value (or unknown).   

Constructor & Destructor Documentation

◆ callsite_expr() [1/2]

ana::callsite_expr::callsite_expr ( )
inline

◆ callsite_expr() [2/2]

ana::callsite_expr::callsite_expr ( int val)
inlineprivate

Member Function Documentation

◆ from_return_value()

static callsite_expr ana::callsite_expr::from_return_value ( )
inlinestatic

References callsite_expr().

◆ from_zero_based_param()

static callsite_expr ana::callsite_expr::from_zero_based_param ( int idx)
inlinestatic

References callsite_expr().

◆ param_p()

bool ana::callsite_expr::param_p ( ) const
inline

References m_val.

◆ return_value_p()

bool ana::callsite_expr::return_value_p ( ) const
inline

References m_val.

Field Documentation

◆ m_val

int ana::callsite_expr::m_val
private

Referenced by param_p(), and return_value_p().


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