LLVM API Documentation
#include "llvm/Transforms/Scalar.h"#include "llvm/Transforms/Utils/PromoteMemToReg.h"#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"#include "llvm/Analysis/Dominators.h"#include "llvm/Instructions.h"#include "llvm/Function.h"#include "llvm/ADT/Statistic.h"#include "llvm/Support/Compiler.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "mem2reg" |
Functions | |
| STATISTIC (NumPromoted,"Number of alloca's promoted") | |
| FunctionPass * | llvm::createPromoteMemoryToRegisterPass () |
Variables | |
| static RegisterPass< PromotePass > | X ("mem2reg","Promote Memory to Register") |
| #define DEBUG_TYPE "mem2reg" |
Definition at line 15 of file Mem2Reg.cpp.
| STATISTIC | ( | NumPromoted | , | |
| "Number of alloca's promoted" | ||||
| ) |
char ID [static] |
Definition at line 30 of file Mem2Reg.cpp.
RegisterPass<PromotePass> X("mem2reg","Promote Memory to Register") [static] |