LLVM API Documentation

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

Mem2Reg.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/PromoteMemToReg.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Instructions.h"
#include "llvm/Function.h"
#include "llvm/Target/TargetData.h"
#include "llvm/ADT/Statistic.h"

Include dependency graph for Mem2Reg.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createPromoteMemoryToRegister ()


Variable Documentation

Statistic NumPromoted("mem2reg","Number of alloca's promoted") [static]
 

RegisterOpt<PromotePass> X("mem2reg","Promote Memory to Register") [static]