From 71438373cd57f0d5d8c93bb5cf690844a0fbc9d0 Mon Sep 17 00:00:00 2001 From: rdivacky Date: Tue, 6 Apr 2010 15:53:59 +0000 Subject: Update clang to r100520. --- lib/CodeGen/CodeGenModule.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.h') diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 3c57c0b..e9f78bc 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -97,10 +97,6 @@ class CodeGenModule : public BlockModule { CGObjCRuntime* Runtime; CGDebugInfo* DebugInfo; - - llvm::Function *MemCpyFn; - llvm::Function *MemMoveFn; - llvm::Function *MemSetFn; // WeakRefReferences - A set of references that have only been seen via // a weakref so far. This is used to remove the weak of the reference if we ever @@ -290,9 +286,17 @@ public: llvm::Value *getBuiltinLibFunction(const FunctionDecl *FD, unsigned BuiltinID); - llvm::Function *getMemCpyFn(); - llvm::Function *getMemMoveFn(); - llvm::Function *getMemSetFn(); + llvm::Function *getMemCpyFn(const llvm::Type *DestType, + const llvm::Type *SrcType, + const llvm::Type *SizeType); + + llvm::Function *getMemMoveFn(const llvm::Type *DestType, + const llvm::Type *SrcType, + const llvm::Type *SizeType); + + llvm::Function *getMemSetFn(const llvm::Type *DestType, + const llvm::Type *SizeType); + llvm::Function *getIntrinsic(unsigned IID, const llvm::Type **Tys = 0, unsigned NumTys = 0); -- cgit v1.1