Home
last modified time | relevance | path

Searched refs:NumVectorElts (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600ISelDAGToDAG.cpp99 unsigned NumVectorElts = VT.getVectorNumElements(); in Select() local
105 switch (NumVectorElts) { in Select()
H A DAMDGPUISelDAGToDAG.cpp455 unsigned NumVectorElts = VT.getVectorNumElements(); in SelectBuildVector() local
460 if (NumVectorElts == 1) { in SelectBuildVector()
466 assert(NumVectorElts <= 32 && "Vectors with more than 32 elements not " in SelectBuildVector()
471 SmallVector<SDValue, 32 * 2 + 1> RegSeqArgs(NumVectorElts * 2 + 1); in SelectBuildVector()
489 if (NOps != NumVectorElts) { in SelectBuildVector()
491 assert(N->getOpcode() == ISD::SCALAR_TO_VECTOR && NOps < NumVectorElts); in SelectBuildVector()
494 for (unsigned i = NOps; i < NumVectorElts; ++i) { in SelectBuildVector()
567 unsigned NumVectorElts = VT.getVectorNumElements(); in Select() local
569 if (Opc == ISD::BUILD_VECTOR && NumVectorElts == 2) { in Select()
581 SIRegisterInfo::getSGPRClassForBitWidth(NumVectorElts * 32)->getID(); in Select()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp5710 unsigned NumVectorElts = NumElts.isScalable() ? 1 : NumElts.getFixedValue(); in FoldConstantArithmetic() local
5714 for (unsigned I = 0; I != NumVectorElts; I++) { in FoldConstantArithmetic()