Home
last modified time | relevance | path

Searched refs:VecWidth (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/llvm/lib/IR/
H A DAutoUpgrade.cpp1648 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1657 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1666 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1675 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1684 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1693 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1702 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1711 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1720 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1729 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp176 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedSize(); in getMemoryOpCost() local
183 if (VecWidth % RegWidth == 0) in getMemoryOpCost()
184 return VecWidth / RegWidth; in getMemoryOpCost()
191 unsigned NumLoads = alignTo(VecWidth, AlignWidth) / AlignWidth; in getMemoryOpCost()
203 unsigned NumLoads = alignTo(VecWidth, AlignWidth) / AlignWidth; in getMemoryOpCost()
H A DHexagonISelLowering.cpp2571 assert((VecWidth % ElemWidth) == 0); in extractVector()
2579 assert(VecWidth == 8 || VecWidth == 4 || VecWidth == 2); in extractVector()
2601 unsigned Scale = VecWidth / ValWidth; in extractVector()
2606 unsigned VecRep = 8 / VecWidth; in extractVector()
2622 assert(VecWidth == 32 || VecWidth == 64); in extractVector()
2633 if (VecWidth == 64 && ValWidth == 32) { in extractVector()
2695 assert(VecWidth == 32 || VecWidth == 64); in insertVector()
2696 assert((VecWidth % ValWidth) == 0); in insertVector()
2705 if (VW != VecWidth) in insertVector()
3590 if (BitWidth == VecWidth) in findRepresentativeClass()
[all …]
H A DHexagonSubtarget.cpp221 unsigned VecWidth = VecTy.getSizeInBits(); in isHVXVectorType() local
222 if (VecWidth != 8 * HwLen && VecWidth != 16 * HwLen) in isHVXVectorType()
H A DHexagonISelLoweringHVX.cpp419 unsigned VecWidth = VecTy.getSizeInBits(); in getPreferredHvxVectorAction() local
421 if (HaveThreshold && 8*HvxWidenThreshold <= VecWidth) in getPreferredHvxVectorAction()
424 if (VecWidth >= HwWidth/2 && VecWidth < HwWidth) in getPreferredHvxVectorAction()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp173 Type *VecWidth = VecInst->getType(); in decompose() local
174 (void)VecWidth; in decompose()
175 assert(VecWidth->isVectorTy() && in decompose()
176 DL.getTypeSizeInBits(VecWidth) >= in decompose()
202 unsigned VecLength = DL.getTypeSizeInBits(VecWidth); in decompose()
H A DX86ISelDAGToDAG.cpp418 SDValue getExtractVEXTRACTImmediate(SDNode *N, unsigned VecWidth, in getExtractVEXTRACTImmediate() argument
420 assert((VecWidth == 128 || VecWidth == 256) && "Unexpected vector width"); in getExtractVEXTRACTImmediate()
423 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getExtractVEXTRACTImmediate()
426 SDValue getInsertVINSERTImmediate(SDNode *N, unsigned VecWidth, in getInsertVINSERTImmediate() argument
428 assert((VecWidth == 128 || VecWidth == 256) && "Unexpected vector width"); in getInsertVINSERTImmediate()
431 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getInsertVINSERTImmediate()
434 SDValue getPermuteVINSERTCommutedImmediate(SDNode *N, unsigned VecWidth, in getPermuteVINSERTCommutedImmediate() argument
436 assert(VecWidth == 128 && "Unexpected vector width"); in getPermuteVINSERTCommutedImmediate()
439 uint64_t InsertIdx = (Index * VecVT.getScalarSizeInBits()) / VecWidth; in getPermuteVINSERTCommutedImmediate()
H A DX86ISelLowering.cpp52602 unsigned VecWidth = SrcVecVT.getSizeInBits(); in combineToFPTruncExtElt() local
52603 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1114 unsigned VecWidth = VecStoreTy->getNumElements(); in vectorizeStoreChain() local
1118 unsigned NewIdx = J + I * VecWidth; in vectorizeStoreChain()
1284 unsigned VecWidth = VecLoadTy->getNumElements(); in vectorizeLoadChain() local
1286 llvm::to_vector<8>(llvm::seq<int>(I * VecWidth, (I + 1) * VecWidth)); in vectorizeLoadChain()
H A DLoopVectorize.cpp444 OptimizationRemarkEmitter *ORE, ElementCount VecWidth, in InnerLoopVectorizer() argument
450 AC(AC), ORE(ORE), VF(VecWidth), UF(UnrollFactor), in InnerLoopVectorizer()
459 this->MinProfitableTripCount = VecWidth; in InnerLoopVectorizer()
/llvm-project-15.0.7/clang/lib/Sema/
H A DOpenCLBuiltins.td171 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;
298 // The VecWidth field is ignored for GenericTypes. Use VectorList instead.
299 let VecWidth = 0;
H A DSemaDeclAttr.cpp3565 uint32_t VecWidth; in handleMinVectorWidthAttr() local
3566 if (!checkUInt32Argument(S, AL, E, VecWidth)) { in handleMinVectorWidthAttr()
3572 if (Existing && Existing->getVectorWidth() != VecWidth) { in handleMinVectorWidthAttr()
3577 D->addAttr(::new (S.Context) MinVectorWidthAttr(S.Context, AL, VecWidth)); in handleMinVectorWidthAttr()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp1391 unsigned VecWidth = DataType->getPrimitiveSizeInBits(); in hasActiveVectorLength() local
1392 return VecWidth == 128; in hasActiveVectorLength()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp516 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local
520 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt()
525 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1106 unsigned VecWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad() local
1107 if (VecWidth != 128 && VecTy->getElementType()->isFloatingPointTy()) in isLegalMaskedLoad()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1218 if (const auto *VecWidth = CurFuncDecl->getAttr<MinVectorWidthAttr>()) in StartFunction() local
1219 LargestVectorWidth = VecWidth->getVectorWidth(); in StartFunction()
H A DCGBuiltin.cpp12556 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in EmitX86Ternlog() local
12559 if (VecWidth == 128 && EltWidth == 32) in EmitX86Ternlog()
12561 else if (VecWidth == 256 && EltWidth == 32) in EmitX86Ternlog()
12563 else if (VecWidth == 512 && EltWidth == 32) in EmitX86Ternlog()
12565 else if (VecWidth == 128 && EltWidth == 64) in EmitX86Ternlog()
12567 else if (VecWidth == 256 && EltWidth == 64) in EmitX86Ternlog()
12569 else if (VecWidth == 512 && EltWidth == 64) in EmitX86Ternlog()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11401 unsigned VecWidth = VT.getSizeInBits(); in isConstantSplat() local
11402 if (MinSplatBits > VecWidth) in isConstantSplat()
11407 SplatValue = APInt(VecWidth, 0); in isConstantSplat()
11408 SplatUndef = APInt(VecWidth, 0); in isConstantSplat()
11438 while (VecWidth > 8) { in isConstantSplat()
11439 unsigned HalfSize = VecWidth / 2; in isConstantSplat()
11453 VecWidth = HalfSize; in isConstantSplat()
11456 SplatBitSize = VecWidth; in isConstantSplat()