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

#include <symbol.h>

Inheritance diagram for ana::symbol:
Collaboration diagram for ana::symbol:

Public Types

typedef unsigned id_t
 

Public Member Functions

const complexityget_complexity () const
 
id_t get_id () const
 

Static Public Member Functions

static int cmp_ids (const symbol *s1, const symbol *s2)
 

Protected Member Functions

 symbol (complexity c, unsigned id)
 

Private Attributes

complexity m_complexity
 
id_t m_id
 

Detailed Description

Base class for svalues and regions: has a complexity and a numeric ID.   

Member Typedef Documentation

◆ id_t

Constructor & Destructor Documentation

◆ symbol()

ana::symbol::symbol ( complexity c,
unsigned id )
inlineprotected

Member Function Documentation

◆ cmp_ids()

static int ana::symbol::cmp_ids ( const symbol * s1,
const symbol * s2 )
static

◆ get_complexity()

const complexity & ana::symbol::get_complexity ( ) const
inline

References m_complexity.

◆ get_id()

id_t ana::symbol::get_id ( ) const
inline

References m_id.

Field Documentation

◆ m_complexity

complexity ana::symbol::m_complexity
private

Referenced by get_complexity().

◆ m_id

id_t ana::symbol::m_id
private

Referenced by get_id().


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