LLVM 22.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 |
LLVM_ABI 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. | |
LLVM_ABI 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 83 of file CallGraphSCCPass.h.
using llvm::CallGraphSCC::iterator = std::vector<CallGraphNode *>::const_iterator |
Definition at line 106 of file CallGraphSCCPass.h.
|
inline |
Definition at line 89 of file CallGraphSCCPass.h.
|
inline |
Definition at line 108 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 601 of file CallGraphSCCPass.cpp.
References ReplaceNode().
|
inline |
Definition at line 109 of file CallGraphSCCPass.h.
Definition at line 111 of file CallGraphSCCPass.h.
|
inline |
Definition at line 91 of file CallGraphSCCPass.h.
References llvm::ArrayRef< T >::begin(), and llvm::ArrayRef< T >::end().
|
inline |
Definition at line 95 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 583 of file CallGraphSCCPass.cpp.
References assert(), and llvm::scc_iterator< GraphT, GT >::ReplaceNode().
Referenced by DeleteNode().
|
inline |
Definition at line 96 of file CallGraphSCCPass.h.