• Home
  • Raw
  • Download

Lines Matching refs:VTy

2187   llvm::VectorType *VTy = cast<llvm::VectorType>(Ty);  in EmitNeonRShiftImm()  local
2190 int EltSize = VTy->getScalarSizeInBits(); in EmitNeonRShiftImm()
2199 return llvm::ConstantAggregateZero::get(VTy); in EmitNeonRShiftImm()
2204 Shift = ConstantInt::get(VTy->getElementType(), ShiftAmt); in EmitNeonRShiftImm()
2940 llvm::VectorType *VTy = GetNeonType(this, Type); in EmitCommonNeonBuiltinExpr() local
2941 llvm::Type *Ty = VTy; in EmitCommonNeonBuiltinExpr()
2957 if (VTy->getElementType()->isFloatingPointTy()) in EmitCommonNeonBuiltinExpr()
2962 llvm::VectorType::getExtendedElementVectorType(VTy); in EmitCommonNeonBuiltinExpr()
2975 return Builder.CreateTrunc(Ops[0], VTy, "vaddhn"); in EmitCommonNeonBuiltinExpr()
2987 VTy->getScalarSizeInBits() == 32 ? FloatTy : DoubleTy, in EmitCommonNeonBuiltinExpr()
2988 VTy->getNumElements()); in EmitCommonNeonBuiltinExpr()
2989 llvm::Type *Tys[] = { VTy, VecFlt }; in EmitCommonNeonBuiltinExpr()
3077 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) in EmitCommonNeonBuiltinExpr()
3118 Ty = llvm::PointerType::getUnqual(VTy->getElementType()); in EmitCommonNeonBuiltinExpr()
3142 llvm::Type *DTy =llvm::VectorType::getTruncatedElementVectorType(VTy); in EmitCommonNeonBuiltinExpr()
3149 llvm::Type *QTy = llvm::VectorType::getExtendedElementVectorType(VTy); in EmitCommonNeonBuiltinExpr()
3165 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in EmitCommonNeonBuiltinExpr()
3169 llvm::VectorType::get(EltTy, VTy->getNumElements() * 2); in EmitCommonNeonBuiltinExpr()
3176 unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); in EmitCommonNeonBuiltinExpr()
3179 llvm::VectorType::get(EltTy, VTy->getNumElements() * 2); in EmitCommonNeonBuiltinExpr()
3216 llvm::Type *SrcTy = llvm::VectorType::getTruncatedElementVectorType(VTy); in EmitCommonNeonBuiltinExpr()
3219 Ops[0] = Builder.CreateZExt(Ops[0], VTy); in EmitCommonNeonBuiltinExpr()
3221 Ops[0] = Builder.CreateSExt(Ops[0], VTy); in EmitCommonNeonBuiltinExpr()
3222 Ops[1] = EmitNeonShiftVector(Ops[1], VTy, false); in EmitCommonNeonBuiltinExpr()
3226 llvm::Type *SrcTy = llvm::VectorType::getExtendedElementVectorType(VTy); in EmitCommonNeonBuiltinExpr()
3258 llvm::VectorType::getExtendedElementVectorType(VTy); in EmitCommonNeonBuiltinExpr()
3271 return Builder.CreateTrunc(Ops[0], VTy, "vsubhn"); in EmitCommonNeonBuiltinExpr()
3282 for (unsigned i = 0, e = VTy->getNumElements(); i != e; i += 2) { in EmitCommonNeonBuiltinExpr()
3311 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) in EmitCommonNeonBuiltinExpr()
3330 for (unsigned i = 0, e = VTy->getNumElements(); i != e; i += 2) { in EmitCommonNeonBuiltinExpr()
3954 llvm::VectorType *VTy = GetNeonType(this, Type); in EmitARMBuiltinExpr() local
3955 llvm::Type *Ty = VTy; in EmitARMBuiltinExpr()
3975 if (VTy->getElementType()->isIntegerTy(64)) { in EmitARMBuiltinExpr()
3982 Ty = llvm::VectorType::get(VTy->getElementType(), 1); in EmitARMBuiltinExpr()
3995 PtrOp0 = Builder.CreateElementBitCast(PtrOp0, VTy->getElementType()); in EmitARMBuiltinExpr()
4003 if (VTy->getElementType()->getPrimitiveSizeInBits() == 64) { in EmitARMBuiltinExpr()
4107 if (VTy->getElementType()->isIntegerTy(64)) { in EmitARMBuiltinExpr()
4299 llvm::Type *VTy = llvm::VectorType::get(Int16Ty, 4); in vectorWrapScalar16() local
4301 Value *V = UndefValue::get(VTy); in vectorWrapScalar16()
4903 llvm::Type *VTy = llvm::VectorType::get(Int32Ty, 4); in EmitAArch64BuiltinExpr() local
4904 Ops[1] = EmitNeonCall(CGM.getIntrinsic(Intrinsic::aarch64_neon_sqdmull, VTy), in EmitAArch64BuiltinExpr()
5000 llvm::Type *VTy = llvm::VectorType::get(Int32Ty, 4); in EmitAArch64BuiltinExpr() local
5001 Ops[1] = EmitNeonCall(CGM.getIntrinsic(Intrinsic::aarch64_neon_sqdmull, VTy), in EmitAArch64BuiltinExpr()
5049 llvm::VectorType *VTy = GetNeonType(this, Type); in EmitAArch64BuiltinExpr() local
5050 llvm::Type *Ty = VTy; in EmitAArch64BuiltinExpr()
5073 llvm::Type *BitTy = llvm::VectorType::getInteger(VTy); in EmitAArch64BuiltinExpr()
5096 llvm::VectorType::get(VTy->getElementType(), VTy->getNumElements() / 2) : in EmitAArch64BuiltinExpr()
5097 VTy; in EmitAArch64BuiltinExpr()
5099 Value *SV = llvm::ConstantVector::getSplat(VTy->getNumElements(), cst); in EmitAArch64BuiltinExpr()
5108 llvm::VectorType *VTy = cast<llvm::VectorType>(Ty); in EmitAArch64BuiltinExpr() local
5110 if (VTy && VTy->getElementType() == DoubleTy) { in EmitAArch64BuiltinExpr()
5113 llvm::Type *VTy = GetNeonType(this, in EmitAArch64BuiltinExpr() local
5115 Ops[2] = Builder.CreateBitCast(Ops[2], VTy); in EmitAArch64BuiltinExpr()
5125 llvm::Type *STy = llvm::VectorType::get(VTy->getElementType(), in EmitAArch64BuiltinExpr()
5126 VTy->getNumElements() * 2); in EmitAArch64BuiltinExpr()
5128 Value* SV = llvm::ConstantVector::getSplat(VTy->getNumElements(), in EmitAArch64BuiltinExpr()
5164 Ops[1] = Builder.CreateBitCast(Ops[1], VTy); in EmitAArch64BuiltinExpr()
5194 unsigned ArgElts = VTy->getNumElements(); in EmitAArch64BuiltinExpr()
5195 llvm::IntegerType *EltTy = cast<IntegerType>(VTy->getElementType()); in EmitAArch64BuiltinExpr()
5199 llvm::Type* Tys[2] = { VTy, ArgTy }; in EmitAArch64BuiltinExpr()
5403 llvm::Type *VTy = GetNeonType(this, in EmitAArch64BuiltinExpr() local
5405 Ops[1] = Builder.CreateBitCast(Ops[1], VTy); in EmitAArch64BuiltinExpr()
5440 VTy = llvm::VectorType::get(Int8Ty, 8); in EmitAArch64BuiltinExpr()
5441 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5452 VTy = llvm::VectorType::get(Int16Ty, 4); in EmitAArch64BuiltinExpr()
5453 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5464 VTy = llvm::VectorType::get(Int8Ty, 16); in EmitAArch64BuiltinExpr()
5465 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5476 VTy = llvm::VectorType::get(Int16Ty, 8); in EmitAArch64BuiltinExpr()
5477 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5485 VTy = llvm::VectorType::get(Int8Ty, 8); in EmitAArch64BuiltinExpr()
5486 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5494 VTy = llvm::VectorType::get(Int16Ty, 4); in EmitAArch64BuiltinExpr()
5495 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5503 VTy = llvm::VectorType::get(Int8Ty, 16); in EmitAArch64BuiltinExpr()
5504 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5512 VTy = llvm::VectorType::get(Int16Ty, 8); in EmitAArch64BuiltinExpr()
5513 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5521 VTy = llvm::VectorType::get(Int8Ty, 8); in EmitAArch64BuiltinExpr()
5522 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5530 VTy = llvm::VectorType::get(Int16Ty, 4); in EmitAArch64BuiltinExpr()
5531 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5539 VTy = llvm::VectorType::get(Int8Ty, 16); in EmitAArch64BuiltinExpr()
5540 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5548 VTy = llvm::VectorType::get(Int16Ty, 8); in EmitAArch64BuiltinExpr()
5549 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5557 VTy = llvm::VectorType::get(Int8Ty, 8); in EmitAArch64BuiltinExpr()
5558 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5566 VTy = llvm::VectorType::get(Int16Ty, 4); in EmitAArch64BuiltinExpr()
5567 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5575 VTy = llvm::VectorType::get(Int8Ty, 16); in EmitAArch64BuiltinExpr()
5576 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5584 VTy = llvm::VectorType::get(Int16Ty, 8); in EmitAArch64BuiltinExpr()
5585 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5593 VTy = llvm::VectorType::get(Int8Ty, 8); in EmitAArch64BuiltinExpr()
5594 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5602 VTy = llvm::VectorType::get(Int16Ty, 4); in EmitAArch64BuiltinExpr()
5603 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5611 VTy = llvm::VectorType::get(Int8Ty, 16); in EmitAArch64BuiltinExpr()
5612 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5620 VTy = llvm::VectorType::get(Int16Ty, 8); in EmitAArch64BuiltinExpr()
5621 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5634 VTy = llvm::VectorType::get(Int8Ty, 8); in EmitAArch64BuiltinExpr()
5635 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5643 VTy = llvm::VectorType::get(Int16Ty, 4); in EmitAArch64BuiltinExpr()
5644 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5651 VTy = llvm::VectorType::get(Int8Ty, 16); in EmitAArch64BuiltinExpr()
5652 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5660 VTy = llvm::VectorType::get(Int16Ty, 8); in EmitAArch64BuiltinExpr()
5661 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5668 VTy = llvm::VectorType::get(Int8Ty, 8); in EmitAArch64BuiltinExpr()
5669 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5677 VTy = llvm::VectorType::get(Int16Ty, 4); in EmitAArch64BuiltinExpr()
5678 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5685 VTy = llvm::VectorType::get(Int8Ty, 16); in EmitAArch64BuiltinExpr()
5686 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5694 VTy = llvm::VectorType::get(Int16Ty, 8); in EmitAArch64BuiltinExpr()
5695 llvm::Type *Tys[2] = { Ty, VTy }; in EmitAArch64BuiltinExpr()
5724 Ops[0] = Builder.CreateBitCast(Ops[0], VTy); in EmitAArch64BuiltinExpr()
5735 llvm::Type *PTy = llvm::PointerType::getUnqual(VTy->getVectorElementType()); in EmitAArch64BuiltinExpr()
5737 llvm::Type *Tys[2] = { VTy, PTy }; in EmitAArch64BuiltinExpr()
5765 llvm::Type *PTy = llvm::PointerType::getUnqual(VTy->getVectorElementType()); in EmitAArch64BuiltinExpr()
5766 llvm::Type *Tys[2] = { VTy, PTy }; in EmitAArch64BuiltinExpr()
5787 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(VTy)); in EmitAArch64BuiltinExpr()
5791 Ops[0] = Builder.CreateBitCast(Ops[0], llvm::PointerType::getUnqual(VTy)); in EmitAArch64BuiltinExpr()
5792 Ops[1] = Builder.CreateBitCast(Ops[1], VTy); in EmitAArch64BuiltinExpr()
5797 Ty = llvm::PointerType::getUnqual(VTy->getElementType()); in EmitAArch64BuiltinExpr()
5804 Ty = llvm::PointerType::getUnqual(VTy->getElementType()); in EmitAArch64BuiltinExpr()
5820 llvm::Type *PTy = llvm::PointerType::getUnqual(VTy); in EmitAArch64BuiltinExpr()
5822 llvm::Type *Tys[2] = { VTy, PTy }; in EmitAArch64BuiltinExpr()
5831 llvm::Type *PTy = llvm::PointerType::getUnqual(VTy); in EmitAArch64BuiltinExpr()
5833 llvm::Type *Tys[2] = { VTy, PTy }; in EmitAArch64BuiltinExpr()
5842 llvm::Type *PTy = llvm::PointerType::getUnqual(VTy); in EmitAArch64BuiltinExpr()
5844 llvm::Type *Tys[2] = { VTy, PTy }; in EmitAArch64BuiltinExpr()
5854 llvm::PointerType::getUnqual(VTy->getElementType()); in EmitAArch64BuiltinExpr()
5856 llvm::Type *Tys[2] = { VTy, PTy }; in EmitAArch64BuiltinExpr()
5866 llvm::PointerType::getUnqual(VTy->getElementType()); in EmitAArch64BuiltinExpr()
5868 llvm::Type *Tys[2] = { VTy, PTy }; in EmitAArch64BuiltinExpr()
5878 llvm::PointerType::getUnqual(VTy->getElementType()); in EmitAArch64BuiltinExpr()
5880 llvm::Type *Tys[2] = { VTy, PTy }; in EmitAArch64BuiltinExpr()
5889 llvm::Type *Tys[2] = { VTy, Ops[1]->getType() }; in EmitAArch64BuiltinExpr()
5903 llvm::Type *Tys[2] = { VTy, Ops[1]->getType() }; in EmitAArch64BuiltinExpr()
5918 llvm::Type *Tys[2] = { VTy, Ops[1]->getType() }; in EmitAArch64BuiltinExpr()
5936 llvm::Type *Tys[2] = { VTy, Ops[2]->getType() }; in EmitAArch64BuiltinExpr()
5945 llvm::Type *Tys[2] = { VTy, Ops[3]->getType() }; in EmitAArch64BuiltinExpr()
5953 llvm::Type *Tys[2] = { VTy, Ops[3]->getType() }; in EmitAArch64BuiltinExpr()
5962 llvm::Type *Tys[2] = { VTy, Ops[4]->getType() }; in EmitAArch64BuiltinExpr()
5970 llvm::Type *Tys[2] = { VTy, Ops[4]->getType() }; in EmitAArch64BuiltinExpr()
5979 llvm::Type *Tys[2] = { VTy, Ops[5]->getType() }; in EmitAArch64BuiltinExpr()
5992 for (unsigned i = 0, e = VTy->getNumElements(); i != e; i += 2) { in EmitAArch64BuiltinExpr()
6012 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) in EmitAArch64BuiltinExpr()
6031 for (unsigned i = 0, e = VTy->getNumElements(); i != e; i += 2) { in EmitAArch64BuiltinExpr()