GCC Middle and Back End API Reference
|
Public Member Functions | |
__init__ (self, gdbval) | |
is_nonnull (self) | |
TREE_CODE (self) | |
DECL_NAME (self) | |
TYPE_NAME (self) | |
IDENTIFIER_POINTER (self) | |
Data Fields | |
gdbval = gdbval | |
Wrapper around a gdb.Value for a tree, with various methods corresponding to macros in gcc/tree.h
gdbhooks.Tree.__init__ | ( | self, | |
gdbval ) |
gdbhooks.Tree.DECL_NAME | ( | self | ) |
Get Tree instance corresponding to DECL_NAME (self)
References gdbval.
gdbhooks.Tree.IDENTIFIER_POINTER | ( | self | ) |
Get str correspoinding to result of IDENTIFIER_NODE (self)
References gdbval.
gdbhooks.Tree.is_nonnull | ( | self | ) |
References gdbval, and gdbhooks.intptr().
gdbhooks.Tree.TREE_CODE | ( | self | ) |
Get gdb.Value corresponding to TREE_CODE (self) as per: #define TREE_CODE(NODE) ((enum tree_code) (NODE)->base.code)
References gdbval.
gdbhooks.Tree.TYPE_NAME | ( | self | ) |
Get Tree instance corresponding to result of TYPE_NAME (self)
References gdbval.
gdbhooks.Tree.gdbval = gdbval |
Referenced by gdbhooks.VecPrinter.children(), DECL_NAME(), gdbhooks.Rtx.GET_CODE(), IDENTIFIER_POINTER(), is_nonnull(), gdbhooks.BasicBlockPrinter.to_string(), gdbhooks.CfgEdgePrinter.to_string(), gdbhooks.CgraphEdgePrinter.to_string(), gdbhooks.DWDieRefPrinter.to_string(), gdbhooks.GimplePrinter.to_string(), gdbhooks.IpaReferencePrinter.to_string(), gdbhooks.MachineModePrinter.to_string(), gdbhooks.OptMachineModePrinter.to_string(), gdbhooks.PassPrinter.to_string(), gdbhooks.RtxPrinter.to_string(), gdbhooks.SymtabNodePrinter.to_string(), gdbhooks.TreePrinter.to_string(), gdbhooks.VecPrinter.to_string(), TREE_CODE(), and TYPE_NAME().