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 <list>

Include dependency graph for Reg2Mem.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createDemoteRegisterToMemoryPass ()

Variables

Statistic NumDemoted ("reg2mem","Number of registers demoted")
RegisterOpt< RegToMem > X ("reg2mem","Demote all values to stack slots")


Variable Documentation

Statistic NumDemoted("reg2mem","Number of registers demoted") [static]

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