LLVM API Documentation

Reg2Mem.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Pass.h"
#include "llvm/Function.h"
#include "llvm/Module.h"
#include "llvm/BasicBlock.h"
#include "llvm/Instructions.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/CFG.h"
#include <list>

Include dependency graph for Reg2Mem.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "reg2mem"

Functions

 STATISTIC (NumRegsDemoted,"Number of registers demoted")
 STATISTIC (NumPhisDemoted,"Number of phi-nodes demoted")
FunctionPassllvm::createDemoteRegisterToMemoryPass ()

Variables

static RegisterPass< RegToMem > X ("reg2mem","Demote all values to stack slots")


Define Documentation

#define DEBUG_TYPE   "reg2mem"

Definition at line 19 of file Reg2Mem.cpp.


Function Documentation

STATISTIC ( NumPhisDemoted  ,
"Number of phi-nodes demoted"   
)

STATISTIC ( NumRegsDemoted  ,
"Number of registers demoted"   
)


Variable Documentation

char ID [static]

Definition at line 38 of file Reg2Mem.cpp.

RegisterPass<RegToMem> X("reg2mem","Demote all values to stack slots") [static]




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.