Home
last modified time | relevance | path

Searched refs:NumElem (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp220 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 DAMDGPUISelLowering.h186 unsigned NumElem,
H A DAMDGPURegisterBankInfo.cpp1912 unsigned NumElem = VecTy.getNumElements(); in foldExtractEltToCmpSelect() local
1914 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldExtractEltToCmpSelect()
1951 for (unsigned I = 1; I < NumElem; ++I) { in foldExtractEltToCmpSelect()
1994 unsigned NumElem = VecTy.getNumElements(); in foldInsertEltToCmpSelect() local
1996 if (!SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in foldInsertEltToCmpSelect()
2034 SmallVector<Register, 16> Ops(NumElem * NumLanes); in foldInsertEltToCmpSelect()
2036 for (unsigned I = 0; I < NumElem; ++I) { in foldInsertEltToCmpSelect()
H A DSIISelLowering.h227 static bool shouldExpandVectorDynExt(unsigned EltSize, unsigned NumElem,
H A DSIISelLowering.cpp10089 unsigned NumElem, in shouldExpandVectorDynExt() argument
10094 unsigned VecSize = EltSize * NumElem; in shouldExpandVectorDynExt()
10110 unsigned NumInsts = NumElem /* Number of compares */ + in shouldExpandVectorDynExt()
10111 ((EltSize + 31) / 32) * NumElem /* Number of cndmasks */; in shouldExpandVectorDynExt()
10124 unsigned NumElem = VecVT.getVectorNumElements(); in shouldExpandVectorDynExt() local
10126 return SITargetLowering::shouldExpandVectorDynExt(EltSize, NumElem, in shouldExpandVectorDynExt()
H A DAMDGPUISelLowering.cpp855 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp636 unsigned NumElem = in Act() local
638 CondTy = FixedVectorType::get(CondTy, NumElem); in Act()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.h1322 bool storeOfVectorConstantIsCheap(EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument
1326 return NumElem > 2; in storeOfVectorConstantIsCheap()
H A DX86TargetTransformInfo.cpp3448 unsigned NumElem = SrcVTy->getNumElements(); in getMaskedMemoryOpCost() local
3450 FixedVectorType::get(Type::getInt8Ty(SrcVTy->getContext()), NumElem); in getMaskedMemoryOpCost()
3453 !isPowerOf2_32(NumElem)) { in getMaskedMemoryOpCost()
3455 APInt DemandedElts = APInt::getAllOnesValue(NumElem); in getMaskedMemoryOpCost()
3462 InstructionCost MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost()
3466 NumElem * BaseT::getMemoryOpCost(Opcode, SrcVTy->getScalarType(), in getMaskedMemoryOpCost()
3476 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost()
3481 else if (LT.second.getVectorNumElements() > NumElem) { in getMaskedMemoryOpCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1261 unsigned NumElem = WideInOp.getValueType().getVectorNumElements(); in PromoteIntRes_TRUNCATE() local
1263 N->getValueType(0).getScalarType(), NumElem); in PromoteIntRes_TRUNCATE()
1268 NumElem); in PromoteIntRes_TRUNCATE()
4807 unsigned NumElem = N->getOperand(0).getValueType().getVectorNumElements(); in PromoteIntRes_CONCAT_VECTORS() local
4810 assert(NumElem * NumOperands == NumOutElem && in PromoteIntRes_CONCAT_VECTORS()
4820 assert(NumElem == Op.getValueType().getVectorNumElements() && in PromoteIntRes_CONCAT_VECTORS()
4823 for (unsigned j = 0; j < NumElem; ++j) { in PromoteIntRes_CONCAT_VECTORS()
4826 Ops[i * NumElem + j] = DAG.getAnyExtOrTrunc(Ext, dl, OutElemTy); in PromoteIntRes_CONCAT_VECTORS()
4944 unsigned NumElem = Incoming->getValueType(0).getVectorNumElements(); in PromoteIntOp_CONCAT_VECTORS() local
4946 for (unsigned i=0; i<NumElem; ++i) { in PromoteIntOp_CONCAT_VECTORS()
H A DDAGCombiner.cpp17223 unsigned NumElem = (UseVector) ? LastLegalVectorType : LastLegalType; in tryStoreMergeOfConstants() local
17227 if (NumElem < 2) { in tryStoreMergeOfConstants()
17247 if (!checkMergeStoreCandidatesForDependencies(StoreNodes, NumElem, in tryStoreMergeOfConstants()
17249 StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem); in tryStoreMergeOfConstants()
17250 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants()
17255 StoreNodes, MemVT, NumElem, true, UseVector, LastIntegerTrunc); in tryStoreMergeOfConstants()
17258 StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem); in tryStoreMergeOfConstants()
17259 NumConsecutiveStores -= NumElem; in tryStoreMergeOfConstants()
17489 unsigned NumElem = std::min(NumConsecutiveStores, LastConsecutiveLoad + 1); in tryStoreMergeOfLoads() local
17490 NumElem = std::min(LastLegalType, NumElem); in tryStoreMergeOfLoads()
[all …]
H A DTargetLowering.cpp7304 unsigned NumElem = SrcVT.getVectorNumElements(); in scalarizeVectorLoad() local
7334 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad()
7336 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorLoad()
7363 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad()
7401 unsigned NumElem = StVT.getVectorNumElements(); in scalarizeVectorStore() local
7415 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore()
7421 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorStore()
7440 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore()
H A DLegalizeDAG.cpp3748 unsigned NumElem = VT.getVectorNumElements(); in ExpandNode() local
3751 for (unsigned Idx = 0; Idx < NumElem; Idx++) { in ExpandNode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp334 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetLowering.h575 unsigned NumElem, in storeOfVectorConstantIsCheap() argument