Lines Matching defs:VTy

1759   llvm::VectorType *VTy = cast<llvm::VectorType>(Ty);
1760 llvm::Constant *C = ConstantInt::get(VTy->getElementType(), neg ? -SV : SV);
1761 return llvm::ConstantVector::getSplat(VTy->getNumElements(), C);
1768 llvm::VectorType *VTy = cast<llvm::VectorType>(Ty);
1771 int EltSize = VTy->getScalarSizeInBits();
1780 llvm::Constant *Zero = ConstantInt::get(VTy->getElementType(), 0);
1781 return llvm::ConstantVector::getSplat(VTy->getNumElements(), Zero);
1786 Shift = ConstantInt::get(VTy->getElementType(), ShiftAmt);
2550 llvm::VectorType *VTy = GetNeonType(this, Type);
2551 llvm::Type *Ty = VTy;
2563 if (VTy->getElementType()->isFloatingPointTy())
2568 llvm::VectorType::getExtendedElementVectorType(VTy);
2578 ShiftAmt = ConstantVector::getSplat(VTy->getNumElements(), ShiftAmt);
2582 return Builder.CreateTrunc(Ops[0], VTy, "vaddhn");
2594 VTy->getScalarSizeInBits() == 32 ? FloatTy : DoubleTy,
2595 VTy->getNumElements());
2596 llvm::Type *Tys[] = { VTy, VecFlt };
2617 (cast<llvm::IntegerType>(VTy->getElementType())->getBitWidth() == 64);
2636 (cast<llvm::IntegerType>(VTy->getElementType())->getBitWidth() == 64);
2654 (cast<llvm::IntegerType>(VTy->getElementType())->getBitWidth() == 64);
2696 (cast<llvm::IntegerType>(VTy->getElementType())->getBitWidth() == 64);
2708 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i)
2745 Ty = llvm::PointerType::getUnqual(VTy->getElementType());
2769 llvm::Type *DTy =llvm::VectorType::getTruncatedElementVectorType(VTy);
2776 llvm::Type *QTy = llvm::VectorType::getExtendedElementVectorType(VTy);
2792 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
2796 llvm::VectorType::get(EltTy, VTy->getNumElements() * 2);
2803 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits();
2806 llvm::VectorType::get(EltTy, VTy->getNumElements() * 2);
2839 llvm::Type *SrcTy = llvm::VectorType::getTruncatedElementVectorType(VTy);
2842 Ops[0] = Builder.CreateZExt(Ops[0], VTy);
2844 Ops[0] = Builder.CreateSExt(Ops[0], VTy);
2845 Ops[1] = EmitNeonShiftVector(Ops[1], VTy, false);
2849 llvm::Type *SrcTy = llvm::VectorType::getExtendedElementVectorType(VTy);
2879 llvm::VectorType::getExtendedElementVectorType(VTy);
2889 ShiftAmt = ConstantVector::getSplat(VTy->getNumElements(), ShiftAmt);
2893 return Builder.CreateTrunc(Ops[0], VTy, "vsubhn");
2904 for (unsigned i = 0, e = VTy->getNumElements(); i != e; i += 2) {
2933 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i)
2952 for (unsigned i = 0, e = VTy->getNumElements(); i != e; i += 2) {
3381 llvm::VectorType *VTy = GetNeonType(this, Type);
3382 llvm::Type *Ty = VTy;
3402 if (VTy->getElementType()->isIntegerTy(64)) {
3409 Ty = llvm::VectorType::get(VTy->getElementType(), 1);
3422 Ty = llvm::PointerType::getUnqual(VTy->getElementType());
3432 if (VTy->getElementType()->getPrimitiveSizeInBits() == 64) {
3541 if (VTy->getElementType()->isIntegerTy(64)) {
3633 llvm::VectorType *VTy = GetNeonType(&CGF, Type);
3634 llvm::Type *Ty = VTy;
3638 unsigned nElts = VTy->getNumElements();
3677 llvm::Constant *Eight = ConstantInt::get(VTy->getElementType(), 8);
3699 llvm::Constant *TwentyFour = ConstantInt::get(VTy->getElementType(), 24);
3752 llvm::Type *VTy = llvm::VectorType::get(Int16Ty, 4);
3754 Value *V = UndefValue::get(VTy);
3761 llvm::Type *VTy = llvm::VectorType::get(Int8Ty, 8);
3763 Value *V = UndefValue::get(VTy);
3779 llvm::Type *VTy = llvm::VectorType::get(Int8Ty, 8);
3780 Value *V = EmitNeonCall(CGM.getIntrinsic(Int, VTy), Ops, Name);
3795 llvm::Type *VTy = llvm::VectorType::get(Int16Ty, 4);
3796 Value *V = EmitNeonCall(CGM.getIntrinsic(Int, VTy), Ops, Name);
4306 llvm::Type *VTy = llvm::VectorType::get(Int32Ty, 4);
4307 Ops[1] = EmitNeonCall(CGM.getIntrinsic(Intrinsic::aarch64_neon_sqdmull, VTy),
4403 llvm::Type *VTy = llvm::VectorType::get(Int32Ty, 4);
4404 Ops[1] = EmitNeonCall(CGM.getIntrinsic(Intrinsic::aarch64_neon_sqdmull, VTy),
4452 llvm::VectorType *VTy = GetNeonType(this, Type);
4453 llvm::Type *Ty = VTy;
4475 llvm::Type *BitTy = llvm::VectorType::getInteger(VTy);
4498 llvm::VectorType::get(VTy->getElementType(), VTy->getNumElements() / 2) :
4499 VTy;
4501 Value *SV = llvm::ConstantVector::getSplat(VTy->getNumElements(), cst);
4510 llvm::VectorType *VTy = cast<llvm::VectorType>(Ty);
4512 if (VTy && VTy->getElementType() == DoubleTy) {
4515 llvm::Type *VTy = GetNeonType(this,
4517 Ops[2] = Builder.CreateBitCast(Ops[2], VTy);
4527 llvm::Type *STy = llvm::VectorType::get(VTy->getElementType(),
4528 VTy->getNumElements() * 2);
4530 Value* SV = llvm::ConstantVector::getSplat(VTy->getNumElements(),
4566 Ops[1] = Builder.CreateBitCast(Ops[1], VTy);
4596 unsigned ArgElts = VTy->getNumElements();
4597 llvm::IntegerType *EltTy = cast<IntegerType>(VTy->getElementType());
4601 llvm::Type* Tys[2] = { VTy, ArgTy };
4762 (cast<llvm::IntegerType>(VTy->getElementType())->getBitWidth() == 64);
4782 (cast<llvm::IntegerType>(VTy->getElementType())->getBitWidth() == 64);
4800 (cast<llvm::IntegerType>(VTy->getElementType())->getBitWidth() == 64);
4818 (cast<llvm::IntegerType>(VTy->getElementType())->getBitWidth() == 64);
4836 (cast<llvm::IntegerType>(VTy->getElementType())->getBitWidth() == 64);
4856 llvm::Type *VTy = GetNeonType(this,
4858 Ops[1] = Builder.CreateBitCast(Ops[1], VTy);
4893 VTy =
4895 llvm::Type *Tys[2] = { Ty, VTy };
4907 VTy =
4909 llvm::Type *Tys[2] = { Ty, VTy };
4921 VTy =
4923 llvm::Type *Tys[2] = { Ty, VTy };
4935 VTy =
4937 llvm::Type *Tys[2] = { Ty, VTy };
4946 VTy =
4948 llvm::Type *Tys[2] = { Ty, VTy };
4957 VTy =
4959 llvm::Type *Tys[2] = { Ty, VTy };
4968 VTy =
4970 llvm::Type *Tys[2] = { Ty, VTy };
4979 VTy =
4981 llvm::Type *Tys[2] = { Ty, VTy };
4990 VTy =
4992 llvm::Type *Tys[2] = { Ty, VTy };
5001 VTy =
5003 llvm::Type *Tys[2] = { Ty, VTy };
5012 VTy =
5014 llvm::Type *Tys[2] = { Ty, VTy };
5023 VTy =
5025 llvm::Type *Tys[2] = { Ty, VTy };
5034 VTy =
5036 llvm::Type *Tys[2] = { Ty, VTy };
5045 VTy =
5047 llvm::Type *Tys[2] = { Ty, VTy };
5056 VTy =
5058 llvm::Type *Tys[2] = { Ty, VTy };
5067 VTy =
5069 llvm::Type *Tys[2] = { Ty, VTy };
5078 VTy =
5080 llvm::Type *Tys[2] = { Ty, VTy };
5089 VTy =
5091 llvm::Type *Tys[2] = { Ty, VTy };
5100 VTy =
5102 llvm::Type *Tys[2] = { Ty, VTy };
5111 VTy =
5113 llvm::Type *Tys[2] = { Ty, VTy };
5127 VTy =
5129 llvm::Type *Tys[2] = { Ty, VTy };
5138 VTy =
5140 llvm::Type *Tys[2] = { Ty, VTy };
5147 VTy =
5149 llvm::Type *Tys[2] = { Ty, VTy };
5158 VTy =
5160 llvm::Type *Tys[2] = { Ty, VTy };
5167 VTy =
5169 llvm::Type *Tys[2] = { Ty, VTy };
5178 VTy =
5180 llvm::Type *Tys[2] = { Ty, VTy };
5187 VTy =
5189 llvm::Type *Tys[2] = { Ty, VTy };
5198 VTy =
5200 llvm::Type *Tys[2] = { Ty, VTy };
5229 Ops[0] = Builder.CreateBitCast(Ops[0], VTy);
5240 llvm::Type *PTy = llvm::PointerType::getUnqual(VTy->getVectorElementType());
5242 llvm::Type *Tys[2] = { VTy, PTy };
5270 llvm::Type *PTy = llvm::PointerType::getUnqual(VTy->getVectorElementType());
5271 llvm::Type *Tys[2] = { VTy, PTy };
5293 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(VTy));
5297 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(VTy));
5298 Ops[1] = Builder.CreateBitCast(Ops[1], VTy);
5303 Ty = llvm::PointerType::getUnqual(VTy->getElementType());
5310 Ty = llvm::PointerType::getUnqual(VTy->getElementType());
5325 llvm::Type *PTy = llvm::PointerType::getUnqual(VTy);
5327 llvm::Type *Tys[2] = { VTy, PTy };
5336 llvm::Type *PTy = llvm::PointerType::getUnqual(VTy);
5338 llvm::Type *Tys[2] = { VTy, PTy };
5347 llvm::Type *PTy = llvm::PointerType::getUnqual(VTy);
5349 llvm::Type *Tys[2] = { VTy, PTy };
5359 llvm::PointerType::getUnqual(VTy->getElementType());
5361 llvm::Type *Tys[2] = { VTy, PTy };
5371 llvm::PointerType::getUnqual(VTy->getElementType());
5373 llvm::Type *Tys[2] = { VTy, PTy };
5383 llvm::PointerType::getUnqual(VTy->getElementType());
5385 llvm::Type *Tys[2] = { VTy, PTy };
5394 llvm::Type *Tys[2] = { VTy, Ops[1]->getType() };
5410 llvm::Type *Tys[2] = { VTy, Ops[1]->getType() };
5427 llvm::Type *Tys[2] = { VTy, Ops[1]->getType() };
5447 llvm::Type *Tys[2] = { VTy, Ops[2]->getType() };
5457 llvm::Type *Tys[2] = { VTy, Ops[3]->getType() };
5465 llvm::Type *Tys[2] = { VTy, Ops[3]->getType() };
5475 llvm::Type *Tys[2] = { VTy, Ops[4]->getType() };
5483 llvm::Type *Tys[2] = { VTy, Ops[4]->getType() };
5493 llvm::Type *Tys[2] = { VTy, Ops[5]->getType() };
5506 for (unsigned i = 0, e = VTy->getNumElements(); i != e; i += 2) {
5526 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i)
5545 for (unsigned i = 0, e = VTy->getNumElements(); i != e; i += 2) {