Add FunctionEmitContext::MemcpyInst()

This commit is contained in:
Matt Pharr
2012-02-14 13:43:59 -08:00
parent 9e682362e9
commit c63d139482
2 changed files with 36 additions and 0 deletions

6
ctx.h
View File

@@ -445,6 +445,12 @@ public:
void StoreInst(llvm::Value *value, llvm::Value *ptr,
llvm::Value *storeMask, const Type *ptrType);
/** Copy count bytes of memory from the location pointed to by src to
the location pointed to by dest. (src and dest must not be
overlapping.) */
void MemcpyInst(llvm::Value *dest, llvm::Value *src, llvm::Value *count,
llvm::Value *align = NULL);
void BranchInst(llvm::BasicBlock *block);
void BranchInst(llvm::BasicBlock *trueBlock, llvm::BasicBlock *falseBlock,
llvm::Value *test);