/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | AutoUpgrade.cpp | 1657 unsigned EltWidth = Ty->getScalarSizeInBits(); in upgradeX86VPERMT2Intrinsics() local 1660 if (VecWidth == 128 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1662 else if (VecWidth == 128 && EltWidth == 32 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1664 else if (VecWidth == 128 && EltWidth == 64 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1666 else if (VecWidth == 128 && EltWidth == 64 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1668 else if (VecWidth == 256 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1670 else if (VecWidth == 256 && EltWidth == 32 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1672 else if (VecWidth == 256 && EltWidth == 64 && IsFloat) in upgradeX86VPERMT2Intrinsics() 1674 else if (VecWidth == 256 && EltWidth == 64 && !IsFloat) in upgradeX86VPERMT2Intrinsics() 1676 else if (VecWidth == 512 && EltWidth == 32 && IsFloat) in upgradeX86VPERMT2Intrinsics() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetLoweringBase.cpp | 910 unsigned EltWidth = RetTy->getScalarSizeInBits(); in getBitWidthForCttzElements() local 911 EltWidth = std::min(EltWidth, (unsigned)CR.getActiveBits()); in getBitWidthForCttzElements() 912 EltWidth = std::max(llvm::bit_ceil(EltWidth), (unsigned)8); in getBitWidthForCttzElements() 914 return EltWidth; in getBitWidthForCttzElements()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.cpp | 1122 unsigned EltWidth = DataTy->getScalarSizeInBits(); in isLegalMaskedLoad() local 1123 return (EltWidth == 32 && Alignment >= 4) || in isLegalMaskedLoad() 1124 (EltWidth == 16 && Alignment >= 2) || (EltWidth == 8); in isLegalMaskedLoad() 1131 unsigned EltWidth = Ty->getScalarSizeInBits(); in isLegalMaskedGather() local 1132 return ((EltWidth == 32 && Alignment >= 4) || in isLegalMaskedGather() 1133 (EltWidth == 16 && Alignment >= 2) || EltWidth == 8); in isLegalMaskedGather()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypes.cpp | 887 unsigned EltWidth = Op.getScalarValueSizeInBits(); in BitConvertVectorToIntegerVector() local 888 EVT EltNVT = EVT::getIntegerVT(*DAG.getContext(), EltWidth); in BitConvertVectorToIntegerVector()
|
H A D | LegalizeVectorOps.cpp | 1268 unsigned EltWidth = VT.getScalarSizeInBits(); in ExpandSIGN_EXTEND_VECTOR_INREG() local 1270 SDValue ShiftAmount = DAG.getConstant(EltWidth - SrcEltWidth, DL, VT); in ExpandSIGN_EXTEND_VECTOR_INREG()
|
H A D | LegalizeVectorTypes.cpp | 3057 unsigned EltWidth = VT.getScalarSizeInBits() / 8; in SplitVecRes_VP_REVERSE() local 3062 DAG.getConstant(EltWidth, DL, PtrVT)); in SplitVecRes_VP_REVERSE() 3064 SDValue Stride = DAG.getConstant(-(int64_t)EltWidth, DL, PtrVT); in SplitVecRes_VP_REVERSE()
|
H A D | SelectionDAG.cpp | 12747 unsigned EltWidth = VT.getScalarSizeInBits(); in isConstantSplat() local 12752 unsigned BitPos = j * EltWidth; in isConstantSplat() 12755 SplatUndef.setBits(BitPos, BitPos + EltWidth); in isConstantSplat() 12757 SplatValue.insertBits(CN->getAPIntValue().zextOrTrunc(EltWidth), BitPos); in isConstantSplat()
|
H A D | TargetLowering.cpp | 3906 unsigned EltWidth; in isConstTrueVal() local 3911 EltWidth = N.getValueType().getScalarSizeInBits(); in isConstTrueVal() 3917 if (EltWidth < CVal.getBitWidth()) in isConstTrueVal() 3918 CVal = CVal.trunc(EltWidth); in isConstTrueVal()
|
H A D | SelectionDAGBuilder.cpp | 8043 unsigned EltWidth = TLI.getBitWidthForCttzElements( in visitIntrinsicCall() local 8046 MVT NewEltTy = MVT::getIntegerVT(EltWidth); in visitIntrinsicCall()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 1785 unsigned EltWidth = getTLI()->getBitWidthForCttzElements( in getIntrinsicInstrCost() local 1787 Type *NewEltTy = IntegerType::getIntNTy(RetTy->getContext(), EltWidth); in getIntrinsicInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 2744 unsigned EltWidth = Y->getType()->getScalarSizeInBits(); in visitBitCast() local 2745 APInt MaskC = APInt::getHighBitsSet(BitWidth, BitWidth - EltWidth); in visitBitCast()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 14108 unsigned EltWidth = Ty->getScalarSizeInBits(); in EmitX86Ternlog() local 14110 if (VecWidth == 128 && EltWidth == 32) in EmitX86Ternlog() 14112 else if (VecWidth == 256 && EltWidth == 32) in EmitX86Ternlog() 14114 else if (VecWidth == 512 && EltWidth == 32) in EmitX86Ternlog() 14116 else if (VecWidth == 128 && EltWidth == 64) in EmitX86Ternlog() 14118 else if (VecWidth == 256 && EltWidth == 64) in EmitX86Ternlog() 14120 else if (VecWidth == 512 && EltWidth == 64) in EmitX86Ternlog()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 17462 unsigned EltWidth = VT.getScalarSizeInBits(); in PerformDAGCombine() local 17463 if (ScalarSize > EltWidth && Passthru.isUndef()) in PerformDAGCombine() 17464 if (SimplifyDemandedLowBitsHelper(1, EltWidth)) in PerformDAGCombine() 17472 !Const->getAPIntValue().sextOrTrunc(EltWidth).isSignedIntN(5))) in PerformDAGCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 15376 unsigned EltWidth = VT.getVectorElementType().getSizeInBits(); in lowerShuffleWithUndefHalf() local 15388 if (EltWidth == 32 && NumLowerHalves && HalfVT.is128BitVector() && in lowerShuffleWithUndefHalf() 15397 if (EltWidth == 64 && V2.isUndef()) in lowerShuffleWithUndefHalf() 15417 if (Subtarget.hasAVX2() && EltWidth == 64) in lowerShuffleWithUndefHalf() 54519 unsigned EltWidth = SrcVT.getScalarSizeInBits(); in combineMOVMSK() local 54521 Src.getOperand(0).getScalarValueSizeInBits() == EltWidth) in combineMOVMSK()
|