| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVISelLowering.cpp | 25 if (VT.isVector() && VT.getVectorNumElements() == 3 && in getNumRegistersForCallingConv() 38 if (VT.isVector() && VT.getVectorNumElements() == 3) { in getRegisterTypeForCallingConv()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | dag-combine-insert-subvector.ll | 4 ; (EVT::getVectorNumElements()) for a scalable vector. This issue 6 ; getVectorNumElements() on scalable types.
|
| H A D | README | 5 1. Adding an invalid call to VectorType::getNumElements() or EVT::getVectorNumElements()
|
| H A D | DAGCombine_vscale.ll | 5 ; Also no warning message of "warning: Possible incorrect use of EVT::getVectorNumElements() for sc…
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 395 unsigned VecLen = VecTy.getVectorNumElements(); in getPreferredHvxVectorAction() 453 unsigned NumElem = VecTy.getVectorNumElements(); in typeSplit() 717 unsigned ExtLen = ExtTy.getVectorNumElements(); in buildHvxVectorReg() 1105 Idx -= VecTy.getVectorNumElements() / 2; in extractHvxSubvectorReg() 1144 unsigned ResLen = ResTy.getVectorNumElements(); in extractHvxSubvectorPred() 1294 unsigned VecLen = VecTy.getVectorNumElements(); in insertHvxSubvectorPred() 1341 assert(ty(VecV).getVectorNumElements() == ResTy.getVectorNumElements()); in extendHvxVectorPred() 1360 unsigned PredLen = PredTy.getVectorNumElements(); in compressHvxPred() 1606 assert(Idx % DstTy.getVectorNumElements() == 0); in LowerHvxExtractSubvector() 1706 unsigned VecLen = ResTy.getVectorNumElements(); in LowerHvxMulh() [all …]
|
| H A D | HexagonSubtarget.cpp | 209 unsigned NumElems = VecTy.getVectorNumElements(); in isHVXVectorType() 251 unsigned VecLen = PowerOf2Ceil(Ty.getVectorNumElements()); in isTypeForHVX()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InterleavedAccess.cpp | 236 VT.getVectorNumElements() / 2); in scaleVectorType() 266 unsigned NumOfElm = VT.getVectorNumElements(); in genShuffleBland() 443 int VF = VT.getVectorNumElements(); in createShuffleStride() 456 int VF = VT.getVectorNumElements() / std::max(VectorSize / 128, 1); in setGroupSize() 480 unsigned NumElts = VT.getVectorNumElements(); in DecodePALIGNRMask() 615 int VF = VT.getVectorNumElements(); in group2Shuffle() 683 unsigned NumOfElm = VT.getVectorNumElements(); in interleave8bitStride3()
|
| H A D | X86ISelLowering.cpp | 2549 VT.getVectorNumElements() > 64)) { in getVectorTypeBreakdownForCallingConv() 6969 if (VT.getVectorNumElements() != InVT.getVectorNumElements()) in getEXTEND_VECTOR_INREG() 21803 assert(VT.getVectorNumElements() == InVT.getVectorNumElements() && in LowerAVXExtend() 22135 assert(VT.getVectorNumElements() == InVT.getVectorNumElements() && in LowerTRUNCATE() 24425 assert(VT.getVectorNumElements() == VTOp0.getVectorNumElements() && in LowerVSETCC() 25541 assert(VT.getVectorNumElements() == InVT.getVectorNumElements() && in LowerSIGN_EXTEND() 46328 VT.getVectorNumElements() < 2 || in combineMulToPMULDQ() 51190 if (VT.getVectorNumElements() < InVT.getVectorNumElements() && in combineX86INT_TO_FP() 51219 if (VT.getVectorNumElements() < InVT.getVectorNumElements() && in combineCVTP2I_CVTTP2I() 53302 VT.getVectorNumElements() < 4 || in matchPMADDWD() [all …]
|
| H A D | X86TargetTransformInfo.cpp | 1108 int NumElts = LT.second.getVectorNumElements(); in getShuffleCost() 1114 int NumSubElts = SubLT.second.getVectorNumElements(); in getShuffleCost() 1157 int NumElts = LT.second.getVectorNumElements(); in getShuffleCost() 1161 int NumSubElts = SubLT.second.getVectorNumElements(); in getShuffleCost() 1214 LegalVT.getVectorNumElements() < in getShuffleCost() 3720 unsigned NumElts = LT.second.getVectorNumElements(); in getVectorInstrCost() 3868 unsigned NumElts = LT.second.getVectorNumElements(); in getScalarizationOverhead() 4234 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost() 4473 MTy.getVectorNumElements()); in getArithmeticReductionCost() 4476 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorTypes.cpp | 1585 unsigned NE = VT.getVectorNumElements(); in UnrollVectorOp_StrictFP() 4001 unsigned NumOps = WidenVT.getVectorNumElements()/MaxVT.getVectorNumElements(); in CollectOpsToWiden() 4108 unsigned NumElts = VT.getVectorNumElements(); in WidenVecRes_StrictFP() 4221 WideResVT.getVectorNumElements()); in WidenVecRes_OverflowOp() 4229 WideOvVT.getVectorNumElements()); in WidenVecRes_OverflowOp() 4633 unsigned NumElts = VT.getVectorNumElements(); in WidenVecRes_BUILD_VECTOR() 5162 if (FinalVT.getVectorNumElements() == 1) in WidenVSELECTMask() 5540 assert(VT.getVectorNumElements() < in WidenVecOp_EXTEND() 5554 assert(FixedVT.getVectorNumElements() >= VT.getVectorNumElements() && in WidenVecOp_EXTEND() 5556 assert(FixedVT.getVectorNumElements() != InVT.getVectorNumElements() && in WidenVecOp_EXTEND() [all …]
|
| H A D | LegalizeTypesGeneric.cpp | 89 assert(!(InVT.getVectorNumElements() & 1) && "Unsupported BITCAST"); in ExpandRes_BITCAST() 212 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT() 355 NumElts = N->getValueType(0).getVectorNumElements(); in ExpandOp_BITCAST() 374 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_BUILD_VECTOR() 412 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_INSERT_VECTOR_ELT() 450 unsigned NumElts = VT.getVectorNumElements(); in ExpandOp_SCALAR_TO_VECTOR()
|
| H A D | LegalizeVectorOps.cpp | 611 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() && in PromoteINT_TO_FP() 650 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() && in PromoteFP_TO_INT() 1000 int NumElements = VT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG() 1003 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG() 1059 int NumElements = VT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG() 1062 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG() 1094 for (int I = 0, E = VT.getVectorNumElements(); I != E; ++I) in createBSWAPShuffleMask() 1572 unsigned NumElems = VT.getVectorNumElements(); in UnrollStrictFPOp() 1630 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC()
|
| H A D | SelectionDAG.cpp | 1880 assert(VT.getVectorNumElements() == Mask.size() && in getVectorShuffle() 1995 V.getValueType().getVectorNumElements() == VT.getVectorNumElements(); in getVectorShuffle() 2597 unsigned NumElts = VT.getVectorNumElements(); in isSplatValue() 2704 unsigned NumSrcElts = SrcVT.getVectorNumElements(); in isSplatValue() 6229 N1.getValueType().getVectorNumElements() == 1) { in getNode() 6637 unsigned NumElts = VT.getVectorNumElements(); in getMemsetStringVal() 9109 VTList.VTs[0].getVectorNumElements() == in getNode() 9121 VTList.VTs[0].getVectorNumElements() == in getNode() 11098 unsigned NE = VT.getVectorNumElements(); in UnrollVectorOp() 11176 unsigned NE = ResVT.getVectorNumElements(); in UnrollVectorOverflowOp() [all …]
|
| H A D | DAGCombiner.cpp | 10523 int NumElems = VT.getVectorNumElements(); in ConvertSelectToConcatVector() 10795 unsigned Elts = VT.getVectorNumElements(); in foldVSelectOfConstants() 11546 DstVT.getVectorNumElements() / SplitDstVT.getVectorNumElements(); in CombineExtLoad() 13819 VT.getVectorNumElements() >= N0.getValueType().getVectorNumElements() && in visitBITCAST() 13820 !(VT.getVectorNumElements() % N0.getValueType().getVectorNumElements())) { in visitBITCAST() 13843 VT.getVectorNumElements() / N0.getValueType().getVectorNumElements(); in visitBITCAST() 20579 InVT.getVectorNumElements()) { in reduceBuildVecToShuffle() 20978 int NumElts = VT.getVectorNumElements(); in combineConcatVectorOfExtracts() 22278 int VTLanes = VT.getVectorNumElements(); in combineShuffleOfBitcast() 23118 VT.getVectorNumElements() <= InVecT.getVectorNumElements()) { in visitSCALAR_TO_VECTOR() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MathToLLVM/ |
| H A D | MathToLLVM.cpp | 131 {LLVM::getVectorNumElements(llvm1DVectorTy).getFixedValue()}, in matchAndRewrite() 185 {LLVM::getVectorNumElements(llvm1DVectorTy).getFixedValue()}, in matchAndRewrite() 238 {LLVM::getVectorNumElements(llvm1DVectorTy).getFixedValue()}, in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | vector-type.ll | 2 ; Type::getVectorNumElements without checking first if the type was a vector.
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/ |
| H A D | VVPISelLowering.cpp | 25 CDAG.getConstant(Op.getValueType().getVectorNumElements(), MVT::i32); in splitMaskArithmetic() 78 AVL = CDAG.getConstant(OpVecVT.getVectorNumElements(), MVT::i32); in lowerToVVP() 145 AVL = CDAG.getConstant(DataVT.getVectorNumElements(), MVT::i32); in lowerVVP_LOAD_STORE() 285 AVL = CDAG.getConstant(DataVT.getVectorNumElements(), MVT::i32); in lowerVVP_GATHER_SCATTER()
|
| H A D | VECustomDAG.cpp | 25 return SomeVT.getVectorNumElements() > StandardVectorWidth; in isPackedVectorType() 414 auto AVL = getConstant(MaskVT.getVectorNumElements(), MVT::i32); in getConstantMask() 435 unsigned ElemCount = ResultVT.getVectorNumElements(); in getMaskBroadcast()
|
| H A D | VEISelDAGToDAG.cpp | 361 if (SplatResTy.getVectorNumElements() == StandardVectorWidth) { in Select() 364 } else if (SplatResTy.getVectorNumElements() == PackedVectorWidth) { in Select()
|
| /llvm-project-15.0.7/clang/test/CodeGen/aarch64-sve-intrinsics/ |
| H A D | README | 5 1. Adding an invalid call to VectorType::getNumElements() or EVT::getVectorNumElements()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | ValueTypes.h | 308 unsigned getVectorNumElements() const { in getVectorNumElements() function 317 return isSimple() ? V.getVectorNumElements() in getVectorNumElements()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 885 unsigned PossibleBits = VT.getVectorNumElements(); in computeKnownBitsForTargetNode() 1964 ExtractedVecT.getVectorNumElements() / VecT.getVectorNumElements(); in LowerSIGN_EXTEND_INREG() 2099 if (Lane->getOperand(0).getValueType().getVectorNumElements() > in LowerBUILD_VECTOR() 2100 VecT.getVectorNumElements()) in LowerBUILD_VECTOR() 2195 size_t DestLaneCount = VecT.getVectorNumElements(); in LowerBUILD_VECTOR() 2362 size_t NumLanes = Op.getSimpleValueType().getVectorNumElements(); in unrollVectorShift() 2452 SrcType.getVectorNumElements() != DstType.getVectorNumElements()) in performVECTOR_SHUFFLECombine() 2632 VT.getVectorNumElements() / Factor); in extractSubVector() 2664 unsigned NumElems = SrcVT.getVectorNumElements(); in truncateVectorWithNARROW() 2667 assert(DstVT.getVectorNumElements() == NumElems && "Illegal truncation"); in truncateVectorWithNARROW()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 981 assert(ArgVT.getVectorNumElements() > RegisterVT.getVectorNumElements()); in analyzeFormalArgumentsCompute() 1019 assert(MemVT.getVectorNumElements() == 3 || in analyzeFormalArgumentsCompute() 1020 MemVT.getVectorNumElements() == 5); in analyzeFormalArgumentsCompute() 1290 VT.getVectorNumElements()); in LowerEXTRACT_SUBVECTOR() 1407 unsigned NumElts = VT.getVectorNumElements(); in getSplitDestVTs() 1422 assert(LoVT.getVectorNumElements() + in splitVector() 1443 if (VT.getVectorNumElements() == 2) { in SplitVectorLoad() 1503 unsigned NumElements = MemVT.getVectorNumElements(); in WidenOrSplitVectorLoad() 1536 if (VT.getVectorNumElements() == 2) in SplitVectorStore() 2732 unsigned NElts = VT.getVectorNumElements(); in LowerSIGN_EXTEND_INREG() [all …]
|
| H A D | R600ISelDAGToDAG.cpp | 99 unsigned NumVectorElts = VT.getVectorNumElements(); in Select()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 6236 SrcVT.getVectorNumElements() > 1) in ExpandBITCAST() 7154 unsigned NumElts = VT.getVectorNumElements(); in isSingletonVEXTMask() 8300 if (VT.getVectorNumElements() == 4 && in isShuffleMaskLegal() 8557 int NumElts = VT.getVectorNumElements(); in LowerVECTOR_SHUFFLEUsingMovs() 13262 switch (VT.getVectorNumElements()) { in PerformVSetCCToVCTPCombine() 15283 if (VecVT.getVectorNumElements() != 4) in PerformExtractEltToVMOVRRD() 15769 NumBytes /= VecTy.getVectorNumElements(); in TryCombineBaseUpdate() 16443 assert(FromVT.getVectorNumElements() == ToVT.getVectorNumElements()); in PerformSplittingToNarrowingStores() 16876 return AVT.getVectorNumElements() == Ty.getVectorNumElements() && in PerformVECREDUCE_ADDCombine() 17498 assert(FromVT.getVectorNumElements() == ToVT.getVectorNumElements()); in PerformSplittingToWideningLoad() [all …]
|