[llvm-commits] CVS: llvm/lib/VMCore/Instructions.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 14 15:20:44 PDT 2006
Changes in directory llvm/lib/VMCore:
Instructions.cpp updated: 1.34 -> 1.35
---
Log message:
Move these ctors out of line
---
Diffs of the changes: (+13 -0)
Instructions.cpp | 13 +++++++++++++
1 files changed, 13 insertions(+)
Index: llvm/lib/VMCore/Instructions.cpp
diff -u llvm/lib/VMCore/Instructions.cpp:1.34 llvm/lib/VMCore/Instructions.cpp:1.35
--- llvm/lib/VMCore/Instructions.cpp:1.34 Fri Apr 7 23:05:48 2006
+++ llvm/lib/VMCore/Instructions.cpp Fri Apr 14 17:20:32 2006
@@ -833,6 +833,12 @@
// InsertElementInst Implementation
//===----------------------------------------------------------------------===//
+InsertElementInst::InsertElementInst(const InsertElementInst &IE)
+ : Instruction(IE.getType(), InsertElement, Ops, 3) {
+ Ops[0].init(IE.Ops[0], this);
+ Ops[1].init(IE.Ops[1], this);
+ Ops[2].init(IE.Ops[2], this);
+}
InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index,
const std::string &Name,
Instruction *InsertBef)
@@ -874,6 +880,13 @@
// ShuffleVectorInst Implementation
//===----------------------------------------------------------------------===//
+ShuffleVectorInst::ShuffleVectorInst(const ShuffleVectorInst &SV)
+ : Instruction(SV.getType(), ShuffleVector, Ops, 3) {
+ Ops[0].init(SV.Ops[0], this);
+ Ops[1].init(SV.Ops[1], this);
+ Ops[2].init(SV.Ops[2], this);
+}
+
ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask,
const std::string &Name,
Instruction *InsertBefore)
More information about the llvm-commits
mailing list