LLVM API Documentation

RaiseAllocations.cpp File Reference

#include "llvm/Transforms/IPO.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
#include "llvm/Instructions.h"
#include "llvm/Pass.h"
#include "llvm/Support/CallSite.h"
#include "llvm/ADT/Statistic.h"

Include dependency graph for RaiseAllocations.cpp:

Go to the source code of this file.

Functions

ModulePassllvm::createRaiseAllocationsPass ()

Variables

Statistic NumRaised ("raiseallocs","Number of allocations raised")
RegisterOpt< RaiseAllocations > X ("raiseallocs","Raise allocations from calls to instructions")


Variable Documentation

Function* FreeFunc

Definition at line 33 of file RaiseAllocations.cpp.

Function* MallocFunc

Definition at line 32 of file RaiseAllocations.cpp.

Statistic NumRaised("raiseallocs","Number of allocations raised") [static]

RegisterOpt<RaiseAllocations> X("raiseallocs","Raise allocations from calls to instructions") [static]