/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | CBufferDataLayout.cpp | 103 if (TypeSize ScalarSize = EltTy->getScalarType()->getPrimitiveSizeInBits()) in getStructLayout() local 104 Offset = alignTo(Offset, ScalarSize >> 3); in getStructLayout()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LowLevelType.h | 120 static constexpr LLT scalarOrVector(ElementCount EC, uint64_t ScalarSize) { in scalarOrVector() argument 121 assert(ScalarSize <= std::numeric_limits<unsigned>::max() && in scalarOrVector() 123 return scalarOrVector(EC, LLT::scalar(static_cast<unsigned>(ScalarSize))); in scalarOrVector()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64PostLegalizerLowering.cpp | 713 unsigned ScalarSize = ScalarTy.getSizeInBits(); in matchDupLane() local 718 if (ScalarSize == 64) in matchDupLane() 720 else if (ScalarSize == 32) in matchDupLane() 724 if (ScalarSize == 32) in matchDupLane() 726 else if (ScalarSize == 16) in matchDupLane() 730 if (ScalarSize == 8) in matchDupLane() 732 else if (ScalarSize == 16) in matchDupLane() 736 if (ScalarSize == 8) in matchDupLane()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ShuffleDecode.h | 113 void decodeVSHUF64x2FamilyMask(unsigned NumElts, unsigned ScalarSize,
|
H A D | X86ShuffleDecode.cpp | 263 void decodeVSHUF64x2FamilyMask(unsigned NumElts, unsigned ScalarSize, in decodeVSHUF64x2FamilyMask() argument 266 unsigned NumElementsInLane = 128 / ScalarSize; in decodeVSHUF64x2FamilyMask()
|
H A D | X86InstComments.cpp | 249 static unsigned getRegOperandNumElts(const MCInst *MI, unsigned ScalarSize, in getRegOperandNumElts() argument 252 return getVectorRegSize(OpReg) / ScalarSize; in getRegOperandNumElts()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 147 uint64_t ScalarSize = ScalarTy->getPrimitiveSizeInBits(); in canWidenLoad() local 149 if (!ScalarSize || !MinVectorSize || MinVectorSize % ScalarSize != 0 || in canWidenLoad() 150 ScalarSize % 8 != 0) in canWidenLoad() 175 uint64_t ScalarSize = ScalarTy->getPrimitiveSizeInBits(); in vectorizeLoadInsert() local 186 unsigned MinVecNumElts = MinVectorSize / ScalarSize; in vectorizeLoadInsert() 207 uint64_t ScalarSizeInBytes = ScalarSize / 8; in vectorizeLoadInsert()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InterleavedAccess.cpp | 230 unsigned ScalarSize = VT.getVectorElementType().getScalarSizeInBits() * 2; in scaleVectorType() local 231 return MVT::getVectorVT(MVT::getIntegerVT(ScalarSize), in scaleVectorType()
|
H A D | X86ISelLowering.cpp | 7096 APInt Val = SplatValue.extractBits(ScalarSize, ScalarSize * I); in getConstantVector() 7256 if (!(UndefElements[0] || (ScalarSize != 32 && ScalarSize != 64))) in lowerBuildVectorAsBroadcast() 7324 (ScalarSize == 32 || (IsGE256 && ScalarSize == 64))) in lowerBuildVectorAsBroadcast() 7335 if (ScalarSize == 32 || (IsGE256 && ScalarSize == 64) || in lowerBuildVectorAsBroadcast() 7350 (ScalarSize == 8 || ScalarSize == 16 || ScalarSize == 64)) { in lowerBuildVectorAsBroadcast() 10862 for (int ScalarSize = 64; ScalarSize >= OrigScalarSize; ScalarSize /= 2) in lowerShuffleAsPermuteAndUnpack() local 10863 if (SDValue Unpack = TryUnpack(ScalarSize, ScalarSize / OrigScalarSize)) in lowerShuffleAsPermuteAndUnpack() 53575 if ((ScalarSize == 16 && Subtarget.hasFP16()) || ScalarSize == 32 || in combineUIntToFP() 53576 ScalarSize >= 64) in combineUIntToFP() 53645 if ((ScalarSize == 16 && Subtarget.hasFP16()) || ScalarSize == 32 || in combineSIntToFP() [all …]
|
H A D | X86TargetTransformInfo.cpp | 5219 unsigned ScalarSize = ValVTy->getScalarSizeInBits(); in getArithmeticReductionCost() local 5223 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits()) in getArithmeticReductionCost() 5243 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost() 5414 unsigned ScalarSize = ValTy->getScalarSizeInBits(); in getMinMaxReductionCost() local 5419 ScalarSize != MTy.getScalarSizeInBits()) in getMinMaxReductionCost() 5426 unsigned Size = NumVecElts * ScalarSize; in getMinMaxReductionCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 1554 unsigned ScalarSize = Ty->getScalarSizeInBits(); in visitBinaryOperator() local 1560 ScalarSize <= 64 && in visitBinaryOperator() 1575 if (ScalarSize <= 32) { in visitBinaryOperator() 1595 if (ScalarSize <= 32) in visitBinaryOperator()
|
H A D | SIISelLowering.cpp | 11807 auto ScalarSize = Op.getScalarValueSizeInBits(); in calculateByteProvider() local 11808 if (ScalarSize != 32) { in calculateByteProvider() 11809 if ((VecIdx + 1) * ScalarSize > 32) in calculateByteProvider() 11811 Index = ScalarSize == 8 ? VecIdx : VecIdx * 2 + Index; in calculateByteProvider() 11814 return calculateSrcByte(ScalarSize == 32 ? Op : Op.getOperand(0), in calculateByteProvider()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MIParser.cpp | 1921 auto ScalarSize = APSInt(Token.range().drop_front()).getZExtValue(); in parseLowLevelType() local 1922 if (!verifyScalarSize(ScalarSize)) in parseLowLevelType() 1925 Ty = LLT::scalar(ScalarSize); in parseLowLevelType() 1981 auto ScalarSize = APSInt(Token.range().drop_front()).getZExtValue(); in parseLowLevelType() local 1982 if (!verifyScalarSize(ScalarSize)) in parseLowLevelType() 1984 Ty = LLT::scalar(ScalarSize); in parseLowLevelType()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 1394 const unsigned ScalarSize = MRI.getType(Def).getScalarSizeInBits(); in isConstantOrConstantSplatVector() local 1395 return APInt(ScalarSize, *MaybeCst, true); in isConstantOrConstantSplatVector()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 3106 unsigned ScalarSize = Op.getOperand(0).getScalarValueSizeInBits(); in computeKnownBits() local 3107 assert(ScalarSize * Op.getNumOperands() == BitWidth && in computeKnownBits() 3110 Known.insertBits(computeKnownBits(SrcOp, Depth + 1), ScalarSize * I); in computeKnownBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 26853 unsigned ScalarSize = Op.getScalarValueSizeInBits(); in SimplifyDemandedBitsForTargetNode() local 26854 assert(ScalarSize > ShiftLBits && "Invalid shift imm"); in SimplifyDemandedBitsForTargetNode() 26856 APInt ZeroBits = APInt::getLowBitsSet(ScalarSize, ShiftLBits); in SimplifyDemandedBitsForTargetNode()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 15929 unsigned ScalarSize = Scalar.getValueSizeInBits(); in PerformDAGCombine() local 15931 if (ScalarSize > EltWidth && Passthru.isUndef()) in PerformDAGCombine()
|