Home | History | Annotate | Download | only in IR

Lines Matching refs:V1

1705 ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask,
1708 : Instruction(VectorType::get(cast<VectorType>(V1->getType())->getElementType(),
1714 assert(isValidOperands(V1, V2, Mask) &&
1716 Op<0>() = V1;
1722 ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask,
1725 : Instruction(VectorType::get(cast<VectorType>(V1->getType())->getElementType(),
1731 assert(isValidOperands(V1, V2, Mask) &&
1734 Op<0>() = V1;
1740 bool ShuffleVectorInst::isValidOperands(const Value *V1, const Value *V2,
1742 // V1 and V2 must be vectors of the same type.
1743 if (!V1->getType()->isVectorTy() || V1->getType() != V2->getType())
1756 unsigned V1Size = cast<VectorType>(V1->getType())->getNumElements();
1770 unsigned V1Size = cast<VectorType>(V1->getType())->getNumElements();