LLVM API Documentation

DataStructureStats.cpp File Reference

#include "llvm/Analysis/DataStructure/DataStructure.h"
#include "llvm/Analysis/DataStructure/DSGraph.h"
#include "llvm/Function.h"
#include "llvm/Instructions.h"
#include "llvm/Pass.h"
#include "llvm/Support/InstVisitor.h"
#include "llvm/ADT/Statistic.h"
#include <iostream>

Include dependency graph for DataStructureStats.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createDataStructureStatsPass ()
static bool isIndirectCallee (Value *V)

Variables

Statistic TotalNumCallees ("totalcallees","Total number of callee functions at all indirect call sites")
Statistic NumIndirectCalls ("numindirect","Total number of indirect call sites in the program")
Statistic NumPoolNodes ("numpools","Number of allocation nodes that could be pool allocated")
Statistic NumTypedMemAccesses ("numtypedmemaccesses","Number of loads/stores which are fully typed")
Statistic NumUntypedMemAccesses ("numuntypedmemaccesses","Number of loads/stores which are untyped")
static RegisterAnalysis< DSGraphStats > Z ("dsstats","DS Graph Statistics")


Function Documentation

static bool isIndirectCallee ( Value V  )  [static]

Definition at line 71 of file DataStructureStats.cpp.

References V.


Variable Documentation

Statistic NumIndirectCalls("numindirect","Total number of indirect call sites in the program") [static]

Statistic NumPoolNodes("numpools","Number of allocation nodes that could be pool allocated") [static]

Statistic NumTypedMemAccesses("numtypedmemaccesses","Number of loads/stores which are fully typed") [static]

Statistic NumUntypedMemAccesses("numuntypedmemaccesses","Number of loads/stores which are untyped") [static]

const DSGraph* TDGraph

Definition at line 42 of file DataStructureStats.cpp.

Statistic TotalNumCallees("totalcallees","Total number of callee functions at all indirect call sites") [static]

RegisterAnalysis<DSGraphStats> Z("dsstats","DS Graph Statistics") [static]