Class PortBinding¶
Defined in File PortBinding.h
Class Documentation¶
-
class
systemc_clang::PortBinding¶ Public Types
-
typedef std::vector<const clang::Expr*>
ArraySubscriptsExprType¶
Public Functions
-
inline const std::string
getCallerInstanceName() const¶
-
inline const std::string
getCallerInstanceTypeName() const¶
-
inline const std::string
getCallerPortName() const¶
-
inline const std::string
getCalleeInstanceName() const¶
-
inline const std::string
getCalleePortName() const¶
-
inline ArraySubscriptsExprType
getCallerArraySubscripts() const¶
-
inline ArraySubscriptsExprType
getCallerPortArraySubscripts() const¶
-
inline ArraySubscriptsExprType
getCalleeArraySubscripts() const¶
-
inline void
setInstanceVarName(const std::string &name)¶
-
inline void
setInstanceConstructorName(const std::string &name)¶
-
inline const std::string &
getPortName() const¶
-
inline const clang::MemberExpr *
getCallerMemberExpr() const¶
-
inline const std::string &
getInstanceType() const¶
-
inline const std::string &
getInstanceVarName() const¶
-
inline const std::string &
getInstanceConstructorName() const¶
-
inline const clang::CXXRecordDecl *
getInstanceTypeDecl() const¶
-
inline const std::string
toString() const¶ Convert the port binding information into a single string.
This is mainly used in the regression tests. The returned string is compared with what is expected.
-
inline void
dump()¶ Dumps to llvm::outs() the recorded port binding information.
-
inline
PortBinding(clang::Expr *caller_expr, clang::Expr *caller_port_expr, clang::MemberExpr *caller_port_me_expr, clang::Expr *callee_expr, clang::MemberExpr *callee_port_me_expr)¶ Constructor that records the port binding.
- Parameters
caller_expr – provides access to the caller information irrespective of whether it is an array or not.
caller_port_expr – provides access to the caller’s port.
-
typedef std::vector<const clang::Expr*>