Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Friends | List of all members
SVF::ICFGWriter Class Reference

#include <SVFFileSystem.h>

Inheritance diagram for SVF::ICFGWriter:
SVF::GenericGraphWriter< NodeTy, EdgeTy >

Public Member Functions

 ICFGWriter (const ICFG *icfg)
 
size_t getSvfLoopID (const SVFLoop *loop)
 
- Public Member Functions inherited from SVF::GenericGraphWriter< NodeTy, EdgeTy >
 GenericGraphWriter (const GraphType *graph)
 
size_t getEdgeID (const EdgeType *edge)
 

Private Attributes

WriterPtrPool< SVFLoopsvfLoopPool
 

Friends

class SVFIRWriter
 

Detailed Description

Definition at line 325 of file SVFFileSystem.h.

Constructor & Destructor Documentation

◆ ICFGWriter()

SVF::ICFGWriter::ICFGWriter ( const ICFG icfg)

Definition at line 952 of file SVFFileSystem.cpp.

952 : GenericICFGWriter(icfg)
953{
954 for (const auto& pair : icfg->getIcfgNodeToSVFLoopVec())
955 {
956 for (const SVFLoop* loop : pair.second)
957 {
958 svfLoopPool.saveID(loop);
959 }
960 }
961}
WriterPtrPool< SVFLoop > svfLoopPool
GenericGraphWriter< ICFGNode, ICFGEdge > GenericICFGWriter
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:74

Member Function Documentation

◆ getSvfLoopID()

size_t SVF::ICFGWriter::getSvfLoopID ( const SVFLoop loop)
inline

Definition at line 335 of file SVFFileSystem.h.

336 {
337 return svfLoopPool.getID(loop);
338 }

Friends And Related Symbol Documentation

◆ SVFIRWriter

Definition at line 327 of file SVFFileSystem.h.

Member Data Documentation

◆ svfLoopPool

WriterPtrPool<SVFLoop> SVF::ICFGWriter::svfLoopPool
private

Definition at line 330 of file SVFFileSystem.h.


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