Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp1982 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1991 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
2000 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
2009 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
2018 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
2027 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
2036 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
2045 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
2054 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
2063 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp195 unsigned VecWidth = VecTy->getPrimitiveSizeInBits().getFixedValue(); in getMemoryOpCost() local
202 if (VecWidth % RegWidth == 0) in getMemoryOpCost()
203 return VecWidth / RegWidth; in getMemoryOpCost()
210 unsigned NumLoads = alignTo(VecWidth, AlignWidth) / AlignWidth; in getMemoryOpCost()
222 unsigned NumLoads = alignTo(VecWidth, AlignWidth) / AlignWidth; in getMemoryOpCost()
H A DHexagonISelLowering.cpp2667 assert((VecWidth % ElemWidth) == 0); in extractVector()
2668 assert(VecWidth == 32 || VecWidth == 64); in extractVector()
2679 if (VecWidth == 64 && ValWidth == 32) { in extractVector()
2717 assert(VecWidth == 8 || VecWidth == 4 || VecWidth == 2); in extractVectorPred()
2739 unsigned Scale = VecWidth / ValWidth; in extractVectorPred()
2744 unsigned VecRep = 8 / VecWidth; in extractVectorPred()
2770 assert(VecWidth == 32 || VecWidth == 64); in insertVector()
2771 assert((VecWidth % ValWidth) == 0); in insertVector()
2780 if (VW != VecWidth) in insertVector()
3805 if (BitWidth == VecWidth) in findRepresentativeClass()
[all …]
H A DHexagonSubtarget.cpp209 unsigned VecWidth = VecTy.getSizeInBits(); in isHVXVectorType() local
210 if (VecWidth != 8 * HwLen && VecWidth != 16 * HwLen) in isHVXVectorType()
H A DHexagonISelLoweringHVX.cpp469 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-14.2/contrib/llvm-project/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()
201 unsigned VecLength = DL.getTypeSizeInBits(VecWidth); in decompose()
H A DX86ISelDAGToDAG.cpp421 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 DX86MCInstLower.cpp1545 int SclWidth, int VecWidth, in printZeroUpperMove() argument
1555 for (int I = 1, E = VecWidth / SclWidth; I < E; ++I) { in printZeroUpperMove()
H A DX86ISelLowering.cpp53548 unsigned VecWidth = SrcVecVT.getSizeInBits(); in combineToFPTruncExtElt() local
53549 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()
/freebsd-14.2/contrib/llvm-project/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;
299 // The VecWidth field is ignored for GenericTypes. Use VectorList instead.
300 let VecWidth = 0;
H A DSemaDeclAttr.cpp3717 uint32_t VecWidth; in handleMinVectorWidthAttr() local
3718 if (!checkUInt32Argument(S, AL, E, VecWidth)) { in handleMinVectorWidthAttr()
3724 if (Existing && Existing->getVectorWidth() != VecWidth) { in handleMinVectorWidthAttr()
3729 D->addAttr(::new (S.Context) MinVectorWidthAttr(S.Context, AL, VecWidth)); in handleMinVectorWidthAttr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp1014 unsigned VecWidth = DataType->getPrimitiveSizeInBits(); in hasActiveVectorLength() local
1015 return VecWidth == 128; in hasActiveVectorLength()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp409 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local
413 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt()
418 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1253 if (const auto *VecWidth = CurFuncDecl->getAttr<MinVectorWidthAttr>()) in StartFunction() local
1254 LargestVectorWidth = VecWidth->getVectorWidth(); in StartFunction()
H A DCGBuiltin.cpp13823 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in EmitX86Ternlog() local
13826 if (VecWidth == 128 && EltWidth == 32) in EmitX86Ternlog()
13828 else if (VecWidth == 256 && EltWidth == 32) in EmitX86Ternlog()
13830 else if (VecWidth == 512 && EltWidth == 32) in EmitX86Ternlog()
13832 else if (VecWidth == 128 && EltWidth == 64) in EmitX86Ternlog()
13834 else if (VecWidth == 256 && EltWidth == 64) in EmitX86Ternlog()
13836 else if (VecWidth == 512 && EltWidth == 64) in EmitX86Ternlog()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1113 unsigned VecWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad() local
1114 if (VecWidth != 128 && VecTy->getElementType()->isFloatingPointTy()) in isLegalMaskedLoad()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp12402 unsigned VecWidth = VT.getSizeInBits(); in isConstantSplat() local
12403 if (MinSplatBits > VecWidth) in isConstantSplat()
12408 SplatValue = APInt(VecWidth, 0); in isConstantSplat()
12409 SplatUndef = APInt(VecWidth, 0); in isConstantSplat()
12439 while (VecWidth > 8) { in isConstantSplat()
12441 if (VecWidth & 1) in isConstantSplat()
12444 unsigned HalfSize = VecWidth / 2; in isConstantSplat()
12458 VecWidth = HalfSize; in isConstantSplat()
12467 SplatBitSize = VecWidth; in isConstantSplat()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp515 OptimizationRemarkEmitter *ORE, ElementCount VecWidth, in InnerLoopVectorizer() argument
521 AC(AC), ORE(ORE), VF(VecWidth), UF(UnrollFactor), in InnerLoopVectorizer()
530 this->MinProfitableTripCount = VecWidth; in InnerLoopVectorizer()