| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 1843 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in upgradeX86VPERMT2Intrinsics() local 1847 if (VecWidth == 128 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1849 else if (VecWidth == 128 && EltWidth == 32 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1851 else if (VecWidth == 128 && EltWidth == 64 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1853 else if (VecWidth == 128 && EltWidth == 64 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1855 else if (VecWidth == 256 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1857 else if (VecWidth == 256 && EltWidth == 32 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1859 else if (VecWidth == 256 && EltWidth == 64 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1861 else if (VecWidth == 256 && EltWidth == 64 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1863 else if (VecWidth == 512 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() [all …]
|
| H A D | Verifier.cpp | 6455 unsigned VecWidth = VecTy->getElementCount().getKnownMinValue(); in visitIntrinsicCall() local 6458 Check((VecWidth % AccWidth) == 0, in visitIntrinsicCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 182 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedValue(); in getMemoryOpCost() local 189 if (VecWidth % RegWidth == 0) in getMemoryOpCost() 190 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 | 2703 unsigned VecWidth = VecTy.getSizeInBits(); in extractVector() local 2706 assert((VecWidth % ElemWidth) == 0); in extractVector() 2707 assert(VecWidth == 32 || VecWidth == 64); in extractVector() 2718 if (VecWidth == 64 && ValWidth == 32) { in extractVector() 2752 unsigned VecWidth = VecTy.getSizeInBits(); in extractVectorPred() local 2754 assert(VecWidth == VecTy.getVectorNumElements() && in extractVectorPred() 2756 assert(VecWidth == 8 || VecWidth == 4 || VecWidth == 2); in extractVectorPred() 2769 SDValue M0 = DAG.getConstant(8 / VecWidth, dl, MVT::i32); in extractVectorPred() 2778 unsigned Scale = VecWidth / ValWidth; in extractVectorPred() 2783 unsigned VecRep = 8 / VecWidth; in extractVectorPred() [all …]
|
| H A D | HexagonSubtarget.cpp | 204 unsigned VecWidth = VecTy.getSizeInBits(); in isHVXVectorType() local 205 if (VecWidth != 8 * HwLen && VecWidth != 16 * HwLen) in isHVXVectorType()
|
| H A D | HexagonISelLoweringHVX.cpp | 479 unsigned VecWidth = VecTy.getSizeInBits(); in getPreferredHvxVectorAction() local 481 if (VecWidth > 2*HwWidth) in getPreferredHvxVectorAction() 485 if (HaveThreshold && 8*HvxWidenThreshold <= VecWidth) in getPreferredHvxVectorAction() 487 if (VecWidth >= HwWidth/2 && VecWidth < HwWidth) in getPreferredHvxVectorAction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InterleavedAccess.cpp | 170 Type *VecWidth = VecInst->getType(); in decompose() local 171 (void)VecWidth; in decompose() 172 assert(VecWidth->isVectorTy() && in decompose() 173 DL.getTypeSizeInBits(VecWidth) >= in decompose() 198 unsigned VecLength = DL.getTypeSizeInBits(VecWidth); in decompose()
|
| H A D | X86ISelDAGToDAG.cpp | 465 SDValue getExtractVEXTRACTImmediate(SDNode *N, unsigned VecWidth, in getExtractVEXTRACTImmediate() argument 467 assert((VecWidth == 128 || VecWidth == 256) && "Unexpected vector width"); in getExtractVEXTRACTImmediate() 470 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getExtractVEXTRACTImmediate() 473 SDValue getInsertVINSERTImmediate(SDNode *N, unsigned VecWidth, in getInsertVINSERTImmediate() argument 475 assert((VecWidth == 128 || VecWidth == 256) && "Unexpected vector width"); in getInsertVINSERTImmediate() 478 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getInsertVINSERTImmediate() 481 SDValue getPermuteVINSERTCommutedImmediate(SDNode *N, unsigned VecWidth, in getPermuteVINSERTCommutedImmediate() argument 483 assert(VecWidth == 128 && "Unexpected vector width"); in getPermuteVINSERTCommutedImmediate() 486 uint64_t InsertIdx = (Index * VecVT.getScalarSizeInBits()) / VecWidth; in getPermuteVINSERTCommutedImmediate()
|
| H A D | X86MCInstLower.cpp | 1626 int SclWidth, int VecWidth, in printZeroUpperMove() argument 1638 for (int I = 1, E = VecWidth / SclWidth; I < E; ++I) { in printZeroUpperMove()
|
| H A D | X86ISelLowering.cpp | 56972 unsigned VecWidth = SrcVecVT.getSizeInBits(); in combineToFPTruncExtElt() local 56973 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 175 int VecWidth = 1; 192 let VecWidth = _VecWidth; 207 let VecWidth = _Ty.VecWidth; 219 let VecWidth = _Ty.VecWidth; 231 let VecWidth = _Ty.VecWidth; 242 let VecWidth = 0; 303 // The VecWidth field is ignored for GenericTypes. Use VectorList instead. 304 let VecWidth = 0;
|
| H A D | SemaDeclAttr.cpp | 3639 uint32_t VecWidth; in handleMinVectorWidthAttr() local 3640 if (!S.checkUInt32Argument(AL, E, VecWidth)) { in handleMinVectorWidthAttr() 3646 if (Existing && Existing->getVectorWidth() != VecWidth) { in handleMinVectorWidthAttr() 3651 D->addAttr(::new (S.Context) MinVectorWidthAttr(S.Context, AL, VecWidth)); in handleMinVectorWidthAttr()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | X86.cpp | 538 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in EmitX86Ternlog() local 541 if (VecWidth == 128 && EltWidth == 32) in EmitX86Ternlog() 543 else if (VecWidth == 256 && EltWidth == 32) in EmitX86Ternlog() 545 else if (VecWidth == 512 && EltWidth == 32) in EmitX86Ternlog() 547 else if (VecWidth == 128 && EltWidth == 64) in EmitX86Ternlog() 549 else if (VecWidth == 256 && EltWidth == 64) in EmitX86Ternlog() 551 else if (VecWidth == 512 && EltWidth == 64) in EmitX86Ternlog()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 427 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local 431 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt() 436 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1366 if (const auto *VecWidth = CurFuncDecl->getAttr<MinVectorWidthAttr>()) in StartFunction() local 1367 LargestVectorWidth = VecWidth->getVectorWidth(); in StartFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 1137 unsigned VecWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad() local 1138 if (VecWidth != 128 && VecTy->getElementType()->isFloatingPointTy()) in isLegalMaskedLoad()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 13307 unsigned VecWidth = VT.getSizeInBits(); in isConstantSplat() local 13308 if (MinSplatBits > VecWidth) in isConstantSplat() 13313 SplatValue = APInt(VecWidth, 0); in isConstantSplat() 13314 SplatUndef = APInt(VecWidth, 0); in isConstantSplat() 13344 while (VecWidth > 8) { in isConstantSplat() 13346 if (VecWidth & 1) in isConstantSplat() 13349 unsigned HalfSize = VecWidth / 2; in isConstantSplat() 13363 VecWidth = HalfSize; in isConstantSplat() 13372 SplatBitSize = VecWidth; in isConstantSplat()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | Clang.cpp | 7482 StringRef VecWidth = parseMPreferVectorWidthOption(D.getDiags(), Args); in ConstructJob() local 7483 if (!VecWidth.empty()) in ConstructJob() 7484 CmdArgs.push_back(Args.MakeArgString("-mprefer-vector-width=" + VecWidth)); in ConstructJob()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 485 OptimizationRemarkEmitter *ORE, ElementCount VecWidth, in InnerLoopVectorizer() argument 491 AC(AC), ORE(ORE), VF(VecWidth), in InnerLoopVectorizer()
|