diff options
author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2008-02-19 22:01:01 +0000 |
---|---|---|
committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2008-02-19 22:01:01 +0000 |
commit | 41ef30e869d3f4940437503eb6a2cf70819fdb08 (patch) | |
tree | 03e0df965003e291e2acfc4142b73a64cbc19488 /CodeGen/CodeGenModule.h | |
parent | 1caf26aa84a95abcd9d48bc08f9919d7ede07e9e (diff) |
Implement CodeGenModule::getMemSetFn method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenModule.h')
-rw-r--r-- | CodeGen/CodeGenModule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CodeGen/CodeGenModule.h b/CodeGen/CodeGenModule.h index 92060887af..48283c53a6 100644 --- a/CodeGen/CodeGenModule.h +++ b/CodeGen/CodeGenModule.h @@ -52,6 +52,7 @@ class CodeGenModule { CodeGenTypes Types; llvm::Function *MemCpyFn; + llvm::Function *MemSetFn; llvm::DenseMap<const Decl*, llvm::Constant*> GlobalDeclMap; llvm::StringMap<llvm::Constant*> CFConstantStringMap; @@ -85,6 +86,7 @@ public: /// array containing the literal. The result is pointer to array type. llvm::Constant *GetAddrOfConstantString(const std::string& str); llvm::Function *getMemCpyFn(); + llvm::Function *getMemSetFn(); llvm::Function *getIntrinsic(unsigned IID, const llvm::Type **Tys = 0, unsigned NumTys = 0); |