Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp222 int NumElem = LLVMVecType ? LLVMVecType->getNumElements() : 1; in lowerPrintfForGpu() local
223 if (LLVMVecType && NumElem > 1) in lowerPrintfForGpu()
224 ResType = llvm::VectorType::get(ResType, NumElem); in lowerPrintfForGpu()
DAMDGPUISelLowering.h191 unsigned NumElem,
DAMDGPUISelLowering.cpp756 unsigned NumElem, in storeOfVectorConstantIsCheap() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp2441 unsigned NumElem = VTy->getVectorNumElements(); in getMemoryOpCost() local
2445 if (NumElem == 3 && VTy->getScalarSizeInBits() == 32) in getMemoryOpCost()
2450 if (NumElem == 3 && VTy->getScalarSizeInBits() == 64) in getMemoryOpCost()
2455 if (!isPowerOf2_32(NumElem)) { in getMemoryOpCost()
2460 return NumElem * Cost + SplitCost; in getMemoryOpCost()
2491 unsigned NumElem = SrcVTy->getVectorNumElements(); in getMaskedMemoryOpCost() local
2493 VectorType::get(Type::getInt8Ty(SrcVTy->getContext()), NumElem); in getMaskedMemoryOpCost()
2496 !isPowerOf2_32(NumElem)) { in getMaskedMemoryOpCost()
2502 int MaskCmpCost = NumElem * (BranchCost + ScalarCompareCost); in getMaskedMemoryOpCost()
2506 NumElem * BaseT::getMemoryOpCost(Opcode, SrcVTy->getScalarType(), in getMaskedMemoryOpCost()
[all …]
DX86ISelLowering.h1176 bool storeOfVectorConstantIsCheap(EVT MemVT, unsigned NumElem, in storeOfVectorConstantIsCheap() argument
1180 return NumElem > 2; in storeOfVectorConstantIsCheap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp1040 unsigned NumElem = WideInOp.getValueType().getVectorNumElements(); in PromoteIntRes_TRUNCATE() local
1042 N->getValueType(0).getScalarType(), NumElem); in PromoteIntRes_TRUNCATE()
1047 NumElem); in PromoteIntRes_TRUNCATE()
4311 unsigned NumElem = N->getOperand(0).getValueType().getVectorNumElements(); in PromoteIntRes_CONCAT_VECTORS() local
4314 assert(NumElem * NumOperands == NumOutElem && in PromoteIntRes_CONCAT_VECTORS()
4324 assert(NumElem == Op.getValueType().getVectorNumElements() && in PromoteIntRes_CONCAT_VECTORS()
4327 for (unsigned j = 0; j < NumElem; ++j) { in PromoteIntRes_CONCAT_VECTORS()
4331 Ops[i * NumElem + j] = DAG.getAnyExtOrTrunc(Ext, dl, OutElemTy); in PromoteIntRes_CONCAT_VECTORS()
4434 unsigned NumElem = Incoming->getValueType(0).getVectorNumElements(); in PromoteIntOp_CONCAT_VECTORS() local
4436 for (unsigned i=0; i<NumElem; ++i) { in PromoteIntOp_CONCAT_VECTORS()
DDAGCombiner.cpp10782 unsigned NumElem = VecTy.getVectorNumElements(); in visitTRUNCATE() local
10785 EVT NVT = EVT::getVectorVT(*DAG.getContext(), TrTy, SizeRatio * NumElem); in visitTRUNCATE()
15912 unsigned NumElem = (UseVector) ? LastLegalVectorType : LastLegalType; in MergeConsecutiveStores() local
15916 if (NumElem < 2) { in MergeConsecutiveStores()
15937 if (!checkMergeStoreCandidatesForDependencies(StoreNodes, NumElem, in MergeConsecutiveStores()
15939 StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem); in MergeConsecutiveStores()
15940 NumConsecutiveStores -= NumElem; in MergeConsecutiveStores()
15944 RV |= MergeStoresOfConstantsOrVecElts(StoreNodes, MemVT, NumElem, true, in MergeConsecutiveStores()
15948 StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem); in MergeConsecutiveStores()
15949 NumConsecutiveStores -= NumElem; in MergeConsecutiveStores()
[all …]
DLegalizeVectorOps.cpp710 unsigned NumElem = SrcVT.getVectorNumElements(); in ExpandLoad() local
783 for (unsigned Idx = 0; Idx != NumElem; ++Idx) { in ExpandLoad()
DTargetLowering.cpp6569 unsigned NumElem = SrcVT.getVectorNumElements(); in scalarizeVectorLoad() local
6580 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorLoad()
6616 unsigned NumElem = StVT.getVectorNumElements(); in scalarizeVectorStore() local
6630 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore()
6636 (DAG.getDataLayout().isBigEndian() ? (NumElem - 1) - Idx : Idx); in scalarizeVectorStore()
6655 for (unsigned Idx = 0; Idx < NumElem; ++Idx) { in scalarizeVectorStore()
DLegalizeDAG.cpp3779 unsigned NumElem = VT.getVectorNumElements(); in ExpandNode() local
3782 for (unsigned Idx = 0; Idx < NumElem; Idx++) { in ExpandNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp229 unsigned NumElem = VecTy.getVectorNumElements(); in typeSplit() local
230 assert((NumElem % 2) == 0 && "Expecting even-sized vector type"); in typeSplit()
231 MVT HalfTy = MVT::getVectorVT(VecTy.getVectorElementType(), NumElem/2); in typeSplit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstructions.h1059 unsigned NumElem = Ptr->getType()->getVectorNumElements();
1060 return VectorType::get(PtrTy, NumElem);
1064 unsigned NumElem = Index->getType()->getVectorNumElements();
1065 return VectorType::get(PtrTy, NumElem);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h446 unsigned NumElem, in storeOfVectorConstantIsCheap() argument