15#ifndef BREAKCONSTANTGEPS_H
16#define BREAKCONSTANTGEPS_H
42 return "Remove Constant GEP Expressions";
66 return "unify function exit into one dummy exit basic block";
79 if(fun.isDeclaration())
87 assert(!
fn.isDeclaration() &&
"external function does not have DF");
llvm::StringRef getPassName() const
virtual bool runOnModule(Module &M)
UnifyFunctionExitNodes * getUnifyExit(const Function &fn)
Get Unified Exit basic block node.
llvm::StringRef getPassName() const
void UnifyFunctionExit(Module &module)
virtual bool runOnModule(Module &M)
llvm::IRBuilder IRBuilder
llvm::ModulePass ModulePass
llvm::UnifyFunctionExitNodes UnifyFunctionExitNodes