Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/IR/
H A DAutoUpgrade.cpp1791 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1800 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1809 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1818 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1827 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1836 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1845 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1854 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1863 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
1872 if (VecWidth == 128) in upgradeAVX512MaskToSelect()
[all …]
/openbsd/gnu/llvm/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.cpp2658 assert((VecWidth % ElemWidth) == 0); in extractVector()
2659 assert(VecWidth == 32 || VecWidth == 64); in extractVector()
2670 if (VecWidth == 64 && ValWidth == 32) { in extractVector()
2708 assert(VecWidth == 8 || VecWidth == 4 || VecWidth == 2); in extractVectorPred()
2731 unsigned Scale = VecWidth / ValWidth; in extractVectorPred()
2736 unsigned VecRep = 8 / VecWidth; in extractVectorPred()
2762 assert(VecWidth == 32 || VecWidth == 64); in insertVector()
2763 assert((VecWidth % ValWidth) == 0); in insertVector()
2772 if (VW != VecWidth) in insertVector()
3797 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.cpp468 unsigned VecWidth = VecTy.getSizeInBits(); in getPreferredHvxVectorAction() local
470 if (VecWidth > 2*HwWidth) in getPreferredHvxVectorAction()
474 if (HaveThreshold && 8*HvxWidenThreshold <= VecWidth) in getPreferredHvxVectorAction()
476 if (VecWidth >= HwWidth/2 && VecWidth < HwWidth) in getPreferredHvxVectorAction()
/openbsd/gnu/llvm/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.cpp419 SDValue getExtractVEXTRACTImmediate(SDNode *N, unsigned VecWidth, in getExtractVEXTRACTImmediate() argument
421 assert((VecWidth == 128 || VecWidth == 256) && "Unexpected vector width"); in getExtractVEXTRACTImmediate()
424 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getExtractVEXTRACTImmediate()
427 SDValue getInsertVINSERTImmediate(SDNode *N, unsigned VecWidth, in getInsertVINSERTImmediate() argument
429 assert((VecWidth == 128 || VecWidth == 256) && "Unexpected vector width"); in getInsertVINSERTImmediate()
432 return getI8Imm((Index * VecVT.getScalarSizeInBits()) / VecWidth, DL); in getInsertVINSERTImmediate()
435 SDValue getPermuteVINSERTCommutedImmediate(SDNode *N, unsigned VecWidth, in getPermuteVINSERTCommutedImmediate() argument
437 assert(VecWidth == 128 && "Unexpected vector width"); in getPermuteVINSERTCommutedImmediate()
440 uint64_t InsertIdx = (Index * VecVT.getScalarSizeInBits()) / VecWidth; in getPermuteVINSERTCommutedImmediate()
H A DX86ISelLowering.cpp53939 unsigned VecWidth = SrcVecVT.getSizeInBits(); in combineToFPTruncExtElt() local
53940 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()
/openbsd/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp1123 unsigned VecWidth = VecStoreTy->getNumElements(); in vectorizeStoreChain() local
1127 unsigned NewIdx = J + I * VecWidth; in vectorizeStoreChain()
1299 unsigned VecWidth = VecLoadTy->getNumElements(); in vectorizeLoadChain() local
1301 llvm::to_vector<8>(llvm::seq<int>(I * VecWidth, (I + 1) * VecWidth)); in vectorizeLoadChain()
H A DLoopVectorize.cpp451 OptimizationRemarkEmitter *ORE, ElementCount VecWidth, in InnerLoopVectorizer() argument
457 AC(AC), ORE(ORE), VF(VecWidth), UF(UnrollFactor), in InnerLoopVectorizer()
466 this->MinProfitableTripCount = VecWidth; in InnerLoopVectorizer()
/openbsd/gnu/llvm/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.cpp3666 uint32_t VecWidth; in handleMinVectorWidthAttr() local
3667 if (!checkUInt32Argument(S, AL, E, VecWidth)) { in handleMinVectorWidthAttr()
3673 if (Existing && Existing->getVectorWidth() != VecWidth) { in handleMinVectorWidthAttr()
3678 D->addAttr(::new (S.Context) MinVectorWidthAttr(S.Context, AL, VecWidth)); in handleMinVectorWidthAttr()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp1009 unsigned VecWidth = DataType->getPrimitiveSizeInBits(); in hasActiveVectorLength() local
1010 return VecWidth == 128; in hasActiveVectorLength()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp545 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local
549 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt()
554 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1111 unsigned VecWidth = DataTy->getPrimitiveSizeInBits(); in isLegalMaskedLoad() local
1112 if (VecWidth != 128 && VecTy->getElementType()->isFloatingPointTy()) in isLegalMaskedLoad()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1241 if (const auto *VecWidth = CurFuncDecl->getAttr<MinVectorWidthAttr>()) in StartFunction() local
1242 LargestVectorWidth = VecWidth->getVectorWidth(); in StartFunction()
H A DCGBuiltin.cpp12863 unsigned VecWidth = Ty->getPrimitiveSizeInBits(); in EmitX86Ternlog() local
12866 if (VecWidth == 128 && EltWidth == 32) in EmitX86Ternlog()
12868 else if (VecWidth == 256 && EltWidth == 32) in EmitX86Ternlog()
12870 else if (VecWidth == 512 && EltWidth == 32) in EmitX86Ternlog()
12872 else if (VecWidth == 128 && EltWidth == 64) in EmitX86Ternlog()
12874 else if (VecWidth == 256 && EltWidth == 64) in EmitX86Ternlog()
12876 else if (VecWidth == 512 && EltWidth == 64) in EmitX86Ternlog()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp11704 unsigned VecWidth = VT.getSizeInBits(); in isConstantSplat() local
11705 if (MinSplatBits > VecWidth) in isConstantSplat()
11710 SplatValue = APInt(VecWidth, 0); in isConstantSplat()
11711 SplatUndef = APInt(VecWidth, 0); in isConstantSplat()
11741 while (VecWidth > 8) { in isConstantSplat()
11742 unsigned HalfSize = VecWidth / 2; in isConstantSplat()
11756 VecWidth = HalfSize; in isConstantSplat()
11759 SplatBitSize = VecWidth; in isConstantSplat()