| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 1656 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in upgradeX86VPERMT2Intrinsics() local 1660 if (VecWidth == 128 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1662 else if (VecWidth == 128 && EltWidth == 32 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1664 else if (VecWidth == 128 && EltWidth == 64 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1666 else if (VecWidth == 128 && EltWidth == 64 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1668 else if (VecWidth == 256 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1670 else if (VecWidth == 256 && EltWidth == 32 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1672 else if (VecWidth == 256 && EltWidth == 64 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1674 else if (VecWidth == 256 && EltWidth == 64 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1676 else if (VecWidth == 512 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() [all …]
|
| H A D | Verifier.cpp | 6169 unsigned VecWidth = VecTy->getElementCount().getKnownMinValue(); in visitIntrinsicCall() local 6172 Check((VecWidth % AccWidth) == 0, in visitIntrinsicCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 181 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedValue(); in getMemoryOpCost() local 188 if (VecWidth % RegWidth == 0) in getMemoryOpCost() 189 return VecWidth / RegWidth; in getMemoryOpCost() 196 unsigned NumLoads = alignTo(VecWidth, AlignWidth) / AlignWidth; in getMemoryOpCost() 208 unsigned NumLoads = alignTo(VecWidth, AlignWidth) / AlignWidth; in getMemoryOpCost()
|
| H A D | HexagonISelLowering.cpp | 2681 unsigned VecWidth = VecTy.getSizeInBits(); in extractVector() local 2684 assert((VecWidth % ElemWidth) == 0); in extractVector() 2685 assert(VecWidth == 32 || VecWidth == 64); in extractVector() 2696 if (VecWidth == 64 && ValWidth == 32) { in extractVector() 2730 unsigned VecWidth = VecTy.getSizeInBits(); in extractVectorPred() local 2732 assert(VecWidth == VecTy.getVectorNumElements() && in extractVectorPred() 2734 assert(VecWidth == 8 || VecWidth == 4 || VecWidth in extractVectorPred() 2785 unsigned VecWidth = VecTy.getSizeInBits(); insertVector() local 3822 unsigned VecWidth = Subtarget.getVectorLength() * 8; findRepresentativeClass() local [all...] |
| H A D | HexagonSubtarget.cpp | 205 unsigned VecWidth = VecTy.getSizeInBits(); in isHVXVectorType() local 206 if (VecWidth != 8 * HwLen && VecWidth != 16 * HwLen) in isHVXVectorType()
|
| H A D | HexagonISelLoweringHVX.cpp | 469 unsigned VecWidth = VecTy.getSizeInBits(); in getPreferredHvxVectorAction() local 471 if (VecWidth > 2*HwWidth) in getPreferredHvxVectorAction() 475 if (HaveThreshold && 8*HvxWidenThreshold <= VecWidth) in getPreferredHvxVectorAction() 477 if (VecWidth >= HwWidth/2 && VecWidth < HwWidth) in getPreferredHvxVectorAction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InterleavedAccess.cpp | 173 Type *VecWidth = VecInst->getType(); in decompose() local 174 (void)VecWidth; in decompose() 175 assert(VecWidth->isVectorTy() && in decompose() 176 DL.getTypeSizeInBits(VecWidth) >= in decompose() 201 unsigned VecLength = DL.getTypeSizeInBits(VecWidth); in decompose()
|
| H A D | X86ISelDAGToDAG.cpp | 421 SDValue getExtractVEXTRACTImmediate(SDNode *N, unsigned VecWidth, in getExtractVEXTRACTImmediate() argument 423 assert((VecWidth == 128 || VecWidth == 256) && "Unexpected vector width"); in getExtractVEXTRACTImmediate() 426 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getExtractVEXTRACTImmediate() 429 SDValue getInsertVINSERTImmediate(SDNode *N, unsigned VecWidth, in getInsertVINSERTImmediate() argument 431 assert((VecWidth == 128 || VecWidth == 256) && "Unexpected vector width"); in getInsertVINSERTImmediate() 434 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getInsertVINSERTImmediate() 437 SDValue getPermuteVINSERTCommutedImmediate(SDNode *N, unsigned VecWidth, in getPermuteVINSERTCommutedImmediate() argument 439 assert(VecWidth == 128 && "Unexpected vector width"); in getPermuteVINSERTCommutedImmediate() 442 uint64_t InsertIdx = (Index * VecVT.getScalarSizeInBits()) / VecWidth; in getPermuteVINSERTCommutedImmediate()
|
| H A D | X86MCInstLower.cpp | 1612 int SclWidth, int VecWidth, in printZeroUpperMove() argument 1624 for (int I = 1, E = VecWidth / SclWidth; I < E; ++I) { in printZeroUpperMove()
|
| H A D | X86ISelLowering.cpp | 54891 unsigned VecWidth = SrcVecVT.getSizeInBits(); in combineToFPTruncExtElt() local 54892 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 171 int VecWidth = 1; 188 let VecWidth = _VecWidth; 203 let VecWidth = _Ty.VecWidth; 215 let VecWidth = _Ty.VecWidth; 227 let VecWidth = _Ty.VecWidth; 238 let VecWidth = 0; 299 // The VecWidth field is ignored for GenericTypes. Use VectorList instead. 300 let VecWidth = 0;
|
| H A D | SemaDeclAttr.cpp | 3218 uint32_t VecWidth; in handleMinVectorWidthAttr() local 3219 if (!S.checkUInt32Argument(AL, E, VecWidth)) { in handleMinVectorWidthAttr() 3225 if (Existing && Existing->getVectorWidth() != VecWidth) { in handleMinVectorWidthAttr() 3230 D->addAttr(::new (S.Context) MinVectorWidthAttr(S.Context, AL, VecWidth)); in handleMinVectorWidthAttr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 1025 unsigned VecWidth = DataType->getPrimitiveSizeInBits(); in hasActiveVectorLength() local 1026 return VecWidth == 128; in hasActiveVectorLength()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 417 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local 421 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt() 426 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 1117 unsigned VecWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad() local 1118 if (VecWidth != 128 && VecTy->getElementType()->isFloatingPointTy()) in isLegalMaskedLoad()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1322 if (const auto *VecWidth = CurFuncDecl->getAttr<MinVectorWidthAttr>()) in StartFunction() local 1323 LargestVectorWidth = VecWidth->getVectorWidth(); in StartFunction()
|
| H A D | CGBuiltin.cpp | 14107 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in EmitX86Ternlog() local 14110 if (VecWidth == 128 && EltWidth == 32) in EmitX86Ternlog() 14112 else if (VecWidth == 256 && EltWidth == 32) in EmitX86Ternlog() 14114 else if (VecWidth == 512 && EltWidth == 32) in EmitX86Ternlog() 14116 else if (VecWidth == 128 && EltWidth == 64) in EmitX86Ternlog() 14118 else if (VecWidth == 256 && EltWidth == 64) in EmitX86Ternlog() 14120 else if (VecWidth == 512 && EltWidth == 64) in EmitX86Ternlog()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 12732 unsigned VecWidth = VT.getSizeInBits(); in isConstantSplat() local 12733 if (MinSplatBits > VecWidth) in isConstantSplat() 12738 SplatValue = APInt(VecWidth, 0); in isConstantSplat() 12739 SplatUndef = APInt(VecWidth, 0); in isConstantSplat() 12769 while (VecWidth > 8) { in isConstantSplat() 12771 if (VecWidth & 1) in isConstantSplat() 12774 unsigned HalfSize = VecWidth / 2; in isConstantSplat() 12788 VecWidth = HalfSize; in isConstantSplat() 12797 SplatBitSize = VecWidth; in isConstantSplat()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 475 OptimizationRemarkEmitter *ORE, ElementCount VecWidth, in InnerLoopVectorizer() argument 481 AC(AC), ORE(ORE), VF(VecWidth), UF(UnrollFactor), in InnerLoopVectorizer() 490 this->MinProfitableTripCount = VecWidth; in InnerLoopVectorizer()
|