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

A race pair: two statements that may race. More...

#include <MTA.h>

Public Member Functions

 RacePair (const SVFStmt *s1, const SVFStmt *s2)
 
bool operator< (const RacePair &other) const
 

Public Attributes

const SVFStmtstmt1
 
const SVFStmtstmt2
 

Detailed Description

A race pair: two statements that may race.

Definition at line 119 of file MTA.h.

Constructor & Destructor Documentation

◆ RacePair()

SVF::MTA::RacePair::RacePair ( const SVFStmt s1,
const SVFStmt s2 
)
inline

Definition at line 123 of file MTA.h.

123: stmt1(s1), stmt2(s2) {}
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76
const SVFStmt * stmt2
Definition MTA.h:122
const SVFStmt * stmt1
Definition MTA.h:121

Member Function Documentation

◆ operator<()

bool SVF::MTA::RacePair::operator< ( const RacePair other) const
inline

Definition at line 124 of file MTA.h.

125 {
126 if (stmt1 != other.stmt1) return stmt1 < other.stmt1;
127 return stmt2 < other.stmt2;
128 }

Member Data Documentation

◆ stmt1

const SVFStmt* SVF::MTA::RacePair::stmt1

Definition at line 121 of file MTA.h.

◆ stmt2

const SVFStmt* SVF::MTA::RacePair::stmt2

Definition at line 122 of file MTA.h.


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