diff options
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 18 | 
1 files changed, 7 insertions, 11 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 5a794c511ee..941dca82abd 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -98,6 +98,10 @@ 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 @@ -287,17 +291,9 @@ public:    llvm::Value *getBuiltinLibFunction(const FunctionDecl *FD,                                       unsigned BuiltinID); -  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 *getMemCpyFn(); +  llvm::Function *getMemMoveFn(); +  llvm::Function *getMemSetFn();    llvm::Function *getIntrinsic(unsigned IID, const llvm::Type **Tys = 0,                                 unsigned NumTys = 0);  | 

