Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | List of all members
std::hash< SVF::CxtThread > Struct Reference

#include <CxtStmt.h>

Public Member Functions

size_t operator() (const SVF::CxtThread &ct) const
 

Detailed Description

Definition at line 462 of file CxtStmt.h.

Member Function Documentation

◆ operator()()

size_t std::hash< SVF::CxtThread >::operator() ( const SVF::CxtThread ct) const
inline

Definition at line 464 of file CxtStmt.h.

465 {
466 std::hash<SVF::CallStrCxt> ch;
468 const SVF::NodeID forksite =
469 ct.getThread() != nullptr ? ct.getThread()->getId() : 0;
470 return pairH({forksite, ch(ct.getContext())});
471 }
const CallStrCxt & getContext() const
Return context of the thread.
Definition CxtStmt.h:204
const ICFGNode * getThread() const
Return forksite.
Definition CxtStmt.h:209
NodeID getId() const
Get ID.
Definition SVFValue.h:158
u32_t NodeID
Definition GeneralType.h:76
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76

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