Lines Matching refs:V1
1528 ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask,
1531 : Instruction(VectorType::get(cast<VectorType>(V1->getType())->getElementType(),
1537 assert(isValidOperands(V1, V2, Mask) &&
1539 Op<0>() = V1;
1545 ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask,
1548 : Instruction(VectorType::get(cast<VectorType>(V1->getType())->getElementType(),
1554 assert(isValidOperands(V1, V2, Mask) &&
1557 Op<0>() = V1;
1563 bool ShuffleVectorInst::isValidOperands(const Value *V1, const Value *V2,
1565 // V1 and V2 must be vectors of the same type.
1566 if (!V1->getType()->isVectorTy() || V1->getType() != V2->getType())
1579 unsigned V1Size = cast<VectorType>(V1->getType())->getNumElements();
1593 unsigned V1Size = cast<VectorType>(V1->getType())->getNumElements();