Home
last modified time | relevance | path

Searched refs:getVectorNumElements (Results 1 – 25 of 77) sorted by relevance

1234

/NextBSD/contrib/llvm/lib/Target/X86/Utils/
HDX86ShuffleDecode.cpp67 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVSLDUPMask()
75 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVSHDUPMask()
85 unsigned NumElts = VT.getVectorNumElements(); in DecodeMOVDDUPMask()
127 unsigned NumElts = VT.getVectorNumElements(); in DecodePALIGNRMask()
147 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFMask()
164 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFHWMask()
180 unsigned NumElts = VT.getVectorNumElements(); in DecodePSHUFLWMask()
198 unsigned NumElts = VT.getVectorNumElements(); in DecodeSHUFPMask()
220 unsigned NumElts = VT.getVectorNumElements(); in DecodeUNPCKHMask()
240 unsigned NumElts = VT.getVectorNumElements(); in DecodeUNPCKLMask()
[all …]
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDValueTypes.h86 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements()); in changeVectorElementTypeToInteger()
225 unsigned getVectorNumElements() const { in getVectorNumElements() function
228 return V.getVectorNumElements(); in getVectorNumElements()
287 return EVT::getVectorVT(Context, EltVT, getVectorNumElements()); in widenIntegerVectorElementType()
292 unsigned NElts = getVectorNumElements(); in isPow2VectorType()
300 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
HDBasicTTIImpl.h51 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getScalarizationOverhead()
74 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getAltShuffleOverhead()
321 unsigned Num = Ty->getVectorNumElements();
412 unsigned Num = Dst->getVectorNumElements(); in getCastInstrCost()
462 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
596 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements()); in getIntrinsicInstrCost()
604 ScalarCalls = std::max(ScalarCalls, Ty->getVectorNumElements()); in getIntrinsicInstrCost()
726 unsigned ScalarCalls = RetTy->getVectorNumElements(); in getIntrinsicInstrCost()
739 ScalarCalls = std::max(ScalarCalls, Tys[i]->getVectorNumElements()); in getIntrinsicInstrCost()
774 unsigned NumVecElts = Ty->getVectorNumElements(); in getReductionCost()
HDMachineValueType.h260 unsigned NElts = getVectorNumElements(); in isPow2VectorType()
270 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
330 unsigned getVectorNumElements() const { in getVectorNumElements() function
HDSelectionDAGNodes.h1384 return makeArrayRef(Mask, VT.getVectorNumElements());
1387 assert(Idx < getValueType(0).getVectorNumElements() && "Idx out of range!");
1395 for (unsigned i = 0, e = VT.getVectorNumElements(); i != e; ++i) {
2112 assert(getMask().getValueType().getVectorNumElements() ==
2113 getValueType(0).getVectorNumElements() &&
2134 assert(getMask().getValueType().getVectorNumElements() ==
2135 getValue().getValueType().getVectorNumElements() &&
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDLegalizeVectorTypes.cpp483 assert(N->getValueType(0).getVectorNumElements() == 1 && in ScalarizeVecOp_UnaryOp()
783 unsigned LoNumElts = LoVT.getVectorNumElements(); in SplitVecRes_BUILD_VECTOR()
824 DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), dl, in SplitVecRes_EXTRACT_SUBVECTOR()
899 unsigned LoNumElts = Lo.getValueType().getVectorNumElements(); in SplitVecRes_INSERT_VECTOR_ELT()
1181 unsigned NumElements = SrcVT.getVectorNumElements(); in SplitVecRes_ExtendOp()
1220 unsigned NewElts = NewVT.getVectorNumElements(); in SplitVecRes_VECTOR_SHUFFLE()
1460 InVT.getVectorNumElements()); in SplitVecOp_UnaryOp()
1492 uint64_t LoElts = Lo.getValueType().getVectorNumElements(); in SplitVecOp_EXTRACT_SUBVECTOR()
1496 assert(IdxVal + SubVT.getVectorNumElements() <= LoElts && in SplitVecOp_EXTRACT_SUBVECTOR()
1513 assert(IdxVal < VecVT.getVectorNumElements() && "Invalid vector index!"); in SplitVecOp_EXTRACT_VECTOR_ELT()
[all …]
HDLegalizeVectorOps.cpp495 unsigned NumElem = SrcVT.getVectorNumElements(); in ExpandLoad()
500 if (SrcVT.getVectorNumElements() > 1 && !SrcEltVT.isByteSized()) { in ExpandLoad()
649 unsigned NumElem = StVT.getVectorNumElements(); in ExpandStore()
730 unsigned NumElem = VT.getVectorNumElements(); in ExpandSELECT()
799 int NumElements = VT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG()
802 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG()
846 int NumElements = VT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG()
849 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG()
879 for (int I = 0, E = VT.getVectorNumElements(); I != E; ++I) in ExpandBSWAP()
995 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC()
HDSelectionDAG.cpp540 for (unsigned i = 0, e = N->getValueType(0).getVectorNumElements(); in AddNodeIDCustom()
745 assert(N->getNumOperands() == N->getValueType(0).getVectorNumElements() && in VerifySDNode()
1075 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getAnyExtendVectorInReg()
1085 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getSignExtendVectorInReg()
1095 assert(VT.getVectorNumElements() < Op.getValueType().getVectorNumElements() && in getZeroExtendVectorInReg()
1178 for (unsigned i = 0; i < ViaVecNumElts / VT.getVectorNumElements(); ++i) { in getConstant()
1197 for (unsigned i = 0; i < VT.getVectorNumElements(); ++i) in getConstant()
1229 Ops.assign(VT.getVectorNumElements(), Result); in getConstant()
1273 Ops.assign(VT.getVectorNumElements(), Result); in getConstantFP()
1527 unsigned NElts = VT.getVectorNumElements(); in getVectorShuffle()
[all …]
HDLegalizeTypesGeneric.cpp88 assert(!(InVT.getVectorNumElements() & 1) && "Unsupported BITCAST"); in ExpandRes_BITCAST()
212 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT()
358 NumElts = N->getValueType(0).getVectorNumElements(); in ExpandOp_BITCAST()
377 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_BUILD_VECTOR()
417 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_INSERT_VECTOR_ELT()
455 unsigned NumElts = VT.getVectorNumElements(); in ExpandOp_SCALAR_TO_VECTOR()
HDDAGCombiner.cpp3598 unsigned NumElts = VT.getVectorNumElements(); in visitOR()
4484 ExtVT, VT.getVectorNumElements()); in visitSRA()
4517 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorNumElements()); in visitSRA()
5100 int NumElems = VT.getVectorNumElements(); in ConvertSelectToConcatVector()
5619 unsigned NumElts = VT.getVectorNumElements(); in tryToFoldExtendOfConstant()
5775 SplitSrcVT.getVectorNumElements() > 1) { in CombineExtLoad()
5785 DstVT.getVectorNumElements() / SplitDstVT.getVectorNumElements(); in CombineExtLoad()
6289 SmallVector<SDValue,8> OneOps(VT.getVectorNumElements(), in visitZERO_EXTEND()
6312 N0VT.getVectorNumElements()); in visitZERO_EXTEND()
6921 unsigned NumElem = VecTy.getVectorNumElements(); in visitTRUNCATE()
[all …]
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineVectorOps.cpp34 for (unsigned i = 1, e = V->getType()->getVectorNumElements(); i != e; in CheapToScalarize()
217 SVI->getOperand(0)->getType()->getVectorNumElements(); in visitExtractElementInst()
285 unsigned NumElts = V->getType()->getVectorNumElements(); in CollectSingleShuffleElements()
327 unsigned NumLHSElts = LHS->getType()->getVectorNumElements(); in CollectSingleShuffleElements()
410 unsigned NumLHSElts = RHS->getType()->getVectorNumElements(); in CollectShuffleElements()
421 EI->getOperand(0)->getType()->getVectorNumElements(); in CollectShuffleElements()
495 EI->getOperand(0)->getType()->getVectorNumElements(); in visitInsertElementInst()
679 NewOps[0]->getType()->getVectorNumElements()); in BuildNew()
756 bool NeedsRebuild = (Mask.size() != I->getType()->getVectorNumElements()); in EvaluateInDifferentElementOrder()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64TargetTransformInfo.cpp275 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost()
398 Src->getVectorNumElements() < 8) { in getMemoryOpCost()
401 unsigned NumVecElts = Src->getVectorNumElements(); in getMemoryOpCost()
417 unsigned NumElts = VecTy->getVectorNumElements(); in getInterleavedMemoryOpCost()
435 if (I->getScalarSizeInBits() * I->getVectorNumElements() == 128) in getCostOfKeepingLiveOverCall()
HDAArch64ISelLowering.cpp1597 VT.getVectorNumElements()); in LowerVectorFP_TO_INT()
1647 InVT.getVectorNumElements()); in LowerVectorINT_TO_FP()
1813 unsigned NumElts = VT.getVectorNumElements(); in skipExtensionForVectorMULL()
4491 unsigned NarrowSize = VT.getVectorNumElements(); in WidenVector()
4511 unsigned WideSize = VT.getVectorNumElements(); in NarrowVector()
4526 unsigned NumElts = VT.getVectorNumElements(); in ReconstructShuffle()
4673 SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1); in ReconstructShuffle()
4675 for (unsigned i = 0; i < VT.getVectorNumElements(); ++i) { in ReconstructShuffle()
4717 unsigned NumElts = VT.getVectorNumElements(); in isSingletonEXTMask()
4754 unsigned NumElts = VT.getVectorNumElements(); in isEXTMask()
[all …]
/NextBSD/contrib/llvm/lib/Analysis/
HDCostModel.cpp147 SmallVector<int, 32> Mask(SI->getType()->getVectorNumElements(), -1); in matchPairwiseShuffleMask()
260 unsigned NumVecElems = VecTy->getVectorNumElements(); in matchPairwiseReduction()
324 unsigned NumVecElems = VecTy->getVectorNumElements(); in matchVectorSplittingReduction()
492 unsigned NumVecElems = VecTypOp0->getVectorNumElements(); in getInstructionCost()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86TargetTransformInfo.cpp753 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost()
769 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getScalarizationOverhead()
784 unsigned NumElem = VTy->getVectorNumElements(); in getMemoryOpCost()
832 unsigned NumElem = SrcVTy->getVectorNumElements(); in getMaskedMemoryOpCost()
859 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost()
864 else if (LT.second.getVectorNumElements() > NumElem) { in getMaskedMemoryOpCost()
866 LT.second.getVectorNumElements()); in getMaskedMemoryOpCost()
HDX86ISelLowering.cpp853 if (!isPowerOf2_32(VT.getVectorNumElements())) in X86TargetLowering()
1707 VT.getVectorNumElements() != 1 && in getPreferredVectorAction()
1719 const unsigned NumElts = VT.getVectorNumElements(); in getSetCCResultType()
3960 return (Index == 0 || Index == ResVT.getVectorNumElements()); in isExtractSubvectorCheap()
4168 assert((Subtarget->hasBWI() || VT.getVectorNumElements() <= 16) in getZeroVector()
4170 assert((Subtarget->hasVLX() || VT.getVectorNumElements() >= 8) in getZeroVector()
4173 SmallVector<SDValue, 64> Ops(VT.getVectorNumElements(), Cst); in getZeroVector()
4190 VT.getVectorNumElements()/Factor); in ExtractSubVector()
4367 unsigned NumElems = VT.getVectorNumElements(); in getMOVL()
4378 unsigned NumElems = VT.getVectorNumElements(); in getUnpackl()
[all …]
HDX86TargetObjectFile.cpp145 NumElements = Ty->getVectorNumElements(); in scalarConstantToHexString()
/NextBSD/contrib/llvm/lib/IR/
HDConstantFold.cpp55 if (NumElts != CV->getType()->getVectorNumElements()) in BitCastConstantVector()
569 DestTy->getVectorNumElements() == V->getType()->getVectorNumElements()) { in ConstantFoldCastInstruction()
574 for (unsigned i = 0, e = V->getType()->getVectorNumElements(); i != e; ++i) { in ConstantFoldCastInstruction()
736 for (unsigned i = 0, e = V1->getType()->getVectorNumElements(); i != e;++i){ in ConstantFoldSelectInstruction()
755 if (Result.size() == V1->getType()->getVectorNumElements()) in ConstantFoldSelectInstruction()
793 if (CIdx->uge(Val->getType()->getVectorNumElements())) in ConstantFoldExtractElementInstruction()
809 unsigned NumElts = Val->getType()->getVectorNumElements(); in ConstantFoldInsertElementInstruction()
833 unsigned MaskNumElts = Mask->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction()
843 unsigned SrcNumElts = V1->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction()
896 NumElts = Agg->getType()->getVectorNumElements(); in ConstantFoldInsertValueInstruction()
[all …]
HDValueTypes.cpp25 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()
110 return "v" + utostr(getVectorNumElements()) + in getEVTString()
/NextBSD/contrib/llvm/lib/CodeGen/
HDTargetLoweringBase.cpp933 SVT.getVectorNumElements() / 2)); in getTypeConversion()
960 unsigned NumElts = VT.getVectorNumElements(); in getTypeConversion()
1046 EVT NVT = EVT::getVectorVT(Context, EltVT, VT.getVectorNumElements() / 2); in getTypeConversion()
1055 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdownMVT()
1301 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties()
1313 && SVT.getVectorNumElements() == NElts && isTypeLegal(SVT) in computeRegisterProperties()
1331 && SVT.getVectorNumElements() > NElts && isTypeLegal(SVT)) { in computeRegisterProperties()
1412 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdown()
/NextBSD/contrib/llvm/lib/Transforms/Vectorize/
HDBBVectorize.cpp1947 if (VTy->getVectorNumElements() == 2) { in findBestDAGFor()
2027 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); in findBestDAGFor()
2105 if (VTy->getVectorNumElements() == 2) in findBestDAGFor()
2129 if (Ty2->getVectorNumElements() > Ty1->getVectorNumElements()) in findBestDAGFor()
2317 unsigned NumElem1 = J->getType()->getVectorNumElements(); in fillNewShuffleMask()
2344 unsigned NumElemI = ArgTypeI->getVectorNumElements(); in getReplacementShuffleMask()
2349 unsigned NumElem = VArgType->getVectorNumElements(); in getReplacementShuffleMask()
2353 unsigned NumInElemI = OpTypeI->getVectorNumElements(); in getReplacementShuffleMask()
2355 unsigned NumInElemJ = OpTypeJ->getVectorNumElements(); in getReplacementShuffleMask()
2501 ->getVectorNumElements(); in getReplacementInput()
[all …]
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDSITypeRewriter.cpp116 Arg->getType()->getVectorNumElements() == 1 && in visitCallInst()
HDSIISelLowering.cpp416 if (VT.getVectorNumElements() != 1 && VT.getScalarType().bitsLE(MVT::i16)) in getPreferredVectorAction()
535 unsigned NumElements = ParamType->getVectorNumElements(); in LowerFormalArguments()
658 unsigned NumElements = ParamType->getVectorNumElements(); in LowerFormalArguments()
671 NumElements = Arg.VT.getVectorNumElements() - NumElements; in LowerFormalArguments()
737 return EVT::getVectorVT(Ctx, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()
1153 unsigned NumElements = Op.getValueType().getVectorNumElements(); in LowerLOAD()
1372 if (VT.isVector() && VT.getVectorNumElements() > 4) in LowerSTORE()
1381 if (VT.isVector() && VT.getVectorNumElements() >= 8) in LowerSTORE()
1454 unsigned NElts = SrcVT.getVectorNumElements(); in performUCharToFloatCombine()
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMISelLowering.cpp4187 SrcVT.getVectorNumElements() > 1) in ExpandBITCAST()
4939 unsigned NumElts = VT.getVectorNumElements(); in isSingletonVEXTMask()
4969 unsigned NumElts = VT.getVectorNumElements(); in isVEXTMask()
5014 unsigned NumElts = VT.getVectorNumElements(); in isVREVMask()
5044 unsigned NumElts = VT.getVectorNumElements(); in isVTRNMask()
5062 unsigned NumElts = VT.getVectorNumElements(); in isVTRN_v_undef_Mask()
5077 unsigned NumElts = VT.getVectorNumElements(); in isVUZPMask()
5100 unsigned Half = VT.getVectorNumElements() / 2; in isVUZP_v_undef_Mask()
5124 unsigned NumElts = VT.getVectorNumElements(); in isVZIPMask()
5149 unsigned NumElts = VT.getVectorNumElements(); in isVZIP_v_undef_Mask()
[all …]
/NextBSD/contrib/llvm/lib/Target/Hexagon/
HDHexagonISelLowering.h173 return EVT::getVectorVT(C, MVT::i1, VT.getVectorNumElements()); in getSetCCResultType()

1234