diff options
author | Dan Gohman <djg@cray.com> | 2007-07-18 20:51:11 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2007-07-18 20:51:11 +0000 |
commit | e59e58d1e731528cc2882bef0e2295068a454d0e (patch) | |
tree | 1a419123f2b034c94ededc8a5f03225cd3caf85b /include | |
parent | 4a4f15122d4db278e4004971ba91e0020ef56ef6 (diff) | |
download | external_llvm-e59e58d1e731528cc2882bef0e2295068a454d0e.zip external_llvm-e59e58d1e731528cc2882bef0e2295068a454d0e.tar.gz external_llvm-e59e58d1e731528cc2882bef0e2295068a454d0e.tar.bz2 |
Add constructor overloads for LoadInst and StoreInst that insert at the
end of a BasicBlock and have an alignment parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Instructions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index b501b8e..2f001c6 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -235,6 +235,8 @@ public: Instruction *InsertBefore = 0); LoadInst(Value *Ptr, const std::string &Name, bool isVolatile, BasicBlock *InsertAtEnd); + LoadInst(Value *Ptr, const std::string &Name, bool isVolatile, unsigned Align, + BasicBlock *InsertAtEnd); LoadInst(Value *Ptr, const char *Name, Instruction *InsertBefore); LoadInst(Value *Ptr, const char *Name, BasicBlock *InsertAtEnd); @@ -307,6 +309,8 @@ public: StoreInst(Value *Val, Value *Ptr, bool isVolatile, unsigned Align, Instruction *InsertBefore = 0); StoreInst(Value *Val, Value *Ptr, bool isVolatile, BasicBlock *InsertAtEnd); + StoreInst(Value *Val, Value *Ptr, bool isVolatile, + unsigned Align, BasicBlock *InsertAtEnd); /// isVolatile - Return true if this is a load from a volatile memory |