Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelDAGToDAG.cpp114 unsigned NumVectorElts = VT.getVectorNumElements(); in Select() local
120 switch (NumVectorElts) { in Select()
H A DAMDGPUISelDAGToDAG.cpp443 unsigned NumVectorElts = VT.getVectorNumElements(); in SelectBuildVector() local
448 if (NumVectorElts == 1) { in SelectBuildVector()
454 assert(NumVectorElts <= 32 && "Vectors with more than 32 elements not " in SelectBuildVector()
459 SmallVector<SDValue, 32 * 2 + 1> RegSeqArgs(NumVectorElts * 2 + 1); in SelectBuildVector()
477 if (NOps != NumVectorElts) { in SelectBuildVector()
479 assert(N->getOpcode() == ISD::SCALAR_TO_VECTOR && NOps < NumVectorElts); in SelectBuildVector()
482 for (unsigned i = NOps; i < NumVectorElts; ++i) { in SelectBuildVector()
551 unsigned NumVectorElts = VT.getVectorNumElements(); in Select() local
553 if (Opc == ISD::BUILD_VECTOR && NumVectorElts == 2) { in Select()
565 SIRegisterInfo::getSGPRClassForBitWidth(NumVectorElts * 32)->getID(); in Select()
H A DAMDGPUTargetTransformInfo.cpp1118 unsigned NumVectorElts = cast<FixedVectorType>(VT)->getNumElements(); in getShuffleCost() local
1132 if (HasVOP3P && NumVectorElts == 2) in getShuffleCost()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6698 unsigned NumVectorElts = NumElts.isScalable() ? 1 : NumElts.getFixedValue(); in FoldConstantArithmetic() local
6702 for (unsigned I = 0; I != NumVectorElts; I++) { in FoldConstantArithmetic()