LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
Reg2Mem.cpp File Reference
#include "llvm/Transforms/Scalar.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/CFG.h"
#include "llvm/Transforms/Utils/Local.h"
#include <list>
Include dependency graph for Reg2Mem.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "reg2mem"
 

Functions

 STATISTIC (NumRegsDemoted,"Number of registers demoted")
 
 STATISTIC (NumPhisDemoted,"Number of phi-nodes demoted")
 
 INITIALIZE_PASS_BEGIN (RegToMem,"reg2mem","Demote all values to stack slots", false, false) INITIALIZE_PASS_END(RegToMem
 

Variables

 reg2mem
 
Demote all values to stack slots
 
Demote all values to stack false
 

Macro Definition Documentation

#define DEBUG_TYPE   "reg2mem"

Definition at line 19 of file Reg2Mem.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( RegToMem  ,
"reg2mem"  ,
"Demote all values to stack slots ,
false  ,
false   
)
STATISTIC ( NumRegsDemoted  ,
"Number of registers demoted"   
)
STATISTIC ( NumPhisDemoted  ,
"Number of phi-nodes demoted"   
)

Variable Documentation

Demote all values to stack false

Definition at line 67 of file Reg2Mem.cpp.

reg2mem

Definition at line 67 of file Reg2Mem.cpp.

Demote all values to stack slots

Definition at line 67 of file Reg2Mem.cpp.