Home
last modified time | relevance | path

Searched refs:MinElts (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp813 unsigned MinElts) { in buildVScale() argument
817 ConstantInt *CI = ConstantInt::get(IntN, MinElts); in buildVScale()
822 const ConstantInt &MinElts) { in buildVScale() argument
826 VScale.addCImm(&MinElts); in buildVScale()
831 const APInt &MinElts) { in buildVScale() argument
833 ConstantInt::get(getMF().getFunction().getContext(), MinElts); in buildVScale()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMachineIRBuilder.h1173 MachineInstrBuilder buildVScale(const DstOp &Res, unsigned MinElts);
1184 MachineInstrBuilder buildVScale(const DstOp &Res, const ConstantInt &MinElts);
1195 MachineInstrBuilder buildVScale(const DstOp &Res, const APInt &MinElts);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCV.cpp1379 unsigned MinElts = Info.EC.getKnownMinValue(); in checkRVVTypeSupport() local
1387 MinElts == 1) && in checkRVVTypeSupport()
H A DSemaType.cpp8343 unsigned MinElts = Info.EC.getKnownMinValue(); in HandleRISCVRVVVectorBitsTypeAttr() local
8346 unsigned ExpectedSize = VScale->first * MinElts; in HandleRISCVRVVVectorBitsTypeAttr()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp4375 unsigned MinElts = RetTy->getMinNumElements() / N; in UpgradeIntrinsicCall() local
4380 Value *Idx = ConstantInt::get(Type::getInt64Ty(C), I * MinElts); in UpgradeIntrinsicCall()
4403 unsigned MinElts = RetTy->getMinNumElements(); in UpgradeIntrinsicCall() local
4405 Value *NewIdx = ConstantInt::get(Type::getInt64Ty(C), I * MinElts); in UpgradeIntrinsicCall()
4435 unsigned MinElts = RetTy->getMinNumElements() / N; in UpgradeIntrinsicCall() local
4437 Value *Idx = ConstantInt::get(Type::getInt64Ty(C), I * MinElts); in UpgradeIntrinsicCall()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp10017 unsigned MinElts = VTy->getMinNumElements(); in EmitSVEStructLoad() local
10020 Value *Idx = ConstantInt::get(CGM.Int64Ty, I * MinElts); in EmitSVEStructLoad()
10369 unsigned MinElts = SrcTy->getMinNumElements(); in EmitSVETupleCreate() local
10372 Value *Idx = ConstantInt::get(CGM.Int64Ty, I * MinElts); in EmitSVETupleCreate()
10393 unsigned MinElts = IsPredTy ? 16 : VTy->getMinNumElements(); in FormSVEBuiltinResult() local
10396 ScalableVectorType::get(VTy->getElementType(), MinElts * N); in FormSVEBuiltinResult()
10401 Value *Idx = ConstantInt::get(CGM.Int64Ty, I * MinElts); in FormSVEBuiltinResult()
10452 unsigned MinElts = VTy->getMinNumElements(); in GetAArch64SVEProcessedOperands() local
10454 unsigned N = (MinElts * VTy->getScalarSizeInBits()) / (IsPred ? 16 : 128); in GetAArch64SVEProcessedOperands()
10462 Value *Idx = ConstantInt::get(CGM.Int64Ty, (I * MinElts) / N); in GetAArch64SVEProcessedOperands()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp5109 unsigned MinElts = N->getValueType(0).getVectorNumElements(); in WidenVecRes_Convert()
5110 for (unsigned i=0; i < MinElts; ++i) { in WidenVecRes_Convert()
5194 unsigned MinElts = N->getValueType(0).getVectorNumElements(); in WidenVecRes_Convert_StrictFP()
5195 for (unsigned i=0; i < MinElts; ++i) { in WidenVecRes_Convert_StrictFP()
5105 unsigned MinElts = N->getValueType(0).getVectorNumElements(); WidenVecRes_Convert() local
5190 unsigned MinElts = N->getValueType(0).getVectorNumElements(); WidenVecRes_Convert_StrictFP() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp3524 unsigned MinElts = VecVTy->getElementCount().getKnownMinValue(); in getInterleavedMemoryOpCost() local
3533 if (MinElts % Factor == 0 && in getInterleavedMemoryOpCost()
H A DAArch64ISelLowering.cpp16601 unsigned MinElts = VecTy->getElementCount().getKnownMinValue(); in getNumInterleavedAccesses() local
16604 return std::max<unsigned>(1, (MinElts * ElSize + 127) / VecSize); in getNumInterleavedAccesses()
16619 unsigned MinElts = EC.getKnownMinValue(); in isLegalInterleavedAccessType() local
16625 !getSVEPredPatternFromNumElements(MinElts))) in isLegalInterleavedAccessType()
16633 if (MinElts < 2) in isLegalInterleavedAccessType()
16642 return isPowerOf2_32(MinElts) && (MinElts * ElSize) % 128 == 0; in isLegalInterleavedAccessType()
16650 (VecSize < MinSVEVectorSize && isPowerOf2_32(MinElts) && in isLegalInterleavedAccessType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp9986 uint64_t MinElts = Info.EC.getKnownMinValue(); in getRVVTypeSize() local
9987 return VScale->first * MinElts * EltSize; in getRVVTypeSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp168 unsigned MinElts = RISCV::RVVBitsPerBlock / Subtarget.getELen(); in RISCVTargetLowering() local
169 if (VT.getVectorMinNumElements() < MinElts) in RISCVTargetLowering()
11716 unsigned MinElts = GatherVT.getVectorMinNumElements(); in lowerVPReverseExperimental()
11718 DAG.getVScale(DL, XLenVT, APInt(XLenVT.getSizeInBits(), MinElts)); in lowerVPReverseExperimental()
11714 unsigned MinElts = GatherVT.getVectorMinNumElements(); lowerVPReverseExperimental() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp26540 unsigned MinElts = std::min(Index.getSimpleValueType().getVectorNumElements(), in getGatherNode() local
26542 MVT MaskVT = MVT::getVectorVT(MVT::i1, MinElts); in getGatherNode()
26577 unsigned MinElts = std::min(Index.getSimpleValueType().getVectorNumElements(), in getScatterNode() local
26579 MVT MaskVT = MVT::getVectorVT(MVT::i1, MinElts); in getScatterNode()
32728 unsigned MinElts = VT.getVectorNumElements(); in ReplaceNodeResults() local
32750 for (unsigned I = 0; I < MinElts; ++I) in ReplaceNodeResults()
32802 !(MinElts <= 4 && InEltVT == MVT::i64 && EltVT == MVT::i8)))) { in ReplaceNodeResults()