LLVM  3.7.0
Macros | Functions
LazyCallGraph.cpp File Reference
#include "llvm/Analysis/LazyCallGraph.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/InstVisitor.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for LazyCallGraph.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "lcg"
 

Functions

static void findCallees (SmallVectorImpl< Constant * > &Worklist, SmallPtrSetImpl< Constant * > &Visited, SmallVectorImpl< PointerUnion< Function *, LazyCallGraph::Node * >> &Callees, DenseMap< Function *, size_t > &CalleeIndexMap)
 
static void printNodes (raw_ostream &OS, LazyCallGraph::Node &N, SmallPtrSetImpl< LazyCallGraph::Node * > &Printed)
 
static void printSCC (raw_ostream &OS, LazyCallGraph::SCC &SCC)
 

Macro Definition Documentation

#define DEBUG_TYPE   "lcg"

Definition at line 21 of file LazyCallGraph.cpp.

Function Documentation

static void findCallees ( SmallVectorImpl< Constant * > &  Worklist,
SmallPtrSetImpl< Constant * > &  Visited,
SmallVectorImpl< PointerUnion< Function *, LazyCallGraph::Node * >> &  Callees,
DenseMap< Function *, size_t > &  CalleeIndexMap 
)
static
static void printNodes ( raw_ostream OS,
LazyCallGraph::Node N,
SmallPtrSetImpl< LazyCallGraph::Node * > &  Printed 
)
static
static void printSCC ( raw_ostream OS,
LazyCallGraph::SCC SCC 
)
static