systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
hnode::hNode Class Reference

#include <hNode.h>

Public Types

enum  hdlopsEnum {
  hNoop , hModule , hModinitblock , hPortbindings ,
  hPortbinding , hProcesses , hProcess , hMethod ,
  hThread , hCStmt , hPortsigvarlist , hPortin ,
  hPortout , hPortio , hSenslist , hSensvar ,
  hSensedge , hTypeinfo , hType , hTypeField ,
  hTypedef , hTypeTemplateParam , hInt , hSigdecl ,
  hVardecl , hVardeclrn , hModdecl , hVarref ,
  hField , hFieldaccess , hVarInit , hVarInitList ,
  hSigAssignL , hSigAssignR , hVarAssign , hBinop ,
  hUnop , hPostfix , hPrefix , hCondop ,
  hMethodCall , hIfStmt , hForStmt , hSwitchStmt ,
  hSwitchCase , hSwitchDefault , hBreak , hContinue ,
  hWhileStmt , hDoStmt , hReturnStmt , hLiteral ,
  hFunction , hThreadFunction , hBuiltinFunction , hFunctionRetType ,
  hFunctionParams , hFunctionParamI , hFunctionParamIO , hFunctionParamRef ,
  hWait , hUnimpl , hLast
}
 

Public Member Functions

 hNode (bool lf)
 
 hNode (hdlopsEnum h)
 
 hNode (string s, hdlopsEnum h)
 
 ~hNode ()
 
void set (hdlopsEnum h, string s="")
 
void set (string s="")
 
void append (hNodep hnew)
 
int size ()
 
string printopc (hdlopsEnum opc)
 
string getname ()
 
hdlopsEnum getopc ()
 
hdlopsEnum str2hdlopenum (string st)
 
void print (llvm::raw_ostream &modelout=llvm::outs(), unsigned int indnt=2)
 
void dumphcode ()
 

Public Attributes

string h_name
 
hdlopsEnum h_op
 
std::vector< hNodepchild_list
 
const string hdlop_pn [hLast+1] = { "hNoop", "hModule", "hModinitblock", "hPortbindings", "hPortbinding", "hProcesses", "hProcess", "hMethod", "hThread", "hCStmt", "hPortsigvarlist", "hPortin", "hPortout", "hPortio", "hSenslist", "hSensvar", "hSensedge", "hTypeinfo", "hType", "hTypeField", "hTypedef", "hTypeTemplateParam", "hInt", "hSigdecl", "hVardecl", "hVardeclrn", "hModdecl", "hVarref", "hField", "hFieldaccess", "hVarInit", "hVarInitList", "hSigAssignL", "hSigAssignR", "hVarAssign", "hBinop", "hUnop", "hPostfix", "hPrefix", "hCondop", "hMethodCall", "hIfStmt", "hForStmt", "hSwitchStmt", "hSwitchCase", "hSwitchDefault", "hBreak", "hContinue", "hWhileStmt", "hDoStmt", "hReturnStmt", "hLiteral", "hFunction", "hThreadFunction", "hBuiltinFunction", "hFunctionRetType", "hFunctionParams", "hFunctionParamI", "hFunctionParamIO", "hFunctionParamRef", "hWait", "hUnimpl", "hLast" }
 

Detailed Description

Definition at line 30 of file hNode.h.

Member Enumeration Documentation

◆ hdlopsEnum

Enumerator
hNoop 
hModule 
hModinitblock 
hPortbindings 
hPortbinding 
hProcesses 
hProcess 
hMethod 
hThread 
hCStmt 
hPortsigvarlist 
hPortin 
hPortout 
hPortio 
hSenslist 
hSensvar 
hSensedge 
hTypeinfo 
hType 
hTypeField 
hTypedef 
hTypeTemplateParam 
hInt 
hSigdecl 
hVardecl 
hVardeclrn 
hModdecl 
hVarref 
hField 
hFieldaccess 
hVarInit 
hVarInitList 
hSigAssignL 
hSigAssignR 
hVarAssign 
hBinop 
hUnop 
hPostfix 
hPrefix 
hCondop 
hMethodCall 
hIfStmt 
hForStmt 
hSwitchStmt 
hSwitchCase 
hSwitchDefault 
hBreak 
hContinue 
hWhileStmt 
hDoStmt 
hReturnStmt 
hLiteral 
hFunction 
hThreadFunction 
hBuiltinFunction 
hFunctionRetType 
hFunctionParams 
hFunctionParamI 
hFunctionParamIO 
hFunctionParamRef 
hWait 
hUnimpl 
hLast 

Definition at line 102 of file hNode.h.

Constructor & Destructor Documentation

◆ hNode() [1/3]

hnode::hNode::hNode ( bool lf)
inline

Definition at line 117 of file hNode.h.

◆ hNode() [2/3]

hnode::hNode::hNode ( hdlopsEnum h)
inline

Definition at line 123 of file hNode.h.

◆ hNode() [3/3]

hnode::hNode::hNode ( string s,
hdlopsEnum h )
inline

Definition at line 129 of file hNode.h.

◆ ~hNode()

hnode::hNode::~hNode ( )
inline

Definition at line 135 of file hNode.h.

Member Function Documentation

◆ append()

void hnode::hNode::append ( hNodep hnew)
inline

Definition at line 157 of file hNode.h.

◆ dumphcode()

void hnode::hNode::dumphcode ( )
inline

Definition at line 211 of file hNode.h.

◆ getname()

string hnode::hNode::getname ( )
inline

Definition at line 169 of file hNode.h.

◆ getopc()

hdlopsEnum hnode::hNode::getopc ( )
inline

Definition at line 173 of file hNode.h.

◆ print()

void hnode::hNode::print ( llvm::raw_ostream & modelout = llvm::outs(),
unsigned int indnt = 2 )
inline

Definition at line 188 of file hNode.h.

◆ printopc()

string hnode::hNode::printopc ( hdlopsEnum opc)
inline

Definition at line 165 of file hNode.h.

◆ set() [1/2]

void hnode::hNode::set ( hdlopsEnum h,
string s = "" )
inline

Definition at line 148 of file hNode.h.

◆ set() [2/2]

void hnode::hNode::set ( string s = "")
inline

Definition at line 153 of file hNode.h.

◆ size()

int hnode::hNode::size ( )
inline

Definition at line 161 of file hNode.h.

◆ str2hdlopenum()

hdlopsEnum hnode::hNode::str2hdlopenum ( string st)
inline

Definition at line 179 of file hNode.h.

Member Data Documentation

◆ child_list

std::vector<hNodep> hnode::hNode::child_list

Definition at line 109 of file hNode.h.

◆ h_name

string hnode::hNode::h_name

Definition at line 106 of file hNode.h.

◆ h_op

hdlopsEnum hnode::hNode::h_op

Definition at line 107 of file hNode.h.

◆ hdlop_pn

const string hnode::hNode::hdlop_pn[hLast+1] = { "hNoop", "hModule", "hModinitblock", "hPortbindings", "hPortbinding", "hProcesses", "hProcess", "hMethod", "hThread", "hCStmt", "hPortsigvarlist", "hPortin", "hPortout", "hPortio", "hSenslist", "hSensvar", "hSensedge", "hTypeinfo", "hType", "hTypeField", "hTypedef", "hTypeTemplateParam", "hInt", "hSigdecl", "hVardecl", "hVardeclrn", "hModdecl", "hVarref", "hField", "hFieldaccess", "hVarInit", "hVarInitList", "hSigAssignL", "hSigAssignR", "hVarAssign", "hBinop", "hUnop", "hPostfix", "hPrefix", "hCondop", "hMethodCall", "hIfStmt", "hForStmt", "hSwitchStmt", "hSwitchCase", "hSwitchDefault", "hBreak", "hContinue", "hWhileStmt", "hDoStmt", "hReturnStmt", "hLiteral", "hFunction", "hThreadFunction", "hBuiltinFunction", "hFunctionRetType", "hFunctionParams", "hFunctionParamI", "hFunctionParamIO", "hFunctionParamRef", "hWait", "hUnimpl", "hLast" }

Definition at line 114 of file hNode.h.


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