LLVM API Documentation

CallGraph.cpp File Reference

#include "llvm/Analysis/CallGraph.h"
#include "llvm/Module.h"
#include "llvm/Instructions.h"
#include "llvm/Support/CallSite.h"
#include <iostream>

Include dependency graph for CallGraph.cpp:

Go to the source code of this file.

Functions

static bool isOnlyADirectCall (Function *F, CallSite CS)

Variables

RegisterAnalysisGroup< CallGraphX ("Call Graph")
RegisterOpt< BasicCallGraph > Y ("basiccg","Basic CallGraph Construction")
RegisterAnalysisGroup< CallGraph,
BasicCallGraph, true > 
Z


Function Documentation

static bool isOnlyADirectCall ( Function F,
CallSite  CS 
) [static]

Definition at line 22 of file CallGraph.cpp.

References llvm::CallSite::arg_begin(), llvm::CallSite::arg_end(), E, F, and llvm::CallSite::getInstruction().


Variable Documentation

CallGraphNode* CallsExternalNode

Definition at line 46 of file CallGraph.cpp.

CallGraphNode* ExternalCallingNode

Definition at line 42 of file CallGraph.cpp.

CallGraphNode* Root

Definition at line 38 of file CallGraph.cpp.

Referenced by AssociativeOpt(), llvm::ScheduleDAG::CalculateHeights(), llvm::SelectionDAGLowering::getLoadFrom(), llvm::SelectionDAGLowering::getRoot(), LowerFORMAL_ARGUMENT(), LowerFORMAL_ARGUMENTS(), llvm::PostDominanceFrontier::runOnFunction(), llvm::DominatorSet::runOnFunction(), llvm::ImmediateDominators::runOnFunction(), and llvm::SelectionDAGLowering::visitLoad().

RegisterAnalysisGroup<CallGraph> X("Call Graph") [static]

RegisterOpt<BasicCallGraph> Y("basiccg","Basic CallGraph Construction") [static]

RegisterAnalysisGroup<CallGraph, BasicCallGraph, true> Z [static]

Definition at line 186 of file CallGraph.cpp.