LLVM API Documentation

LowerAllocations.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/Module.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Constants.h"
#include "llvm/Pass.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Target/TargetData.h"

Include dependency graph for LowerAllocations.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createLowerAllocationsPass (bool LowerMallocArgToInteger)

Variables

Statistic NumLowered ("lowerallocs","Number of allocations lowered")
FunctionMallocFunc
FunctionFreeFunc
bool LowerMallocArgToInteger
RegisterOpt< LowerAllocations > X ("lowerallocs","Lower allocations from instructions to calls")


Variable Documentation

Function* FreeFunc

Definition at line 33 of file LowerAllocations.cpp.

bool LowerMallocArgToInteger

Definition at line 34 of file LowerAllocations.cpp.

Function* MallocFunc

Definition at line 32 of file LowerAllocations.cpp.

Statistic NumLowered("lowerallocs","Number of allocations lowered") [static]

RegisterOpt<LowerAllocations> X("lowerallocs","Lower allocations from instructions to calls") [static]