Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SVF::MTA::RaceClassKey Struct Reference

Public Member Functions

bool operator< (const RaceClassKey &other) const
 

Public Attributes

NodeID tid
 
bool isStore
 
const NodeBSinterleaving
 
bool locked
 
NodeID lockNodeId
 

Detailed Description

Definition at line 168 of file MTA.h.

Member Function Documentation

◆ operator<()

bool MTA::RaceClassKey::operator< ( const RaceClassKey other) const

Definition at line 214 of file MTA.cpp.

215{
216 if (tid != other.tid)
217 return tid < other.tid;
218 if (isStore != other.isStore)
219 return isStore < other.isStore;
220 if (SVFUtil::cmpNodeBS(*interleaving, *other.interleaving))
221 return true;
222 if (SVFUtil::cmpNodeBS(*other.interleaving, *interleaving))
223 return false;
224 if (locked != other.locked)
225 return locked < other.locked;
226 return lockNodeId < other.lockNodeId;
227}
bool cmpNodeBS(const NodeBS &lpts, const NodeBS &rpts)
Definition SVFUtil.h:127
const NodeBS * interleaving
Definition MTA.h:172

Member Data Documentation

◆ interleaving

const NodeBS* SVF::MTA::RaceClassKey::interleaving

Definition at line 172 of file MTA.h.

◆ isStore

bool SVF::MTA::RaceClassKey::isStore

Definition at line 171 of file MTA.h.

◆ locked

bool SVF::MTA::RaceClassKey::locked

Definition at line 173 of file MTA.h.

◆ lockNodeId

NodeID SVF::MTA::RaceClassKey::lockNodeId

Definition at line 174 of file MTA.h.

◆ tid

NodeID SVF::MTA::RaceClassKey::tid

Definition at line 170 of file MTA.h.


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