Lines Matching refs:Vec
1735 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index,
1738 : Instruction(Vec->getType(), InsertElement,
1741 assert(isValidOperands(Vec, Elt, Index) &&
1743 Op<0>() = Vec;
1749 InsertElementInst::InsertElementInst(Value *Vec, Value *Elt, Value *Index,
1752 : Instruction(Vec->getType(), InsertElement,
1755 assert(isValidOperands(Vec, Elt, Index) &&
1758 Op<0>() = Vec;
1764 bool InsertElementInst::isValidOperands(const Value *Vec, const Value *Elt,
1766 if (!Vec->getType()->isVectorTy())
1769 if (Elt->getType() != cast<VectorType>(Vec->getType())->getElementType())