LLVM  6.0.0svn
Public Types | Public Member Functions | List of all members
llvm::CallGraphSCC Class Reference

CallGraphSCC - This is a single SCC that a CallGraphSCCPass is run on. More...

#include "llvm/Analysis/CallGraphSCCPass.h"

Public Types

using iterator = std::vector< CallGraphNode * >::const_iterator
 

Public Member Functions

 CallGraphSCC (CallGraph &cg, void *context)
 
void initialize (ArrayRef< CallGraphNode *> NewNodes)
 
bool isSingular () const
 
unsigned size () const
 
void ReplaceNode (CallGraphNode *Old, CallGraphNode *New)
 ReplaceNode - This informs the SCC and the pass manager that the specified Old node has been deleted, and New is to be used in its place. More...
 
iterator begin () const
 
iterator end () const
 
const CallGraphgetCallGraph ()
 

Detailed Description

CallGraphSCC - This is a single SCC that a CallGraphSCCPass is run on.

Definition at line 88 of file CallGraphSCCPass.h.

Member Typedef Documentation

◆ iterator

using llvm::CallGraphSCC::iterator = std::vector<CallGraphNode *>::const_iterator

Definition at line 107 of file CallGraphSCCPass.h.

Constructor & Destructor Documentation

◆ CallGraphSCC()

llvm::CallGraphSCC::CallGraphSCC ( CallGraph cg,
void *  context 
)
inline

Definition at line 94 of file CallGraphSCCPass.h.

Member Function Documentation

◆ begin()

iterator llvm::CallGraphSCC::begin ( ) const
inline

Definition at line 109 of file CallGraphSCCPass.h.

Referenced by createDevirtTriggerFunc(), and llvm::coro::updateCallGraph().

◆ end()

iterator llvm::CallGraphSCC::end ( ) const
inline

Definition at line 110 of file CallGraphSCCPass.h.

Referenced by createDevirtTriggerFunc(), and llvm::coro::updateCallGraph().

◆ getCallGraph()

const CallGraph& llvm::CallGraphSCC::getCallGraph ( )
inline

◆ initialize()

void llvm::CallGraphSCC::initialize ( ArrayRef< CallGraphNode *>  NewNodes)
inline

◆ isSingular()

bool llvm::CallGraphSCC::isSingular ( ) const
inline

Definition at line 100 of file CallGraphSCCPass.h.

◆ ReplaceNode()

void CallGraphSCC::ReplaceNode ( CallGraphNode Old,
CallGraphNode New 
)

ReplaceNode - This informs the SCC and the pass manager that the specified Old node has been deleted, and New is to be used in its place.

This informs the SCC and the pass manager that the specified Old node has been deleted, and New is to be used in its place.

Definition at line 528 of file CallGraphSCCPass.cpp.

References assert(), Context, and llvm::scc_iterator< GraphT, GT >::ReplaceNode().

◆ size()

unsigned llvm::CallGraphSCC::size ( ) const
inline

Definition at line 101 of file CallGraphSCCPass.h.


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