LLVM API Documentation
#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"
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 DEBUG_TYPE "mem2reg" |
Definition at line 25 of file Mem2Reg.cpp.
INITIALIZE_PASS_BEGIN | ( | PromotePass | , |
"mem2reg" | , | ||
"Promote Memory to Register" | , | ||
false | , | ||
false | |||
) |
STATISTIC | ( | NumPromoted | , |
"Number of alloca's promoted" | |||
) |
Definition at line 58 of file Mem2Reg.cpp.
Definition at line 58 of file Mem2Reg.cpp.
Definition at line 58 of file Mem2Reg.cpp.
Referenced by llvm::RegisterSDNode::classof(), DecodeDDDDRegisterClass(), DecodeDDDRegisterClass(), DecodeDDRegisterClass(), DecodeDPairRegisterClass(), DecodeDPairSpacedRegisterClass(), DecodeDPRRegisterClass(), DecodeFPR128RegisterClass(), DecodeFPR16RegisterClass(), DecodeFPR32RegisterClass(), DecodeFPR64RegisterClass(), DecodeFPR8RegisterClass(), DecodeGPR32RegisterClass(), DecodeGPR32spRegisterClass(), DecodeGPR64RegisterClass(), DecodeGPR64spRegisterClass(), DecodeGPRRegisterClass(), DecodeQPRRegisterClass(), DecodeQQQQRegisterClass(), DecodeQQQRegisterClass(), DecodeQQRegisterClass(), DecodeSPRRegisterClass(), DecodetcGPRRegisterClass(), DecodeVectorRegisterClass(), and llvm::R600TargetLowering::LowerFormalArguments().