LLVM API Documentation

Defines | Functions | Variables
Mem2Reg.cpp File Reference
#include "llvm/Transforms/Scalar.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AssumptionTracker.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/Transforms/Utils/PromoteMemToReg.h"
#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"
Include dependency graph for Mem2Reg.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "mem2reg"

Functions

 STATISTIC (NumPromoted,"Number of alloca's promoted")
 INITIALIZE_PASS_BEGIN (PromotePass,"mem2reg","Promote Memory to Register", false, false) INITIALIZE_PASS_END(PromotePass

Variables

 mem2reg
Promote Memory to Register
Promote Memory to false

Define Documentation

#define DEBUG_TYPE   "mem2reg"

Definition at line 25 of file Mem2Reg.cpp.


Function Documentation

INITIALIZE_PASS_BEGIN ( PromotePass  ,
"mem2reg"  ,
"Promote Memory to Register ,
false  ,
false   
)
STATISTIC ( NumPromoted  ,
"Number of alloca's promoted"   
)

Variable Documentation

Promote Memory to false

Definition at line 58 of file Mem2Reg.cpp.

Definition at line 58 of file Mem2Reg.cpp.

Promote Memory to Register