| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 603 bool storeOfVectorConstantIsCheap(bool IsZero, EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument 607 return NumElem >= 4; in storeOfVectorConstantIsCheap()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1458 bool storeOfVectorConstantIsCheap(bool IsZero, EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument 1462 return IsZero || NumElem > 2; in storeOfVectorConstantIsCheap()
|
| H A D | X86TargetTransformInfo.cpp | 4944 unsigned NumElem = SrcVTy->getNumElements(); in getMaskedMemoryOpCost() local 4946 FixedVectorType::get(Type::getInt8Ty(SrcVTy->getContext()), NumElem); in getMaskedMemoryOpCost() 4950 APInt DemandedElts = APInt::getAllOnes(NumElem); in getMaskedMemoryOpCost() 4957 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost() 4961 NumElem * BaseT::getMemoryOpCost(Opcode, SrcVTy->getScalarType(), in getMaskedMemoryOpCost() 4971 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost() 4978 else if (LT.first * LT.second.getVectorNumElements() > NumElem) { in getMaskedMemoryOpCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.h | 226 unsigned NumElem,
|
| H A D | AMDGPURegisterBankInfo.cpp | 1937 unsigned NumElem = VecTy.getNumElements(); in foldExtractEltToCmpSelect() local 1939 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldExtractEltToCmpSelect() 1975 for (unsigned I = 1; I < NumElem; ++I) { in foldExtractEltToCmpSelect() 2035 unsigned NumElem = VecTy.getNumElements(); in foldInsertEltToCmpSelect() local 2037 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldInsertEltToCmpSelect() 2074 SmallVector<Register, 16> Ops(NumElem * NumLanes); in foldInsertEltToCmpSelect() 2076 for (unsigned I = 0; I < NumElem; ++I) { in foldInsertEltToCmpSelect()
|
| H A D | SIISelLowering.h | 251 static bool shouldExpandVectorDynExt(unsigned EltSize, unsigned NumElem,
|
| H A D | SIISelLowering.cpp | 13024 unsigned NumElem, in shouldExpandVectorDynExt() argument 13030 unsigned VecSize = EltSize * NumElem; in shouldExpandVectorDynExt() 13046 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() 13047 ((EltSize + 31) / 32) * NumElem /* Number of cndmasks */; in shouldExpandVectorDynExt() 13068 unsigned NumElem = VecVT.getVectorNumElements(); in shouldExpandVectorDynExt() local 13071 EltSize, NumElem, Idx->isDivergent(), getSubtarget()); in shouldExpandVectorDynExt()
|
| H A D | AMDGPUISelLowering.cpp | 918 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
|
| /freebsd-14.2/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() local 2357 assert(NumElem == Ty1.getVectorNumElements()); in typeExtendToWider() 2359 return {MVT::getVectorVT(WideETy0, NumElem), in typeExtendToWider() 2360 MVT::getVectorVT(WideETy1, NumElem)}; in typeExtendToWider()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeIntegerTypes.cpp | 1538 unsigned NumElem = WideInOp.getValueType().getVectorNumElements(); in PromoteIntRes_TRUNCATE() local 1540 N->getValueType(0).getScalarType(), NumElem); in PromoteIntRes_TRUNCATE() 1545 NumElem); in PromoteIntRes_TRUNCATE() 5787 unsigned NumElem = N->getOperand(0).getValueType().getVectorNumElements(); in PromoteIntRes_CONCAT_VECTORS() local 5788 assert(NumElem * NumOperands == NumOutElem && in PromoteIntRes_CONCAT_VECTORS() 5798 assert(NumElem == Op.getValueType().getVectorNumElements() && in PromoteIntRes_CONCAT_VECTORS() 5801 for (unsigned j = 0; j < NumElem; ++j) { in PromoteIntRes_CONCAT_VECTORS() 5804 Ops[i * NumElem + j] = DAG.getAnyExtOrTrunc(Ext, dl, OutElemTy); in PromoteIntRes_CONCAT_VECTORS() 5947 unsigned NumElem = Incoming->getValueType(0).getVectorNumElements(); in PromoteIntOp_CONCAT_VECTORS() local 5949 for (unsigned i=0; i<NumElem; ++i) { in PromoteIntOp_CONCAT_VECTORS()
|
| H A D | DAGCombiner.cpp | 20408 if (NumElem < 2) { in tryStoreMergeOfConstants() 20431 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants() 20441 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants() 20681 NumElem = std::min(LastLegalType, NumElem); in tryStoreMergeOfLoads() 20684 if (NumElem < 2) { in tryStoreMergeOfLoads() 20708 NumConsecutiveStores -= NumElem; in tryStoreMergeOfLoads() 20717 unsigned Elts = NumElem * NumMemElts; in tryStoreMergeOfLoads() 20720 unsigned SizeInBits = NumElem * ElementSizeBytes * 8; in tryStoreMergeOfLoads() 20784 for (unsigned i = 0; i < NumElem; ++i) { in tryStoreMergeOfLoads() 20792 for (unsigned i = 0; i < NumElem; ++i) { in tryStoreMergeOfLoads() [all …]
|
| H A D | TargetLowering.cpp | 9300 unsigned NumElem = SrcVT.getVectorNumElements(); in scalarizeVectorLoad() local 9330 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad() 9332 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorLoad() 9359 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad() 9397 unsigned NumElem = StVT.getVectorNumElements(); in scalarizeVectorStore() local 9411 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore() 9417 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorStore() 9436 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore()
|
| H A D | LegalizeDAG.cpp | 4206 unsigned NumElem = VT.getVectorNumElements(); in ExpandNode() local 4209 for (unsigned Idx = 0; Idx < NumElem; Idx++) { in ExpandNode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 626 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
|