LLVM 20.0.0git
|
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. | |
void | DeleteNode (CallGraphNode *Old) |
DeleteNode - This informs the SCC and the pass manager that the specified Old node has been deleted. | |
iterator | begin () const |
iterator | end () const |
const CallGraph & | getCallGraph () |
CallGraphSCC - This is a single SCC that a CallGraphSCCPass is run on.
Definition at line 87 of file CallGraphSCCPass.h.
using llvm::CallGraphSCC::iterator = std::vector<CallGraphNode *>::const_iterator |
Definition at line 110 of file CallGraphSCCPass.h.
|
inline |
Definition at line 93 of file CallGraphSCCPass.h.
|
inline |
Definition at line 112 of file CallGraphSCCPass.h.
void CallGraphSCC::DeleteNode | ( | CallGraphNode * | Old | ) |
DeleteNode - This informs the SCC and the pass manager that the specified Old node has been deleted.
Definition at line 603 of file CallGraphSCCPass.cpp.
References ReplaceNode().
|
inline |
Definition at line 113 of file CallGraphSCCPass.h.
Definition at line 115 of file CallGraphSCCPass.h.
|
inline |
Definition at line 95 of file CallGraphSCCPass.h.
References llvm::ArrayRef< T >::begin(), and llvm::ArrayRef< T >::end().
|
inline |
Definition at line 99 of file CallGraphSCCPass.h.
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 585 of file CallGraphSCCPass.cpp.
References assert(), and llvm::scc_iterator< GraphT, GT >::ReplaceNode().
Referenced by DeleteNode().
|
inline |
Definition at line 100 of file CallGraphSCCPass.h.