| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 220 int NumElem = LLVMVecType ? LLVMVecType->getNumElements() : 1; in lowerPrintfForGpu() local 221 if (LLVMVecType && NumElem > 1) in lowerPrintfForGpu() 222 ResType = llvm::FixedVectorType::get(ResType, NumElem); in lowerPrintfForGpu()
|
| H A D | AMDGPUISelLowering.h | 186 unsigned NumElem,
|
| H A D | AMDGPURegisterBankInfo.cpp | 1963 unsigned NumElem = VecTy.getNumElements(); in foldExtractEltToCmpSelect() local 1965 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldExtractEltToCmpSelect() 2002 for (unsigned I = 1; I < NumElem; ++I) { in foldExtractEltToCmpSelect() 2061 unsigned NumElem = VecTy.getNumElements(); in foldInsertEltToCmpSelect() local 2063 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 | 227 static bool shouldExpandVectorDynExt(unsigned EltSize, unsigned NumElem,
|
| H A D | SIISelLowering.cpp | 10065 unsigned NumElem, in shouldExpandVectorDynExt() argument 10070 unsigned VecSize = EltSize * NumElem; in shouldExpandVectorDynExt() 10086 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt() 10087 ((EltSize + 31) / 32) * NumElem /* Number of cndmasks */; in shouldExpandVectorDynExt() 10100 unsigned NumElem = VecVT.getVectorNumElements(); in shouldExpandVectorDynExt() local 10102 return SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in shouldExpandVectorDynExt()
|
| H A D | AMDGPUISelLowering.cpp | 902 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 640 unsigned NumElem = in Act() local 642 CondTy = FixedVectorType::get(CondTy, NumElem); in Act()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1322 bool storeOfVectorConstantIsCheap(EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument 1326 return NumElem > 2; in storeOfVectorConstantIsCheap()
|
| H A D | X86TargetTransformInfo.cpp | 3674 unsigned NumElem = SrcVTy->getNumElements(); in getMaskedMemoryOpCost() local 3676 FixedVectorType::get(Type::getInt8Ty(SrcVTy->getContext()), NumElem); in getMaskedMemoryOpCost() 3680 APInt DemandedElts = APInt::getAllOnesValue(NumElem); in getMaskedMemoryOpCost() 3687 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost() 3691 NumElem * BaseT::getMemoryOpCost(Opcode, SrcVTy->getScalarType(), in getMaskedMemoryOpCost() 3701 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost() 3706 else if (LT.first * LT.second.getVectorNumElements() > NumElem) { in getMaskedMemoryOpCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeIntegerTypes.cpp | 1265 unsigned NumElem = WideInOp.getValueType().getVectorNumElements(); in PromoteIntRes_TRUNCATE() local 1267 N->getValueType(0).getScalarType(), NumElem); in PromoteIntRes_TRUNCATE() 1272 NumElem); in PromoteIntRes_TRUNCATE() 4881 unsigned NumElem = N->getOperand(0).getValueType().getVectorNumElements(); in PromoteIntRes_CONCAT_VECTORS() local 4884 assert(NumElem * NumOperands == NumOutElem && in PromoteIntRes_CONCAT_VECTORS() 4894 assert(NumElem == Op.getValueType().getVectorNumElements() && in PromoteIntRes_CONCAT_VECTORS() 4897 for (unsigned j = 0; j < NumElem; ++j) { in PromoteIntRes_CONCAT_VECTORS() 4900 Ops[i * NumElem + j] = DAG.getAnyExtOrTrunc(Ext, dl, OutElemTy); in PromoteIntRes_CONCAT_VECTORS() 5018 unsigned NumElem = Incoming->getValueType(0).getVectorNumElements(); in PromoteIntOp_CONCAT_VECTORS() local 5020 for (unsigned i=0; i<NumElem; ++i) { in PromoteIntOp_CONCAT_VECTORS()
|
| H A D | DAGCombiner.cpp | 17426 if (NumElem < 2) { in tryStoreMergeOfConstants() 17449 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants() 17459 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants() 17691 NumElem = std::min(LastLegalType, NumElem); in tryStoreMergeOfLoads() 17694 if (NumElem < 2) { in tryStoreMergeOfLoads() 17718 NumConsecutiveStores -= NumElem; in tryStoreMergeOfLoads() 17727 unsigned Elts = NumElem * NumMemElts; in tryStoreMergeOfLoads() 17730 unsigned SizeInBits = NumElem * ElementSizeBytes * 8; in tryStoreMergeOfLoads() 17785 for (unsigned i = 0; i < NumElem; ++i) { in tryStoreMergeOfLoads() 17793 for (unsigned i = 0; i < NumElem; ++i) { in tryStoreMergeOfLoads() [all …]
|
| H A D | TargetLowering.cpp | 7333 unsigned NumElem = SrcVT.getVectorNumElements(); in scalarizeVectorLoad() local 7363 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad() 7365 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorLoad() 7392 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad() 7430 unsigned NumElem = StVT.getVectorNumElements(); in scalarizeVectorStore() local 7444 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore() 7450 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorStore() 7469 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore()
|
| H A D | LegalizeDAG.cpp | 3735 unsigned NumElem = VT.getVectorNumElements(); in ExpandNode() local 3738 for (unsigned Idx = 0; Idx < NumElem; Idx++) { in ExpandNode()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLoweringHVX.cpp | 334 unsigned NumElem = VecTy.getVectorNumElements(); in typeSplit() local 335 assert((NumElem % 2) == 0 && "Expecting even-sized vector type"); in typeSplit() 336 MVT HalfTy = MVT::getVectorVT(VecTy.getVectorElementType(), NumElem/2); in typeSplit()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 580 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
|