/external/llvm-project/llvm/include/llvm/IR/ |
D | MatrixBuilder.h | 45 cast<VectorType>(LHS->getType())->getElementCount(), RHS, in splatScalarOperandIfNeeded() 51 cast<VectorType>(RHS->getType())->getElementCount(), LHS, in splatScalarOperandIfNeeded() 167 cast<VectorType>(LHS->getType())->getElementCount(), RHS, in CreateAdd() 173 cast<VectorType>(RHS->getType())->getElementCount(), LHS, in CreateAdd() 192 cast<VectorType>(LHS->getType())->getElementCount(), RHS, in CreateSub() 198 cast<VectorType>(RHS->getType())->getElementCount(), LHS, in CreateSub()
|
D | DerivedTypes.h | 448 return VectorType::get(ElementType, Other->getElementCount()); in get() 458 return VectorType::get(EltTy, VTy->getElementCount()); in getInteger() 466 return VectorType::get(EltTy->getExtendedType(), VTy->getElementCount()); in getExtendedElementVectorType() 491 return VectorType::get(EltTy, VTy->getElementCount()); in getTruncatedElementVectorType() 508 auto EltCnt = VTy->getElementCount(); in getHalfElementsVectorType() 518 auto EltCnt = VTy->getElementCount(); in getDoubleElementsVectorType() 529 inline ElementCount getElementCount() const; 539 ElementCount EC = getElementCount(); in getNumElements() 656 inline ElementCount VectorType::getElementCount() const { in getElementCount() function 713 NewType = VectorType::get(NewType, VTy->getElementCount()); in getWithNewBitWidth()
|
D | DataLayout.h | 700 auto EltCnt = VTy->getElementCount(); in getTypeSizeInBits()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 472 return VectorType::get(EltTy, VTy->getElementCount()); in getInteger() 480 return VectorType::get(EltTy->getExtendedType(), VTy->getElementCount()); in getExtendedElementVectorType() 505 return VectorType::get(EltTy, VTy->getElementCount()); in getTruncatedElementVectorType() 522 auto EltCnt = VTy->getElementCount(); in getHalfElementsVectorType() 531 auto EltCnt = VTy->getElementCount(); in getDoubleElementsVectorType() 542 ElementCount getElementCount() const { in getElementCount() function 575 return cast<VectorType>(this)->getElementCount(); in getVectorElementCount()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | TFUtilsTest.cpp | 138 EXPECT_EQ(Spec1D.getElementCount(), 1U); in TEST() 139 EXPECT_EQ(Spec2D.getElementCount(), 1U); in TEST() 140 EXPECT_EQ(Spec1DLarge.getElementCount(), 10U); in TEST() 141 EXPECT_EQ(Spec3DLarge.getElementCount(), 80U); in TEST()
|
/external/llvm-project/llvm/unittests/IR/ |
D | VectorTypesTest.cpp | 55 EXPECT_EQ(V8Int8Ty->getElementCount(), V8Int32Ty->getElementCount()); in TEST() 121 EltCnt = V8Int64Ty->getElementCount(); in TEST() 149 EXPECT_EQ(ScV8Int8Ty->getElementCount(), ScV8Int32Ty->getElementCount()); in TEST() 217 EltCnt = ScV8Int64Ty->getElementCount(); in TEST() 252 ElementCount ECI = VI->getElementCount(); in TEST()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | TFUtils.cpp | 100 writeTensorValues<int64_t>(OutFile, Data, Spec.getElementCount()); in writeRawTensorsAsFeatureLists() 105 writeTensorValues<int32_t>(OutFile, Data, Spec.getElementCount()); in writeRawTensorsAsFeatureLists() 111 writeTensorValues<float>(OutFile, Data, Spec.getElementCount()); in writeRawTensorsAsFeatureLists() 124 size_t TensorByteSize = Spec.getElementCount() * Spec.getElementByteSize(); in writeRawTensorsAsFeatureLists() 484 size_t Tensor0Size = FeatureSpecs[0].Spec.getElementCount() * in print() 490 RewardSpec.getElementCount() * RewardSpec.getElementByteSize(); in print()
|
D | VFABIDemangling.cpp | 292 const ElementCount EC = VecTys[0]->getElementCount(); in verifyAllVectorsHaveSameWidth() 295 [&EC](VectorType *VTy) { return (EC == VTy->getElementCount()); }); in verifyAllVectorsHaveSameWidth() 308 return RetTy->getElementCount(); in getECFromSignature() 311 return VTy->getElementCount(); in getECFromSignature()
|
/external/llvm-project/llvm/unittests/CodeGen/ |
D | ScalableVectorMVTsTest.cpp | 100 ASSERT_EQ(ScV8Int64Ty->getElementCount(), Mnxv8i64.getVectorElementCount()); in TEST() 107 ASSERT_EQ(ScV8Int64Ty->getElementCount(), Enxv8i64.getVectorElementCount()); in TEST() 120 ASSERT_EQ(Enxv4f64.getVectorElementCount(), ScV4Float64Ty->getElementCount()); in TEST()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | FunctionComparator.cpp | 497 if (STyL->getElementCount().isScalable() != in cmpTypes() 498 STyR->getElementCount().isScalable()) in cmpTypes() 499 return cmpNumbers(STyL->getElementCount().isScalable(), in cmpTypes() 500 STyR->getElementCount().isScalable()); in cmpTypes() 501 if (STyL->getElementCount() != STyR->getElementCount()) in cmpTypes() 502 return cmpNumbers(STyL->getElementCount().getKnownMinValue(), in cmpTypes() 503 STyR->getElementCount().getKnownMinValue()); in cmpTypes()
|
/external/swiftshader/src/Vulkan/ |
D | VkBufferView.hpp | 37 uint32_t getElementCount() const { return static_cast<uint32_t>(range / Format(format).bytes()); } in getElementCount() function in vk::BufferView
|
D | VkDescriptorSetLayout.cpp | 296 auto numElements = bufferView->getElementCount(); in WriteDescriptorSet() 474 storageImage[i].width = bufferView->getElementCount(); in WriteDescriptorSet()
|
/external/llvm-project/llvm/lib/IR/ |
D | Constants.cpp | 389 C = ConstantVector::getSplat(VTy->getElementCount(), C); in getIntegerValue() 406 return ConstantVector::getSplat(VTy->getElementCount(), in getAllOnesValue() 822 return ConstantVector::getSplat(VTy->getElementCount(), TrueC); in getTrue() 830 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse() 853 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 877 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 906 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 918 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 931 return ConstantVector::getSplat(VTy->getElementCount(), C); in get() 942 return ConstantVector::getSplat(VTy->getElementCount(), C); in getNaN() [all …]
|
D | ConstantFold.cpp | 65 return ConstantVector::getSplat(DstTy->getElementCount(), in BitCastConstantVector() 586 cast<VectorType>(DestTy)->getElementCount(), in ConstantFoldCastInstruction() 965 unsigned SrcNumElts = V1VTy->getElementCount().getKnownMinValue(); in ConstantFoldShuffleVectorInstruction() 1071 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction() 1447 VTy->getElementCount(), in ConstantFoldBinaryInstruction() 1942 VT->getElementCount()); in ConstantFoldCompareInstruction() 2081 C1VTy->getElementCount(), in ConstantFoldCompareInstruction() 2094 for (unsigned I = 0, E = C1VTy->getElementCount().getKnownMinValue(); in ConstantFoldCompareInstruction() 2353 cast<VectorType>(GEPTy)->getElementCount(), C) in ConstantFoldGetElementPtr() 2372 GEPTy = VectorType::get(OrigGEPTy, VT->getElementCount()); in ConstantFoldGetElementPtr() [all …]
|
D | Function.cpp | 749 ElementCount EC = VTy->getElementCount(); in getMangledTypeStr() 1166 return VectorType::get(EltTy, VTy->getElementCount()); in DecodeFixedType() 1300 return !VT || VT->getElementCount() != D.Vector_Width || in matchIntrinsicType() 1397 if (ReferenceType->getElementCount() != in matchIntrinsicType() 1398 ThisArgType->getElementCount()) in matchIntrinsicType() 1445 (ReferenceType->getElementCount() != ThisArgVecTy->getElementCount())) in matchIntrinsicType()
|
D | Instructions.cpp | 85 if (ET->getElementCount() != VT->getElementCount()) in areInvalidOperands() 1883 cast<VectorType>(Mask->getType())->getElementCount()), in ShuffleVectorInst() 1901 cast<VectorType>(Mask->getType())->getElementCount()), in ShuffleVectorInst() 1973 cast<VectorType>(V1->getType())->getElementCount().getKnownMinValue(); in isValidOperands() 2029 ElementCount EC = cast<VectorType>(Mask->getType())->getElementCount(); in getShuffleMask() 3025 cast<VectorType>(Ty)->getElementCount() == in CreatePointerCast() 3026 cast<VectorType>(S->getType())->getElementCount()) && in CreatePointerCast() 3044 cast<VectorType>(Ty)->getElementCount() == in CreatePointerCast() 3045 cast<VectorType>(S->getType())->getElementCount()) && in CreatePointerCast() 3154 if (SrcVecTy->getElementCount() == DestVecTy->getElementCount()) { in isBitCastable() [all …]
|
D | Verifier.cpp | 2815 Assert(cast<VectorType>(SrcTy)->getElementCount() == in visitUIToFPInst() 2816 cast<VectorType>(DestTy)->getElementCount(), in visitUIToFPInst() 2838 Assert(cast<VectorType>(SrcTy)->getElementCount() == in visitSIToFPInst() 2839 cast<VectorType>(DestTy)->getElementCount(), in visitSIToFPInst() 2861 Assert(cast<VectorType>(SrcTy)->getElementCount() == in visitFPToUIInst() 2862 cast<VectorType>(DestTy)->getElementCount(), in visitFPToUIInst() 2884 Assert(cast<VectorType>(SrcTy)->getElementCount() == in visitFPToSIInst() 2885 cast<VectorType>(DestTy)->getElementCount(), in visitFPToSIInst() 2909 Assert(VSrc->getElementCount() == VDest->getElementCount(), in visitPtrToIntInst() 2934 Assert(VSrc->getElementCount() == VDest->getElementCount(), in visitIntToPtrInst() [all …]
|
D | IntrinsicInst.cpp | 184 auto ElemCount = VT->getElementCount(); in getStaticVectorLength()
|
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/ |
D | LLVMTypes.cpp | 58 llvm::ElementCount elementCount = t.getElementCount(); in getPrimitiveSizeInBits() 110 return cast<LLVMVectorType>().getElementCount(); in getVectorElementCount() 486 llvm::ElementCount LLVMVectorType::getElementCount() { in getElementCount() function in LLVMVectorType
|
/external/llvm-project/llvm/include/llvm/Analysis/Utils/ |
D | Local.h | 66 cast<VectorType>(IntIdxTy)->getElementCount(), OpC);
|
D | TFUtils.h | 70 size_t getElementCount() const { return ElementCount; } in getElementCount() function
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | ValueTypes.cpp | 124 ElementCount EC = cast<VectorType>(LLVMTy)->getElementCount(); in getExtendedVectorNumElements() 136 return cast<VectorType>(LLVMTy)->getElementCount(); in getExtendedVectorElementCount() 512 VTy->getElementCount()); in getVT() 531 VTy->getElementCount()); in getEVT()
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemExtensionDecl.java | 183 public int getElementCount() in getElementCount() method in ElemExtensionDecl
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ValueTypes.cpp | 345 VTy->getElementCount()); in getVT() 363 VTy->getElementCount()); in getEVT()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 188 ElementCount NumSrcElts = SrcTy->getElementCount(); in foldBitcastExtElt() 190 cast<VectorType>(Ext.getVectorOperandType())->getElementCount(); in foldBitcastExtElt() 347 ElementCount EC = EI.getVectorOperandType()->getElementCount(); in visitExtractElementInst() 1362 Type *VecTy = VectorType::get(ScalarTy, IE.getType()->getElementCount()); in visitInsertElementInst() 1613 cast<VectorType>(NewOps[0]->getType())->getElementCount()); in buildNew()
|