Home
last modified time | relevance | path

Searched refs:PromotePass (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DMem2Reg.cpp30 struct PromotePass : public FunctionPass { struct
32 PromotePass() : FunctionPass(ID) { in PromotePass() argument
53 char PromotePass::ID = 0;
54 INITIALIZE_PASS_BEGIN(PromotePass, "mem2reg", "Promote Memory to Register",
58 INITIALIZE_PASS_END(PromotePass, "mem2reg", "Promote Memory to Register", in INITIALIZE_PASS_DEPENDENCY()
61 bool PromotePass::runOnFunction(Function &F) { in INITIALIZE_PASS_DEPENDENCY()
98 return new PromotePass(); in createPromoteMemoryToRegisterPass()