| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 212 bool storeOfVectorConstantIsCheap(bool IsZero, EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument 216 return NumElem >= 4; in storeOfVectorConstantIsCheap()
|
| H A D | RISCVISelLowering.cpp | 17838 SDValue NumElem = VPLoad->getVectorLength(); in performVP_REVERSECombine() local 17841 SDValue Temp1 = DAG.getNode(ISD::SUB, DL, XLenVT, NumElem, in performVP_REVERSECombine() 17898 SDValue NumElem = VPStore->getVectorLength(); in performVP_STORECombine() local 17901 SDValue Temp1 = DAG.getNode(ISD::SUB, DL, XLenVT, NumElem, in performVP_STORECombine()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1556 bool storeOfVectorConstantIsCheap(bool IsZero, EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument 1560 return IsZero || NumElem > 2; in storeOfVectorConstantIsCheap()
|
| H A D | X86TargetTransformInfo.cpp | 5405 unsigned NumElem = SrcVTy->getNumElements(); in getMaskedMemoryOpCost() local 5407 FixedVectorType::get(Type::getInt8Ty(SrcVTy->getContext()), NumElem); in getMaskedMemoryOpCost() 5411 APInt DemandedElts = APInt::getAllOnes(NumElem); in getMaskedMemoryOpCost() 5418 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost() 5422 NumElem * BaseT::getMemoryOpCost(Opcode, SrcVTy->getScalarType(), in getMaskedMemoryOpCost() 5437 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost() 5444 else if (LT.first * Ty.getVectorNumElements() > NumElem) { in getMaskedMemoryOpCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.h | 228 unsigned NumElem,
|
| H A D | AMDGPURegisterBankInfo.cpp | 1964 unsigned NumElem = VecTy.getNumElements(); in foldExtractEltToCmpSelect() local 1966 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldExtractEltToCmpSelect() 2002 for (unsigned I = 1; I < NumElem; ++I) { in foldExtractEltToCmpSelect() 2062 unsigned NumElem = VecTy.getNumElements(); in foldInsertEltToCmpSelect() local 2064 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldInsertEltToCmpSelect() 2101 SmallVector<Register, 16> Ops(NumElem * NumLanes); in foldInsertEltToCmpSelect() 2103 for (unsigned I = 0; I < NumElem; ++I) { in foldInsertEltToCmpSelect()
|
| H A D | SIISelLowering.h | 259 static bool shouldExpandVectorDynExt(unsigned EltSize, unsigned NumElem,
|
| H A D | SIISelLowering.cpp | 14131 unsigned NumElem, in shouldExpandVectorDynExt() argument 14137 unsigned VecSize = EltSize * NumElem; in shouldExpandVectorDynExt() 14153 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() 14154 ((EltSize + 31) / 32) * NumElem /* Number of cndmasks */; in shouldExpandVectorDynExt() 14178 unsigned NumElem = VecVT.getVectorNumElements(); in shouldExpandVectorDynExt() local 14181 EltSize, NumElem, Idx->isDivergent(), getSubtarget()); in shouldExpandVectorDynExt()
|
| H A D | AMDGPUISelLowering.cpp | 978 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 528 unsigned NumElem = VecTy.getVectorNumElements(); in typeSplit() local 529 assert((NumElem % 2) == 0 && "Expecting even-sized vector type"); in typeSplit() 530 MVT HalfTy = MVT::getVectorVT(VecTy.getVectorElementType(), NumElem/2); in typeSplit() 2393 unsigned NumElem = Ty0.getVectorNumElements(); in typeExtendToWider() local 2394 assert(NumElem == Ty1.getVectorNumElements()); in typeExtendToWider() 2396 return {MVT::getVectorVT(WideETy0, NumElem), in typeExtendToWider() 2397 MVT::getVectorVT(WideETy1, NumElem)}; in typeExtendToWider()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeIntegerTypes.cpp | 1726 unsigned NumElem = WideInOp.getValueType().getVectorNumElements(); in PromoteIntRes_TRUNCATE() local 1728 N->getValueType(0).getScalarType(), NumElem); in PromoteIntRes_TRUNCATE() 1733 NumElem); in PromoteIntRes_TRUNCATE() 6203 unsigned NumElem = N->getOperand(0).getValueType().getVectorNumElements(); in PromoteIntRes_CONCAT_VECTORS() local 6204 assert(NumElem * NumOperands == NumOutElem && in PromoteIntRes_CONCAT_VECTORS() 6214 assert(NumElem == Op.getValueType().getVectorNumElements() && in PromoteIntRes_CONCAT_VECTORS() 6217 for (unsigned j = 0; j < NumElem; ++j) { in PromoteIntRes_CONCAT_VECTORS() 6220 Ops[i * NumElem + j] = DAG.getAnyExtOrTrunc(Ext, dl, OutElemTy); in PromoteIntRes_CONCAT_VECTORS() 6415 unsigned NumElem = Incoming->getValueType(0).getVectorNumElements(); in PromoteIntOp_CONCAT_VECTORS() local 6417 for (unsigned i=0; i<NumElem; ++i) { in PromoteIntOp_CONCAT_VECTORS()
|
| H A D | DAGCombiner.cpp | 21796 unsigned NumElem = (UseVector) ? LastLegalVectorType : LastLegalType; in tryStoreMergeOfConstants() local 21801 if (NumElem < 2) { in tryStoreMergeOfConstants() 21821 if (!checkMergeStoreCandidatesForDependencies(StoreNodes, NumElem, in tryStoreMergeOfConstants() 21823 StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem); in tryStoreMergeOfConstants() 21824 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants() 21828 MadeChange |= mergeStoresOfConstantsOrVecElts(StoreNodes, MemVT, NumElem, in tryStoreMergeOfConstants() 21833 StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem); in tryStoreMergeOfConstants() 21834 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants() 22073 unsigned NumElem = std::min(NumConsecutiveStores, LastConsecutiveLoad + 1); in tryStoreMergeOfLoads() local 22074 NumElem = std::min(LastLegalType, NumElem); in tryStoreMergeOfLoads() [all …]
|
| H A D | TargetLowering.cpp | 10126 unsigned NumElem = SrcVT.getVectorNumElements(); in scalarizeVectorLoad() local 10156 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad() 10158 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorLoad() 10184 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad() 10221 unsigned NumElem = StVT.getVectorNumElements(); in scalarizeVectorStore() local 10235 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore() 10240 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorStore() 10259 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore()
|
| H A D | LegalizeDAG.cpp | 4424 unsigned NumElem = VT.getVectorNumElements(); in ExpandNode() local 4427 for (unsigned Idx = 0; Idx < NumElem; Idx++) { in ExpandNode()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 702 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 6586 int NumElem = ToBits / FromBits; in lowerSIGN_EXTEND_VECTOR_INREG() local 6587 if (ShuffleMask[0] == NumElem - 1 && ShuffleMask[1] == 2 * NumElem - 1) in lowerSIGN_EXTEND_VECTOR_INREG()
|