summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/CodeGen/CodeGenModule.h')
-rw-r--r--clang/CodeGen/CodeGenModule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/CodeGen/CodeGenModule.h b/clang/CodeGen/CodeGenModule.h
index 8e40483bd57..885fb97a9f5 100644
--- a/clang/CodeGen/CodeGenModule.h
+++ b/clang/CodeGen/CodeGenModule.h
@@ -20,6 +20,7 @@
namespace llvm {
class Module;
class Constant;
+ class Function;
}
namespace clang {
@@ -36,6 +37,7 @@ class CodeGenModule {
llvm::Module &TheModule;
CodeGenTypes Types;
+ llvm::Function *MemCpyFn;
llvm::DenseMap<const Decl*, llvm::Constant*> GlobalDeclMap;
public:
CodeGenModule(ASTContext &C, llvm::Module &M);
@@ -46,6 +48,8 @@ public:
llvm::Constant *GetAddrOfGlobalDecl(const Decl *D);
+ llvm::Function *getMemCpyFn();
+
void EmitFunction(FunctionDecl *FD);
void PrintStats() {}
OpenPOWER on IntegriCloud