LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 dependency graph for LowerAllocations.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createLowerAllocationsPass ()
static ConstantgetSizeof (const Type *Ty)


Function Documentation

static Constant* getSizeof const Type Ty  )  [static]
 

Definition at line 75 of file LowerAllocations.cpp.

References llvm::ISD::Ret.


Variable Documentation

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

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