systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
parselib.transforms.function_info_pass.FunctionInfoPass2 Class Reference
Inheritance diagram for parselib.transforms.function_info_pass.FunctionInfoPass2:
Inheritance graph
[legend]
Collaboration diagram for parselib.transforms.function_info_pass.FunctionInfoPass2:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self)
 
 current_function_nodes (self)
 
 push_scope (self)
 
 search_id_def (self, id, allow_failure=False)
 
 copy_and_strip_io (self, tp)
 
 add_id_type (self, id, tpe)
 
 portdecltype (self, tree)
 
 sigdecltype (self, tree)
 
 vardeclinit (self, tree)
 
 funcparamio (self, tree)
 
 funcparami (self, tree)
 
 pop_scope (self)
 
 hmodule (self, tree)
 
 current_phantom_name (self)
 
 new_phantom_var_name (self, tpe)
 
 augment_name_stub (self, tree)
 
 hprocess (self, tree)
 
 hfunction (self, tree)
 
- Public Member Functions inherited from parselib.transforms.top_down.TopDown
 __default__ (self, t)
 

Public Attributes

 current_phantom_name
 

Private Member Functions

 __extract_func_def (self, tree)
 
 __search_current_function (self, func_name)
 
 __extract_name_from_method_args (self, arg_node, arg_tpe)
 

Private Attributes

 __current_module
 
 __current_process
 
 __current_function
 
 __scope_stack
 
 __phantom_id
 

Detailed Description

Similar to FunctionInfoPass, but this pass collects invocation information

Definition at line 186 of file function_info_pass.py.

Constructor & Destructor Documentation

◆ __init__()

parselib.transforms.function_info_pass.FunctionInfoPass2.__init__ ( self)

Reimplemented from parselib.transforms.top_down.TopDown.

Definition at line 188 of file function_info_pass.py.

Member Function Documentation

◆ __extract_func_def()

parselib.transforms.function_info_pass.FunctionInfoPass2.__extract_func_def ( self,
tree )
private

Definition at line 196 of file function_info_pass.py.

◆ __extract_name_from_method_args()

parselib.transforms.function_info_pass.FunctionInfoPass2.__extract_name_from_method_args ( self,
arg_node,
arg_tpe )
private

Definition at line 293 of file function_info_pass.py.

◆ __search_current_function()

parselib.transforms.function_info_pass.FunctionInfoPass2.__search_current_function ( self,
func_name )
private

Definition at line 217 of file function_info_pass.py.

◆ add_id_type()

parselib.transforms.function_info_pass.FunctionInfoPass2.add_id_type ( self,
id,
tpe )

Definition at line 243 of file function_info_pass.py.

◆ augment_name_stub()

parselib.transforms.function_info_pass.FunctionInfoPass2.augment_name_stub ( self,
tree )

Definition at line 308 of file function_info_pass.py.

◆ copy_and_strip_io()

parselib.transforms.function_info_pass.FunctionInfoPass2.copy_and_strip_io ( self,
tp )

Definition at line 239 of file function_info_pass.py.

◆ current_function_nodes()

parselib.transforms.function_info_pass.FunctionInfoPass2.current_function_nodes ( self)

Definition at line 214 of file function_info_pass.py.

◆ current_phantom_name()

parselib.transforms.function_info_pass.FunctionInfoPass2.current_phantom_name ( self)

Definition at line 283 of file function_info_pass.py.

◆ funcparami()

parselib.transforms.function_info_pass.FunctionInfoPass2.funcparami ( self,
tree )

Definition at line 267 of file function_info_pass.py.

◆ funcparamio()

parselib.transforms.function_info_pass.FunctionInfoPass2.funcparamio ( self,
tree )

Definition at line 263 of file function_info_pass.py.

◆ hfunction()

parselib.transforms.function_info_pass.FunctionInfoPass2.hfunction ( self,
tree )

Definition at line 342 of file function_info_pass.py.

◆ hmodule()

parselib.transforms.function_info_pass.FunctionInfoPass2.hmodule ( self,
tree )

Definition at line 274 of file function_info_pass.py.

◆ hprocess()

parselib.transforms.function_info_pass.FunctionInfoPass2.hprocess ( self,
tree )

Definition at line 332 of file function_info_pass.py.

◆ new_phantom_var_name()

parselib.transforms.function_info_pass.FunctionInfoPass2.new_phantom_var_name ( self,
tpe )

Definition at line 286 of file function_info_pass.py.

◆ pop_scope()

parselib.transforms.function_info_pass.FunctionInfoPass2.pop_scope ( self)

Definition at line 271 of file function_info_pass.py.

◆ portdecltype()

parselib.transforms.function_info_pass.FunctionInfoPass2.portdecltype ( self,
tree )

Definition at line 248 of file function_info_pass.py.

◆ push_scope()

parselib.transforms.function_info_pass.FunctionInfoPass2.push_scope ( self)

Definition at line 228 of file function_info_pass.py.

◆ search_id_def()

parselib.transforms.function_info_pass.FunctionInfoPass2.search_id_def ( self,
id,
allow_failure = False )

Definition at line 231 of file function_info_pass.py.

◆ sigdecltype()

parselib.transforms.function_info_pass.FunctionInfoPass2.sigdecltype ( self,
tree )

Definition at line 252 of file function_info_pass.py.

◆ vardeclinit()

parselib.transforms.function_info_pass.FunctionInfoPass2.vardeclinit ( self,
tree )

Definition at line 256 of file function_info_pass.py.

Member Data Documentation

◆ __current_function

parselib.transforms.function_info_pass.FunctionInfoPass2.__current_function
private

Definition at line 192 of file function_info_pass.py.

◆ __current_module

parselib.transforms.function_info_pass.FunctionInfoPass2.__current_module
private

Definition at line 190 of file function_info_pass.py.

◆ __current_process

parselib.transforms.function_info_pass.FunctionInfoPass2.__current_process
private

Definition at line 191 of file function_info_pass.py.

◆ __phantom_id

parselib.transforms.function_info_pass.FunctionInfoPass2.__phantom_id
private

Definition at line 194 of file function_info_pass.py.

◆ __scope_stack

parselib.transforms.function_info_pass.FunctionInfoPass2.__scope_stack
private

Definition at line 193 of file function_info_pass.py.

◆ current_phantom_name

parselib.transforms.function_info_pass.FunctionInfoPass2.current_phantom_name

Definition at line 287 of file function_info_pass.py.


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