| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 1844 unsigned EltWidth = Ty->getScalarSizeInBits(); in upgradeX86VPERMT2Intrinsics() local 1847 if (VecWidth == 128 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1849 else if (VecWidth == 128 && EltWidth == 32 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1851 else if (VecWidth == 128 && EltWidth == 64 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1853 else if (VecWidth == 128 && EltWidth == 64 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1855 else if (VecWidth == 256 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1857 else if (VecWidth == 256 && EltWidth == 32 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1859 else if (VecWidth == 256 && EltWidth == 64 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1861 else if (VecWidth == 256 && EltWidth == 64 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1863 else if (VecWidth == 512 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringBase.cpp | 1009 unsigned EltWidth = RetTy->getScalarSizeInBits(); in getBitWidthForCttzElements() local 1010 EltWidth = std::min(EltWidth, (unsigned)CR.getActiveBits()); in getBitWidthForCttzElements() 1011 EltWidth = std::max(llvm::bit_ceil(EltWidth), (unsigned)8); in getBitWidthForCttzElements() 1013 return EltWidth; in getBitWidthForCttzElements()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 1142 unsigned EltWidth = DataTy->getScalarSizeInBits(); in isLegalMaskedLoad() local 1143 return (EltWidth == 32 && Alignment >= 4) || in isLegalMaskedLoad() 1144 (EltWidth == 16 && Alignment >= 2) || (EltWidth == 8); in isLegalMaskedLoad() 1151 unsigned EltWidth = Ty->getScalarSizeInBits(); in isLegalMaskedGather() local 1152 return ((EltWidth == 32 && Alignment >= 4) || in isLegalMaskedGather() 1153 (EltWidth == 16 && Alignment >= 2) || EltWidth == 8); in isLegalMaskedGather()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypes.cpp | 890 unsigned EltWidth = Op.getScalarValueSizeInBits(); in BitConvertVectorToIntegerVector() local 891 EVT EltNVT = EVT::getIntegerVT(*DAG.getContext(), EltWidth); in BitConvertVectorToIntegerVector()
|
| H A D | LegalizeVectorOps.cpp | 1449 unsigned EltWidth = VT.getScalarSizeInBits(); in ExpandSIGN_EXTEND_VECTOR_INREG() local 1451 SDValue ShiftAmount = DAG.getConstant(EltWidth - SrcEltWidth, DL, VT); in ExpandSIGN_EXTEND_VECTOR_INREG()
|
| H A D | LegalizeVectorTypes.cpp | 3196 unsigned EltWidth = VT.getScalarSizeInBits() / 8; in SplitVecRes_VP_REVERSE() local 3201 DAG.getConstant(EltWidth, DL, PtrVT)); in SplitVecRes_VP_REVERSE() 3203 SDValue Stride = DAG.getConstant(-(int64_t)EltWidth, DL, PtrVT); in SplitVecRes_VP_REVERSE() 3265 unsigned EltWidth = VT.getScalarSizeInBits() / 8; in SplitVecRes_VP_SPLICE() local 3266 SDValue TrailingBytes = DAG.getConstant(TrailingElts * EltWidth, DL, PtrVT); in SplitVecRes_VP_SPLICE()
|
| H A D | TargetLowering.cpp | 4082 unsigned EltWidth; in isConstTrueVal() local 4087 EltWidth = N.getValueType().getScalarSizeInBits(); in isConstTrueVal() 4093 if (EltWidth < CVal.getBitWidth()) in isConstTrueVal() 4094 CVal = CVal.trunc(EltWidth); in isConstTrueVal() 9620 unsigned EltWidth = TLI.getBitWidthForCttzElements( in expandVectorFindLastActive() local 9623 EVT StepVT = MVT::getIntegerVT(EltWidth); in expandVectorFindLastActive()
|
| H A D | SelectionDAG.cpp | 13322 unsigned EltWidth = VT.getScalarSizeInBits(); in isConstantSplat() local 13327 unsigned BitPos = j * EltWidth; in isConstantSplat() 13330 SplatUndef.setBits(BitPos, BitPos + EltWidth); in isConstantSplat() 13332 SplatValue.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), BitPos); in isConstantSplat()
|
| H A D | SelectionDAGBuilder.cpp | 8129 unsigned EltWidth = TLI.getBitWidthForCttzElements( in visitIntrinsicCall() local 8132 MVT NewEltTy = MVT::getIntegerVT(EltWidth); in visitIntrinsicCall()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | X86.cpp | 539 unsigned EltWidth = Ty->getScalarSizeInBits(); in EmitX86Ternlog() local 541 if (VecWidth == 128 && EltWidth == 32) in EmitX86Ternlog() 543 else if (VecWidth == 256 && EltWidth == 32) in EmitX86Ternlog() 545 else if (VecWidth == 512 && EltWidth == 32) in EmitX86Ternlog() 547 else if (VecWidth == 128 && EltWidth == 64) in EmitX86Ternlog() 549 else if (VecWidth == 256 && EltWidth == 64) in EmitX86Ternlog() 551 else if (VecWidth == 512 && EltWidth == 64) in EmitX86Ternlog()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 2825 unsigned EltWidth = Y->getType()->getScalarSizeInBits(); in visitBitCast() local 2826 APInt MaskC = APInt::getHighBitsSet(BitWidth, BitWidth - EltWidth); in visitBitCast()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 2083 unsigned EltWidth = getTLI()->getBitWidthForCttzElements( in getIntrinsicInstrCost() local 2085 Type *NewEltTy = IntegerType::getIntNTy(RetTy->getContext(), EltWidth); in getIntrinsicInstrCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 20514 unsigned EltWidth = VT.getScalarSizeInBits(); in PerformDAGCombine() local 20515 if (ScalarSize > EltWidth && Passthru.isUndef()) in PerformDAGCombine() 20516 if (SimplifyDemandedLowBitsHelper(1, EltWidth)) in PerformDAGCombine() 20524 !Const->getAPIntValue().sextOrTrunc(EltWidth).isSignedIntN(5))) in PerformDAGCombine() 20558 unsigned EltWidth = VT.getScalarSizeInBits(); in PerformDAGCombine() local 20559 if (ScalarSize > EltWidth && SimplifyDemandedLowBitsHelper(1, EltWidth)) in PerformDAGCombine()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 9606 unsigned EltWidth = VT.getScalarSizeInBits(); in isValidMtVsrBmi() local 9616 ConstValue.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), in isValidMtVsrBmi() 9617 IsLittleEndian ? BitPos : VTSize - EltWidth - BitPos); in isValidMtVsrBmi() 9618 BitPos += EltWidth; in isValidMtVsrBmi()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 15959 unsigned EltWidth = VT.getVectorElementType().getSizeInBits(); in lowerShuffleWithUndefHalf() local 15971 if (EltWidth == 32 && NumLowerHalves && HalfVT.is128BitVector() && in lowerShuffleWithUndefHalf() 15980 if (EltWidth == 64 && V2.isUndef()) in lowerShuffleWithUndefHalf() 15984 if (EltWidth == 8 && HalfIdx1 == 0 && HalfIdx2 == 1) in lowerShuffleWithUndefHalf() 16004 if (Subtarget.hasAVX2() && EltWidth == 64) in lowerShuffleWithUndefHalf() 56562 unsigned EltWidth = SrcVT.getScalarSizeInBits(); in combineMOVMSK() local 56564 Src.getOperand(0).getScalarValueSizeInBits() == EltWidth) in combineMOVMSK()
|