Home
last modified time | relevance | path

Searched refs:NumElem (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h662 bool storeOfVectorConstantIsCheap(bool IsZero, EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument
666 return NumElem >= 4; in storeOfVectorConstantIsCheap()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1469 bool storeOfVectorConstantIsCheap(bool IsZero, EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument
1473 return IsZero || NumElem > 2; in storeOfVectorConstantIsCheap()
H A DX86TargetTransformInfo.cpp5070 unsigned NumElem = SrcVTy->getNumElements(); in getMaskedMemoryOpCost() local
5072 FixedVectorType::get(Type::getInt8Ty(SrcVTy->getContext()), NumElem); in getMaskedMemoryOpCost()
5076 APInt DemandedElts = APInt::getAllOnes(NumElem); in getMaskedMemoryOpCost()
5083 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost()
5087 NumElem * BaseT::getMemoryOpCost(Opcode, SrcVTy->getScalarType(), in getMaskedMemoryOpCost()
5102 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost()
5109 else if (LT.first * Ty.getVectorNumElements() > NumElem) { in getMaskedMemoryOpCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h226 unsigned NumElem,
H A DAMDGPURegisterBankInfo.cpp1936 unsigned NumElem = VecTy.getNumElements(); in foldExtractEltToCmpSelect() local
1938 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldExtractEltToCmpSelect()
1974 for (unsigned I = 1; I < NumElem; ++I) { in foldExtractEltToCmpSelect()
2034 unsigned NumElem = VecTy.getNumElements(); in foldInsertEltToCmpSelect() local
2036 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldInsertEltToCmpSelect()
2073 SmallVector<Register, 16> Ops(NumElem * NumLanes); in foldInsertEltToCmpSelect()
2075 for (unsigned I = 0; I < NumElem; ++I) { in foldInsertEltToCmpSelect()
H A DSIISelLowering.h249 static bool shouldExpandVectorDynExt(unsigned EltSize, unsigned NumElem,
H A DSIISelLowering.cpp13322 unsigned NumElem, in shouldExpandVectorDynExt() argument
13328 unsigned VecSize = EltSize * NumElem; in shouldExpandVectorDynExt()
13344 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt()
13345 ((EltSize + 31) / 32) * NumElem /* Number of cndmasks */; in shouldExpandVectorDynExt()
13366 unsigned NumElem = VecVT.getVectorNumElements(); in shouldExpandVectorDynExt() local
13369 EltSize, NumElem, Idx->isDivergent(), getSubtarget()); in shouldExpandVectorDynExt()
H A DAMDGPUISelLowering.cpp959 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp518 unsigned NumElem = VecTy.getVectorNumElements(); in typeSplit() local
519 assert((NumElem % 2) == 0 && "Expecting even-sized vector type"); in typeSplit()
520 MVT HalfTy = MVT::getVectorVT(VecTy.getVectorElementType(), NumElem/2); in typeSplit()
2356 unsigned NumElem = Ty0.getVectorNumElements(); in typeExtendToWider()
2357 assert(NumElem == Ty1.getVectorNumElements()); in typeExtendToWider() local
2359 return {MVT::getVectorVT(WideETy0, NumElem), in typeExtendToWider()
2360 MVT::getVectorVT(WideETy1, NumElem)}; in typeExtendToWider()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1681 unsigned NumElem = WideInOp.getValueType().getVectorNumElements(); in PromoteIntRes_TRUNCATE() local
1683 N->getValueType(0).getScalarType(), NumElem); in PromoteIntRes_TRUNCATE()
1688 NumElem); in PromoteIntRes_TRUNCATE()
5960 unsigned NumElem = N->getOperand(0).getValueType().getVectorNumElements(); in PromoteIntRes_CONCAT_VECTORS() local
5961 assert(NumElem * NumOperands == NumOutElem && in PromoteIntRes_CONCAT_VECTORS()
5971 assert(NumElem == Op.getValueType().getVectorNumElements() && in PromoteIntRes_CONCAT_VECTORS()
5974 for (unsigned j = 0; j < NumElem; ++j) { in PromoteIntRes_CONCAT_VECTORS()
5977 Ops[i * NumElem + j] = DAG.getAnyExtOrTrunc(Ext, dl, OutElemTy); in PromoteIntRes_CONCAT_VECTORS()
6138 unsigned NumElem = Incoming->getValueType(0).getVectorNumElements(); in PromoteIntOp_CONCAT_VECTORS() local
6140 for (unsigned i=0; i<NumElem; ++i) { in PromoteIntOp_CONCAT_VECTORS()
H A DDAGCombiner.cpp20749 unsigned NumElem = (UseVector) ? LastLegalVectorType : LastLegalType; in tryStoreMergeOfConstants() local
20754 if (NumElem < 2) { in tryStoreMergeOfConstants()
20774 if (!checkMergeStoreCandidatesForDependencies(StoreNodes, NumElem, in tryStoreMergeOfConstants()
20776 StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem); in tryStoreMergeOfConstants()
20777 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants()
20781 MadeChange |= mergeStoresOfConstantsOrVecElts(StoreNodes, MemVT, NumElem, in tryStoreMergeOfConstants()
20786 StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem); in tryStoreMergeOfConstants()
20787 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants()
21026 unsigned NumElem = std::min(NumConsecutiveStores, LastConsecutiveLoad + 1); in tryStoreMergeOfLoads() local
21027 NumElem = std::min(LastLegalType, NumElem); in tryStoreMergeOfLoads()
[all …]
H A DTargetLowering.cpp9631 unsigned NumElem = SrcVT.getVectorNumElements(); in scalarizeVectorLoad() local
9661 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad()
9663 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorLoad()
9689 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad()
9727 unsigned NumElem = StVT.getVectorNumElements(); in scalarizeVectorStore() local
9741 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore()
9747 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorStore()
9766 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore()
H A DLegalizeDAG.cpp4286 unsigned NumElem = VT.getVectorNumElements(); in ExpandNode() local
4289 for (unsigned Idx = 0; Idx < NumElem; Idx++) { in ExpandNode()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h672 unsigned NumElem, in storeOfVectorConstantIsCheap() argument