tipc
A TIP to LLVM compiler
|
#include "ASTVisitor.h"
#include "CallGraphBuilder.h"
#include "SymbolTable.h"
#include "treetypes/AST.h"
#include <map>
#include <set>
#include <vector>
Go to the source code of this file.
Classes | |
class | CallGraph |
Performs control flow analysis and records results for subsequent phases Generates call graph of a program that represents calling relationships between subroutines in a computer program. Each node represents a subroutine and each edge (a1, a0) indicates that procedure a1 calls procedure a0. A cycle in the graph indicates recursive procedure calls, e.g., a0 -> a0 indicates that a0 calls itself recursively this call graph is sometimes approximations. Not all the call relationship that exist in the graph will occur in the actual runs of the program. More... | |