| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.h | 197 unsigned NumElem,
|
| H A D | AMDGPURegisterBankInfo.cpp | 1943 unsigned NumElem = VecTy.getNumElements(); in foldExtractEltToCmpSelect() local 1945 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldExtractEltToCmpSelect() 1982 for (unsigned I = 1; I < NumElem; ++I) { in foldExtractEltToCmpSelect() 2041 unsigned NumElem = VecTy.getNumElements(); in foldInsertEltToCmpSelect() local 2043 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldInsertEltToCmpSelect() 2081 SmallVector<Register, 16> Ops(NumElem * NumLanes); in foldInsertEltToCmpSelect() 2083 for (unsigned I = 0; I < NumElem; ++I) { in foldInsertEltToCmpSelect()
|
| H A D | SIISelLowering.h | 240 static bool shouldExpandVectorDynExt(unsigned EltSize, unsigned NumElem,
|
| H A D | SIISelLowering.cpp | 10738 unsigned NumElem, in shouldExpandVectorDynExt() argument 10744 unsigned VecSize = EltSize * NumElem; in shouldExpandVectorDynExt() 10760 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() 10761 ((EltSize + 31) / 32) * NumElem /* Number of cndmasks */; in shouldExpandVectorDynExt() 10782 unsigned NumElem = VecVT.getVectorNumElements(); in shouldExpandVectorDynExt() local 10785 EltSize, NumElem, Idx->isDivergent(), getSubtarget()); in shouldExpandVectorDynExt()
|
| H A D | AMDGPUISelLowering.cpp | 831 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1435 bool storeOfVectorConstantIsCheap(EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument 1439 return NumElem > 2; in storeOfVectorConstantIsCheap()
|
| H A D | X86TargetTransformInfo.cpp | 4852 unsigned NumElem = SrcVTy->getNumElements(); in getMaskedMemoryOpCost() local 4854 FixedVectorType::get(Type::getInt8Ty(SrcVTy->getContext()), NumElem); in getMaskedMemoryOpCost() 4858 APInt DemandedElts = APInt::getAllOnes(NumElem); in getMaskedMemoryOpCost() 4865 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost() 4869 NumElem * BaseT::getMemoryOpCost(Opcode, SrcVTy->getScalarType(), in getMaskedMemoryOpCost() 4879 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost() 4886 else if (LT.first * LT.second.getVectorNumElements() > NumElem) { in getMaskedMemoryOpCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 517 unsigned NumElem = VecTy.getVectorNumElements(); in typeSplit() local 518 assert((NumElem % 2) == 0 && "Expecting even-sized vector type"); in typeSplit() 519 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeIntegerTypes.cpp | 1397 unsigned NumElem = WideInOp.getValueType().getVectorNumElements(); in PromoteIntRes_TRUNCATE() local 1399 N->getValueType(0).getScalarType(), NumElem); in PromoteIntRes_TRUNCATE() 1404 NumElem); in PromoteIntRes_TRUNCATE() 5532 unsigned NumElem = N->getOperand(0).getValueType().getVectorNumElements(); in PromoteIntRes_CONCAT_VECTORS() local 5533 assert(NumElem * NumOperands == NumOutElem && in PromoteIntRes_CONCAT_VECTORS() 5543 assert(NumElem == Op.getValueType().getVectorNumElements() && in PromoteIntRes_CONCAT_VECTORS() 5546 for (unsigned j = 0; j < NumElem; ++j) { in PromoteIntRes_CONCAT_VECTORS() 5549 Ops[i * NumElem + j] = DAG.getAnyExtOrTrunc(Ext, dl, OutElemTy); in PromoteIntRes_CONCAT_VECTORS() 5692 unsigned NumElem = Incoming->getValueType(0).getVectorNumElements(); in PromoteIntOp_CONCAT_VECTORS() local 5694 for (unsigned i=0; i<NumElem; ++i) { in PromoteIntOp_CONCAT_VECTORS()
|
| H A D | DAGCombiner.cpp | 19066 unsigned NumElem = (UseVector) ? LastLegalVectorType : LastLegalType; in tryStoreMergeOfConstants() local 19071 if (NumElem < 2) { in tryStoreMergeOfConstants() 19091 if (!checkMergeStoreCandidatesForDependencies(StoreNodes, NumElem, in tryStoreMergeOfConstants() 19093 StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem); in tryStoreMergeOfConstants() 19094 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants() 19098 MadeChange |= mergeStoresOfConstantsOrVecElts(StoreNodes, MemVT, NumElem, in tryStoreMergeOfConstants() 19103 StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem); in tryStoreMergeOfConstants() 19104 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants() 19343 unsigned NumElem = std::min(NumConsecutiveStores, LastConsecutiveLoad + 1); in tryStoreMergeOfLoads() local 19344 NumElem = std::min(LastLegalType, NumElem); in tryStoreMergeOfLoads() [all …]
|
| H A D | TargetLowering.cpp | 8880 unsigned NumElem = SrcVT.getVectorNumElements(); in scalarizeVectorLoad() local 8910 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad() 8912 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorLoad() 8939 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad() 8977 unsigned NumElem = StVT.getVectorNumElements(); in scalarizeVectorStore() local 8991 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore() 8997 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorStore() 9016 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore()
|
| H A D | LegalizeDAG.cpp | 3836 unsigned NumElem = VT.getVectorNumElements(); in ExpandNode() local 3839 for (unsigned Idx = 0; Idx < NumElem; Idx++) { in ExpandNode()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 594 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
|