GCC Middle and Back End API Reference
is_a_helper< T > Struct Template Reference

#include <is-a.h>

Inheritance diagram for is_a_helper< T >:
Collaboration diagram for is_a_helper< T >:

Public Member Functions

bool test (symtab_node *p)
 
bool test (symtab_node *p)
 
bool test (id_base *id)
 
bool test (id_base *id)
 
bool test (id_base *id)
 
bool test (id_base *id)
 
bool test (operand *op)
 
bool test (operand *op)
 
bool test (operand *op)
 
bool test (operand *op)
 
bool test (operand *op)
 
bool test (operand *op)
 
bool test (dt_node *n)
 
bool test (dt_node *n)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (const gimple *gs)
 
bool test (gimple *gs)
 
bool test (rtx rt)
 
bool test (rtx rt)
 
bool test (rtx rt)
 
bool test (const_rtx rt)
 
bool test (rtx rt)
 
bool test (const_rtx rt)
 
bool test (rtx rt)
 
bool test (rtx rt)
 
bool test (rtx rt)
 
bool test (rtx_insn *insn)
 
bool test (rtx rt)
 
bool test (rtx_insn *insn)
 
bool test (rtx rt)
 
bool test (rtx_insn *insn)
 
bool test (rtx rt)
 
bool test (rtx rt)
 
bool test (rtx_insn *insn)
 
bool test (rtx rt)
 
bool test (rtx_insn *insn)
 
bool test (vec_info *i)
 
bool test (vec_info *i)
 
bool test (const region *)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const region *reg)
 
bool test (const ana::binding_key *key)
 
bool test (const superedge *sedge)
 
bool test (const superedge *sedge)
 
bool test (const superedge *sedge)
 
bool test (const superedge *sedge)
 
bool test (const superedge *sedge)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 
bool test (const svalue *sval)
 

Static Public Member Functions

template<typename U >
static bool test (U *p)
 
template<typename U >
static T cast (U *p)
 

Detailed Description

template<typename T>
struct is_a_helper< T >
A generic type conversion internal helper class.   

Member Function Documentation

◆ cast()

template<typename T >
template<typename U >
static T reinterpret_is_a_helper< T >::cast ( U * p)
inlinestaticinherited

◆ test() [1/156]

bool is_a_helper< constana::concrete_binding * >::test ( const ana::binding_key * key)
inline

◆ test() [2/156]

bool is_a_helper< constgassign * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [3/156]

bool is_a_helper< constgcond * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [4/156]

bool is_a_helper< constgdebug * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [5/156]

bool is_a_helper< constggoto * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [6/156]

bool is_a_helper< constglabel * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [7/156]

bool is_a_helper< constgeh_else * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [8/156]

bool is_a_helper< constgeh_mnt * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [9/156]

bool is_a_helper< constgswitch * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [10/156]

bool is_a_helper< constgtry * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [11/156]

bool is_a_helper< constgasm * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [12/156]

bool is_a_helper< constgbind * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [13/156]

bool is_a_helper< constgcall * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [14/156]

bool is_a_helper< constgcatch * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [15/156]

bool is_a_helper< constgresx * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [16/156]

bool is_a_helper< constgeh_dispatch * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [17/156]

bool is_a_helper< constgeh_filter * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [18/156]

bool is_a_helper< constgomp_atomic_load * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [19/156]

bool is_a_helper< constgomp_atomic_store * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [20/156]

◆ test() [21/156]

bool is_a_helper< constgomp_continue * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [22/156]

bool is_a_helper< constgomp_critical * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [23/156]

bool is_a_helper< constgomp_ordered * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [24/156]

bool is_a_helper< constgomp_scan * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [25/156]

bool is_a_helper< constgomp_for * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [26/156]

◆ test() [27/156]

bool is_a_helper< constgomp_parallel * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [28/156]

bool is_a_helper< constgomp_target * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [29/156]

bool is_a_helper< constgomp_sections * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [30/156]

bool is_a_helper< constgomp_single * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [31/156]

bool is_a_helper< constgomp_teams * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [32/156]

bool is_a_helper< constgomp_task * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [33/156]

bool is_a_helper< constgphi * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [34/156]

bool is_a_helper< constgreturn * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [35/156]

References ggc_alloc().

◆ test() [36/156]

bool is_a_helper< constgtransaction * >::test ( const gimple * gs)
inline

References ggc_alloc().

◆ test() [37/156]

◆ test() [38/156]

◆ test() [39/156]

bool is_a_helper< constregion * >::test ( const region * )
inline

◆ test() [40/156]

bool is_a_helper< constframe_region * >::test ( const region * reg)
inline

◆ test() [41/156]

bool is_a_helper< constglobals_region * >::test ( const region * reg)
inline

◆ test() [42/156]

bool is_a_helper< constcode_region * >::test ( const region * reg)
inline

◆ test() [43/156]

bool is_a_helper< constfunction_region * >::test ( const region * reg)
inline

◆ test() [44/156]

bool is_a_helper< constlabel_region * >::test ( const region * reg)
inline

◆ test() [45/156]

bool is_a_helper< conststack_region * >::test ( const region * reg)
inline

◆ test() [46/156]

bool is_a_helper< constheap_region * >::test ( const region * reg)
inline

◆ test() [47/156]

bool is_a_helper< constthread_local_region * >::test ( const region * reg)
inline

◆ test() [48/156]

bool is_a_helper< constroot_region * >::test ( const region * reg)
inline

◆ test() [49/156]

bool is_a_helper< constsymbolic_region * >::test ( const region * reg)
inline

◆ test() [50/156]

bool is_a_helper< constdecl_region * >::test ( const region * reg)
inline

◆ test() [51/156]

bool is_a_helper< constfield_region * >::test ( const region * reg)
inline

◆ test() [52/156]

bool is_a_helper< constelement_region * >::test ( const region * reg)
inline

◆ test() [53/156]

bool is_a_helper< constoffset_region * >::test ( const region * reg)
inline

◆ test() [54/156]

bool is_a_helper< constsized_region * >::test ( const region * reg)
inline

◆ test() [55/156]

bool is_a_helper< constcast_region * >::test ( const region * reg)
inline

◆ test() [56/156]

bool is_a_helper< conststring_region * >::test ( const region * reg)
inline

◆ test() [57/156]

bool is_a_helper< constbit_range_region * >::test ( const region * reg)
inline

◆ test() [58/156]

bool is_a_helper< constvar_arg_region * >::test ( const region * reg)
inline

◆ test() [59/156]

bool is_a_helper< consterrno_region * >::test ( const region * reg)
inline

◆ test() [60/156]

bool is_a_helper< constprivate_region * >::test ( const region * reg)
inline

◆ test() [61/156]

◆ test() [62/156]

bool is_a_helper< constcall_superedge * >::test ( const superedge * sedge)
inline

References ggc_alloc(), and ana::SUPEREDGE_CALL.

◆ test() [63/156]

◆ test() [64/156]

bool is_a_helper< constcfg_superedge * >::test ( const superedge * sedge)
inline

◆ test() [65/156]

References ggc_alloc(), and NULL.

◆ test() [66/156]

◆ test() [67/156]

◆ test() [68/156]

bool is_a_helper< constpoisoned_svalue * >::test ( const svalue * sval)
inline

References ana::SK_POISONED.

◆ test() [69/156]

bool is_a_helper< constsetjmp_svalue * >::test ( const svalue * sval)
inline

References ana::SK_SETJMP.

◆ test() [70/156]

◆ test() [71/156]

◆ test() [72/156]

bool is_a_helper< constbinop_svalue * >::test ( const svalue * sval)
inline

◆ test() [73/156]

bool is_a_helper< constsub_svalue * >::test ( const svalue * sval)
inline

◆ test() [74/156]

◆ test() [75/156]

◆ test() [76/156]

◆ test() [77/156]

bool is_a_helper< constplaceholder_svalue * >::test ( const svalue * sval)
inline

References ana::SK_PLACEHOLDER.

◆ test() [78/156]

◆ test() [79/156]

bool is_a_helper< constcompound_svalue * >::test ( const svalue * sval)
inline

References ana::SK_COMPOUND.

◆ test() [80/156]

bool is_a_helper< constconjured_svalue * >::test ( const svalue * sval)
inline

References ana::SK_CONJURED.

◆ test() [81/156]

◆ test() [82/156]

◆ test() [83/156]

bool is_a_helper< constrtx_sequence * >::test ( const_rtx rt)
inline

References ggc_alloc().

◆ test() [84/156]

◆ test() [85/156]

◆ test() [86/156]

bool is_a_helper< dt_simplify * >::test ( dt_node * n)
inline

References dt_node::DT_SIMPLIFY.

◆ test() [87/156]

bool is_a_helper< gasm * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [88/156]

bool is_a_helper< gassign * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [89/156]

bool is_a_helper< gbind * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [90/156]

bool is_a_helper< gcall * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [91/156]

bool is_a_helper< gcatch * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [92/156]

bool is_a_helper< gcond * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [93/156]

bool is_a_helper< gdebug * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [94/156]

bool is_a_helper< ggoto * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [95/156]

bool is_a_helper< glabel * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [96/156]

bool is_a_helper< gresx * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [97/156]

bool is_a_helper< geh_dispatch * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [98/156]

bool is_a_helper< geh_else * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [99/156]

bool is_a_helper< geh_filter * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [100/156]

bool is_a_helper< geh_mnt * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [101/156]

bool is_a_helper< gomp_atomic_load * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [102/156]

bool is_a_helper< gomp_atomic_store * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [103/156]

References ggc_alloc().

◆ test() [104/156]

bool is_a_helper< gomp_continue * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [105/156]

bool is_a_helper< gomp_critical * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [106/156]

bool is_a_helper< gomp_ordered * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [107/156]

bool is_a_helper< gomp_scan * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [108/156]

bool is_a_helper< gomp_for * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [109/156]

References ggc_alloc().

◆ test() [110/156]

bool is_a_helper< gomp_parallel * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [111/156]

bool is_a_helper< gomp_target * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [112/156]

bool is_a_helper< gomp_sections * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [113/156]

bool is_a_helper< gomp_single * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [114/156]

bool is_a_helper< gomp_teams * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [115/156]

bool is_a_helper< gomp_task * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [116/156]

bool is_a_helper< gphi * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [117/156]

bool is_a_helper< greturn * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [118/156]

bool is_a_helper< gswitch * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [119/156]

bool is_a_helper< gimple_statement_assume * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [120/156]

bool is_a_helper< gtransaction * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [121/156]

bool is_a_helper< gtry * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [122/156]

bool is_a_helper< gimple_statement_wce * >::test ( gimple * gs)
inline

References ggc_alloc().

◆ test() [123/156]

bool is_a_helper< gimple_statement_with_ops * >::test ( gimple * gs)
inline

References ggc_alloc(), and gimple_has_ops().

◆ test() [124/156]

◆ test() [125/156]

bool is_a_helper< fn_id * >::test ( id_base * id)
inline

References id_base::FN.

◆ test() [126/156]

bool is_a_helper< operator_id * >::test ( id_base * id)
inline

References id_base::CODE.

◆ test() [127/156]

bool is_a_helper< predicate_id * >::test ( id_base * id)
inline

References id_base::PREDICATE.

◆ test() [128/156]

bool is_a_helper< user_id * >::test ( id_base * id)
inline

References id_base::USER.

◆ test() [129/156]

bool is_a_helper< capture * >::test ( operand * op)
inline

◆ test() [130/156]

bool is_a_helper< predicate * >::test ( operand * op)
inline

References operand::OP_PREDICATE.

◆ test() [131/156]

bool is_a_helper< c_expr * >::test ( operand * op)
inline

References operand::OP_C_EXPR.

◆ test() [132/156]

bool is_a_helper< expr * >::test ( operand * op)
inline

References operand::OP_EXPR.

◆ test() [133/156]

bool is_a_helper< if_expr * >::test ( operand * op)
inline

References operand::OP_IF.

◆ test() [134/156]

bool is_a_helper< with_expr * >::test ( operand * op)
inline

References operand::OP_WITH.

◆ test() [135/156]

bool is_a_helper< rtx_expr_list * >::test ( rtx rt)
inline

References ggc_alloc().

◆ test() [136/156]

bool is_a_helper< rtx_insn_list * >::test ( rtx rt)
inline

References ggc_alloc().

◆ test() [137/156]

bool is_a_helper< rtx_sequence * >::test ( rtx rt)
inline

References ggc_alloc().

◆ test() [138/156]

bool is_a_helper< rtx_insn * >::test ( rtx rt)
inline

◆ test() [139/156]

bool is_a_helper< rtx_debug_insn * >::test ( rtx rt)
inline

References DEBUG_INSN_P, and ggc_alloc().

◆ test() [140/156]

bool is_a_helper< rtx_nonjump_insn * >::test ( rtx rt)
inline

References ggc_alloc(), and NONJUMP_INSN_P.

◆ test() [141/156]

bool is_a_helper< rtx_jump_insn * >::test ( rtx rt)
inline

References ggc_alloc(), and JUMP_P.

◆ test() [142/156]

bool is_a_helper< rtx_call_insn * >::test ( rtx rt)
inline

References CALL_P, and ggc_alloc().

◆ test() [143/156]

bool is_a_helper< rtx_jump_table_data * >::test ( rtx rt)
inline

References ggc_alloc(), and JUMP_TABLE_DATA_P.

◆ test() [144/156]

bool is_a_helper< rtx_barrier * >::test ( rtx rt)
inline

References BARRIER_P, and ggc_alloc().

◆ test() [145/156]

bool is_a_helper< rtx_code_label * >::test ( rtx rt)
inline

References ggc_alloc(), and LABEL_P.

◆ test() [146/156]

bool is_a_helper< rtx_note * >::test ( rtx rt)
inline

References ggc_alloc(), and NOTE_P.

◆ test() [147/156]

bool is_a_helper< rtx_jump_insn * >::test ( rtx_insn * insn)
inline

References JUMP_P.

◆ test() [148/156]

bool is_a_helper< rtx_call_insn * >::test ( rtx_insn * insn)
inline

References CALL_P.

◆ test() [149/156]

bool is_a_helper< rtx_jump_table_data * >::test ( rtx_insn * insn)
inline

References JUMP_TABLE_DATA_P.

◆ test() [150/156]

bool is_a_helper< rtx_code_label * >::test ( rtx_insn * insn)
inline

References LABEL_P.

◆ test() [151/156]

bool is_a_helper< rtx_note * >::test ( rtx_insn * insn)
inline

References NOTE_P.

◆ test() [152/156]

bool is_a_helper< cgraph_node * >::test ( symtab_node * p)
inline
Report whether or not THIS symtab node is a function, aka cgraph_node.   

References SYMTAB_FUNCTION.

◆ test() [153/156]

bool is_a_helper< varpool_node * >::test ( symtab_node * p)
inline
Report whether or not THIS symtab node is a variable, aka varpool_node.   

References SYMTAB_VARIABLE.

◆ test() [154/156]

template<typename T >
template<typename U >
static bool is_a_helper< T >::test ( U * p)
inlinestatic

◆ test() [155/156]

bool is_a_helper< _loop_vec_info * >::test ( vec_info * i)
inline

References i, vec_info::kind, and vec_info::loop.

◆ test() [156/156]

bool is_a_helper< _bb_vec_info * >::test ( vec_info * i)
inline

References vec_info::bb, and i.


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