aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Instructions.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-11 18:11:15 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-11 18:11:15 +0000
commit3603d7a3528e6f3402ea4f7057a0b7cc5cc6488b (patch)
tree12cb35029bb25485b72a77357861dcc2b190bf02 /include/llvm/Instructions.h
parentab67e705f59d567afded845465f358b8a66ab62e (diff)
downloadexternal_llvm-3603d7a3528e6f3402ea4f7057a0b7cc5cc6488b.zip
external_llvm-3603d7a3528e6f3402ea4f7057a0b7cc5cc6488b.tar.gz
external_llvm-3603d7a3528e6f3402ea4f7057a0b7cc5cc6488b.tar.bz2
Revert 78680 until I figure out why it completely broke things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r--include/llvm/Instructions.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index 9bee045..1e1cec1 100644
--- a/include/llvm/Instructions.h
+++ b/include/llvm/Instructions.h
@@ -248,7 +248,7 @@ class LoadInst : public UnaryInstruction {
public:
LoadInst(Value *Ptr, const Twine &NameStr, Instruction *InsertBefore);
LoadInst(Value *Ptr, const Twine &NameStr, BasicBlock *InsertAtEnd);
- LoadInst(Value *Ptr, const Twine &NameStr = "", bool isVolatile = false,
+ LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile = false,
Instruction *InsertBefore = 0);
LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile,
unsigned Align, Instruction *InsertBefore = 0);
@@ -257,6 +257,13 @@ public:
LoadInst(Value *Ptr, const Twine &NameStr, bool isVolatile,
unsigned Align, BasicBlock *InsertAtEnd);
+ LoadInst(Value *Ptr, const char *NameStr, Instruction *InsertBefore);
+ LoadInst(Value *Ptr, const char *NameStr, BasicBlock *InsertAtEnd);
+ explicit LoadInst(Value *Ptr, const char *NameStr = 0,
+ bool isVolatile = false, Instruction *InsertBefore = 0);
+ LoadInst(Value *Ptr, const char *NameStr, bool isVolatile,
+ BasicBlock *InsertAtEnd);
+
/// isVolatile - Return true if this is a load from a volatile memory
/// location.
///