Home
last modified time | relevance | path

Searched refs:NumElems (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp466 unsigned NumElems = VT->getNumElements(); in splitUnary() local
469 assert(Op.size() == NumElems && "Mismatched unary operation"); in splitUnary()
471 Res.resize(NumElems); in splitUnary()
472 for (unsigned Elem = 0; Elem < NumElems; ++Elem) in splitUnary()
486 unsigned NumElems = VT->getNumElements(); in splitBinary() local
490 assert(Op0.size() == NumElems && "Mismatched binary operation"); in splitBinary()
491 assert(Op1.size() == NumElems && "Mismatched binary operation"); in splitBinary()
493 Res.resize(NumElems); in splitBinary()
494 for (unsigned Elem = 0; Elem < NumElems; ++Elem) in splitBinary()
527 unsigned NumElems = VT->getNumElements(); in splitCall() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonSubtarget.h238 unsigned NumElems = VecTy.getVectorNumElements();
243 if (8*HwLen == NumElems)
248 if (NumElems * T.getSizeInBits() == 8*HwLen)
DHexagonISelDAGToDAGHVX.cpp817 unsigned NumElems = HwLen / (ElemTy.getSizeInBits()/8); in getSingleVT() local
818 return MVT::getVectorVT(ElemTy, NumElems); in getSingleVT()
822 unsigned NumElems = (2*HwLen) / (ElemTy.getSizeInBits()/8); in getPairVT() local
823 return MVT::getVectorVT(ElemTy, NumElems); in getPairVT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp102 unsigned NumElems = 2; in ExpandRes_BITCAST() local
104 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST()
112 NumElems *= 2; in ExpandRes_BITCAST()
114 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST()
121 for (unsigned i = 0; i < NumElems; ++i) in ExpandRes_BITCAST()
DLegalizeDAG.cpp1812 unsigned NumElems = Node->getNumOperands(); in ExpandBVWithShuffles() local
1826 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBVWithShuffles()
1842 SmallVector<int, 16> ShuffleVec(NumElems, -1); in ExpandBVWithShuffles()
1856 ShuffleVec[k] = NumElems + j; in ExpandBVWithShuffles()
1888 SmallVector<int, 16> ShuffleVec(NumElems, -1); in ExpandBVWithShuffles()
1892 ShuffleVec[IntermedVals[1].second[i]] = NumElems + i; in ExpandBVWithShuffles()
1906 unsigned NumElems = Node->getNumOperands(); in ExpandBUILD_VECTOR() local
1918 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBUILD_VECTOR()
1946 for (unsigned i = 0, e = NumElems; i != e; ++i) { in ExpandBUILD_VECTOR()
1979 for (unsigned i = 0; i < NumElems; ++i) { in ExpandBUILD_VECTOR()
[all …]
DLegalizeVectorOps.cpp1485 unsigned NumElems = VT.getVectorNumElements(); in UnrollStrictFPOp() local
1501 for (unsigned i = 0; i < NumElems; ++i) { in UnrollStrictFPOp()
1545 unsigned NumElems = VT.getVectorNumElements(); in UnrollVSETCC() local
1552 SmallVector<SDValue, 8> Ops(NumElems); in UnrollVSETCC()
1553 for (unsigned i = 0; i < NumElems; ++i) { in UnrollVSETCC()
DDAGCombiner.cpp8699 int NumElems = VT.getVectorNumElements(); in ConvertSelectToConcatVector() local
8715 for (int i = 0; i < NumElems / 2; ++i) { in ConvertSelectToConcatVector()
8727 for (int i = NumElems / 2; i < NumElems; ++i) { in ConvertSelectToConcatVector()
17440 unsigned NumElems = VT.getVectorNumElements(); in createBuildVecShuffle() local
17441 unsigned ShuffleNumElems = NumElems; in createBuildVecShuffle()
17461 if (!TLI.isExtractSubvectorCheap(VT, InVT1, NumElems)) in createBuildVecShuffle()
17468 DAG.getConstant(NumElems, DL, IdxTy)); in createBuildVecShuffle()
17472 Vec2Offset = NumElems; in createBuildVecShuffle()
17491 ShuffleNumElems = NumElems * 2; in createBuildVecShuffle()
17518 for (unsigned i = 0; i != NumElems; ++i) { in createBuildVecShuffle()
[all …]
DLegalizeIntegerTypes.cpp4245 unsigned NumElems = N->getNumOperands(); in PromoteIntRes_BUILD_VECTOR() local
4251 Ops.reserve(NumElems); in PromoteIntRes_BUILD_VECTOR()
4252 for (unsigned i = 0; i != NumElems; ++i) { in PromoteIntRes_BUILD_VECTOR()
4423 unsigned NumElems = N->getNumOperands(); in PromoteIntOp_CONCAT_VECTORS() local
4428 NewOps.reserve(NumElems); in PromoteIntOp_CONCAT_VECTORS()
4431 for (unsigned VecIdx = 0; VecIdx != NumElems; ++VecIdx) { in PromoteIntOp_CONCAT_VECTORS()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryBuiltins.cpp642 APInt NumElems = C->getValue(); in visitAllocaInst() local
643 if (!CheckedZextOrTrunc(NumElems)) in visitAllocaInst()
647 Size = Size.umul_ov(NumElems, Overflow); in visitAllocaInst()
706 APInt NumElems = Arg->getValue(); in visitCallSite() local
707 if (!CheckedZextOrTrunc(NumElems)) in visitCallSite()
711 Size = Size.umul_ov(NumElems, Overflow); in visitCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp71 unsigned NumElems = Num & std::numeric_limits<unsigned>::max(); in unpackAllocSizeArgs() local
75 if (NumElems != AllocSizeNumElemsNotPresent) in unpackAllocSizeArgs()
76 NumElemsArg = NumElems; in unpackAllocSizeArgs()
447 Optional<unsigned> NumElems; in getAsString() local
448 std::tie(ElemSize, NumElems) = getAllocSizeArgs(); in getAsString()
452 if (NumElems.hasValue()) { in getAsString()
454 Result += utostr(*NumElems); in getAsString()
1561 const Optional<unsigned> &NumElems) { in addAllocSizeAttr() argument
1562 return addAllocSizeAttrFromRawRepr(packAllocSizeArgs(ElemSize, NumElems)); in addAllocSizeAttr()
DConstantFold.cpp362 unsigned NumElems = STy->getNumElements(); in getFoldedSizeOf() local
364 if (NumElems == 0) in getFoldedSizeOf()
370 for (unsigned i = 1; i != NumElems; ++i) in getFoldedSizeOf()
377 Constant *N = ConstantInt::get(DestTy, NumElems); in getFoldedSizeOf()
428 unsigned NumElems = STy->getNumElements(); in getFoldedAlignOf() local
430 if (NumElems == 0) in getFoldedAlignOf()
436 for (unsigned i = 1; i != NumElems; ++i) in getFoldedAlignOf()
484 unsigned NumElems = STy->getNumElements(); in getFoldedOffsetOf() local
486 if (NumElems == 0) in getFoldedOffsetOf()
492 for (unsigned i = 1; i != NumElems; ++i) in getFoldedOffsetOf()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceCfg.h248 template <typename T> T *allocateArrayOf(size_t NumElems) { in allocateArrayOf() argument
249 return Allocator->Allocate<T>(NumElems); in allocateArrayOf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp3769 unsigned NumElems = VT.getVectorNumElements(); in getMOVL() local
3771 Mask.push_back(NumElems); in getMOVL()
3772 for (unsigned i = 1; i != NumElems; ++i) in getMOVL()
5831 unsigned NumElems = OpVT.getVectorNumElements(); in insert1BitVector() local
5837 if ((!Subtarget.hasDQI() && NumElems == 8) || NumElems < 8) in insert1BitVector()
5853 assert(IdxVal + SubVecNumElems <= NumElems && in insert1BitVector()
5886 NumElems = WideOpVT.getVectorNumElements(); in insert1BitVector()
5887 unsigned ShiftLeft = NumElems - SubVecNumElems; in insert1BitVector()
5888 unsigned ShiftRight = NumElems - SubVecNumElems - IdxVal; in insert1BitVector()
5898 if (IdxVal + SubVecNumElems == NumElems) { in insert1BitVector()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1547 unsigned NumElems = Mask.size();
1548 for (unsigned i = 0; i != NumElems; ++i) {
1552 else if (idx < (int)NumElems)
1553 Mask[i] = idx + NumElems;
1555 Mask[i] = idx - NumElems;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTFDebug.h111 BTFTypeArray(uint32_t ElemTypeId, uint32_t NumElems);
DBTFDebug.cpp187 BTFTypeArray::BTFTypeArray(uint32_t ElemTypeId, uint32_t NumElems) { in BTFTypeArray() argument
194 ArrayInfo.Nelems = NumElems; in BTFTypeArray()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWasmObjectFile.cpp1191 uint32_t NumElems = readVaruint32(Ctx); in parseElemSection() local
1192 while (NumElems--) { in parseElemSection()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp13459 unsigned NumElems = VT.getVectorNumElements(); in PerformTruncatingStoreCombine() local
13465 if (!isPowerOf2_32(NumElems * FromEltSz * ToEltSz)) in PerformTruncatingStoreCombine()
13470 if (0 != (NumElems * FromEltSz) % ToEltSz) in PerformTruncatingStoreCombine()
13474 assert(SizeRatio * NumElems * ToEltSz == VT.getSizeInBits()); in PerformTruncatingStoreCombine()
13478 NumElems * SizeRatio); in PerformTruncatingStoreCombine()
13483 SmallVector<int, 8> ShuffleVec(NumElems * SizeRatio, -1); in PerformTruncatingStoreCombine()
13484 for (unsigned i = 0; i < NumElems; ++i) in PerformTruncatingStoreCombine()
13500 if (TLI.isTypeLegal(Tp) && Tp.getSizeInBits() <= NumElems * ToEltSz) in PerformTruncatingStoreCombine()
13519 unsigned E = (ToEltSz * NumElems) / StoreType.getSizeInBits(); in PerformTruncatingStoreCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp2168 bool isNEONReplicate(unsigned Width, unsigned NumElems, bool Inv) const { in isNEONReplicate() argument
2171 assert(NumElems * Width <= 64 && "Invalid result width"); in isNEONReplicate()
2192 for (unsigned i = 1; i < NumElems; ++i) { in isNEONReplicate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp10515 unsigned NumElems = NarrowTy.getVectorNumElements(); in tryExtendDUPToExtractHigh() local
10516 MVT NewVT = MVT::getVectorVT(ElementTy, NumElems * 2); in tryExtendDUPToExtractHigh()
10521 DAG.getConstant(NumElems, dl, MVT::i64)); in tryExtendDUPToExtractHigh()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp13123 unsigned NumElems = Input.getValueType().getVectorNumElements(); in addShuffleForVecExtend() local
13124 SmallVector<int, 16> ShuffleMask(NumElems, -1); in addShuffleForVecExtend()