Static Value-Flow Analysis
Public Member Functions | Private Attributes | List of all members
SVF::RaceResultValidator::AccessPair Class Reference

#include <MTAResultValidator.h>

Public Member Functions

 AccessPair (const Instruction *I1, const Instruction *I2, const RC_FLAG flags)
 Constructor. More...
 
bool isFlaged (const RC_FLAG flag) const
 Class member access. More...
 
const InstructiongetInstruction1 () const
 
const InstructiongetInstruction2 () const
 
 AccessPair (const Instruction *I1, const Instruction *I2, const RC_FLAG flags)
 Constructor. More...
 
bool isFlaged (const RC_FLAG flag) const
 Class member access. More...
 
const InstructiongetInstruction1 () const
 
const InstructiongetInstruction2 () const
 

Private Attributes

const InstructionI1
 
const InstructionI2
 
RC_FLAG flags
 

Detailed Description

Data structure for recording access pairs for the validation.

Definition at line 177 of file MTAResultValidator.h.

Constructor & Destructor Documentation

◆ AccessPair() [1/2]

SVF::RaceResultValidator::AccessPair::AccessPair ( const Instruction I1,
const Instruction I2,
const RC_FLAG  flags 
)
inline

Constructor.

Definition at line 181 of file MTAResultValidator.h.

◆ AccessPair() [2/2]

SVF::RaceResultValidator::AccessPair::AccessPair ( const Instruction I1,
const Instruction I2,
const RC_FLAG  flags 
)
inline

Constructor.

Definition at line 180 of file MTAResultValidator.h.

181  :
182  I1(I1), I2(I2), flags(flags)
183  {
184  }

Member Function Documentation

◆ getInstruction1() [1/2]

const Instruction* SVF::RaceResultValidator::AccessPair::getInstruction1 ( ) const
inline

Definition at line 193 of file MTAResultValidator.h.

194  {
195  return I1;
196  }

◆ getInstruction1() [2/2]

const Instruction* SVF::RaceResultValidator::AccessPair::getInstruction1 ( ) const
inline

Definition at line 192 of file MTAResultValidator.h.

193  {
194  return I1;
195  }

◆ getInstruction2() [1/2]

const Instruction* SVF::RaceResultValidator::AccessPair::getInstruction2 ( ) const
inline

Definition at line 197 of file MTAResultValidator.h.

198  {
199  return I2;
200  }

◆ getInstruction2() [2/2]

const Instruction* SVF::RaceResultValidator::AccessPair::getInstruction2 ( ) const
inline

Definition at line 196 of file MTAResultValidator.h.

197  {
198  return I2;
199  }

◆ isFlaged() [1/2]

bool SVF::RaceResultValidator::AccessPair::isFlaged ( const RC_FLAG  flag) const
inline

Class member access.

Definition at line 189 of file MTAResultValidator.h.

190  {
191  return flags & flag;
192  }

◆ isFlaged() [2/2]

bool SVF::RaceResultValidator::AccessPair::isFlaged ( const RC_FLAG  flag) const
inline

Class member access.

Definition at line 188 of file MTAResultValidator.h.

189  {
190  return flags & flag;
191  }

Member Data Documentation

◆ flags

RC_FLAG SVF::RaceResultValidator::AccessPair::flags
private

Definition at line 206 of file MTAResultValidator.h.

◆ I1

const Instruction * SVF::RaceResultValidator::AccessPair::I1
private

Definition at line 204 of file MTAResultValidator.h.

◆ I2

const Instruction * SVF::RaceResultValidator::AccessPair::I2
private

Definition at line 205 of file MTAResultValidator.h.


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