Searched refs:NumBitsPerElt (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 7927 unsigned NumBitsPerElt = VT.getScalarSizeInBits(); in expandCTLZ() local 7942 DAG.getConstant(NumBitsPerElt, dl, VT), CTLZ); in expandCTLZ() 7947 if (VT.isVector() && (!isPowerOf2_32(NumBitsPerElt) || in expandCTLZ() 7963 for (unsigned i = 0; (1U << i) < NumBitsPerElt; ++i) { in expandCTLZ() 7976 unsigned NumBitsPerElt = VT.getScalarSizeInBits(); in expandCTTZ() local 7991 DAG.getConstant(NumBitsPerElt, dl, VT), CTTZ); in expandCTTZ() 7996 if (VT.isVector() && (!isPowerOf2_32(NumBitsPerElt) || in expandCTTZ() 8015 return DAG.getNode(ISD::SUB, dl, VT, DAG.getConstant(NumBitsPerElt, dl, VT), in expandCTTZ()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 8205 unsigned NumBitsPerElt = VT.getScalarSizeInBits(); in getFauxShuffleMask() local 8210 unsigned NumBytesPerElt = NumBitsPerElt / 8; in getFauxShuffleMask() 8465 APInt ZeroMask = APInt::getHighBitsSet(2 * NumBitsPerElt, NumBitsPerElt); in getFauxShuffleMask() 8508 unsigned Scale = NumBitsPerSrcElt / NumBitsPerElt; in getFauxShuffleMask() 8520 if (NumBitsPerElt <= ShiftVal) { in getFauxShuffleMask() 47097 unsigned NumBitsPerElt = VT.getScalarSizeInBits(); in combineVectorShiftImm() local 47110 if (ShiftVal >= NumBitsPerElt) { in combineVectorShiftImm() 47113 ShiftVal = NumBitsPerElt - 1; in combineVectorShiftImm() 47136 if (NewShiftVal >= NumBitsPerElt) { in combineVectorShiftImm() 47141 NewShiftVal = NumBitsPerElt - 1; in combineVectorShiftImm() [all …]
|