/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.h | 662 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 D | X86ISelLowering.h | 1469 bool storeOfVectorConstantIsCheap(bool IsZero, EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument 1473 return IsZero || NumElem > 2; in storeOfVectorConstantIsCheap()
|
H A D | X86TargetTransformInfo.cpp | 5070 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 D | AMDGPUISelLowering.h | 226 unsigned NumElem,
|
H A D | AMDGPURegisterBankInfo.cpp | 1936 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 D | SIISelLowering.h | 249 static bool shouldExpandVectorDynExt(unsigned EltSize, unsigned NumElem,
|
H A D | SIISelLowering.cpp | 13322 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 D | AMDGPUISelLowering.cpp | 959 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLoweringHVX.cpp | 518 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 D | LegalizeIntegerTypes.cpp | 1681 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 D | DAGCombiner.cpp | 20749 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 D | TargetLowering.cpp | 9631 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 D | LegalizeDAG.cpp | 4286 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 D | TargetLowering.h | 672 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
|