LLVM API Documentation

LowerAllocations.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.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 "llvm/Support/Compiler.h"

Include dependency graph for LowerAllocations.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "lowerallocs"

Functions

 STATISTIC (NumLowered,"Number of allocations lowered")
Pass * llvm::createLowerAllocationsPass (bool LowerMallocArgToInteger=false)

Variables

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


Define Documentation

#define DEBUG_TYPE   "lowerallocs"

Definition at line 15 of file LowerAllocations.cpp.


Function Documentation

STATISTIC ( NumLowered  ,
"Number of allocations lowered"   
)


Variable Documentation

Definition at line 36 of file LowerAllocations.cpp.

char ID [static]

Definition at line 39 of file LowerAllocations.cpp.

Definition at line 37 of file LowerAllocations.cpp.

Definition at line 35 of file LowerAllocations.cpp.

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