Searched refs:getElementByteSize (Results 1 – 13 of 13) sorted by relevance
124 size_t TensorByteSize = Spec.getElementCount() * Spec.getElementByteSize(); in writeRawTensorsAsFeatureLists()173 size_t TensorSpec::getElementByteSize() const { in getElementByteSize() function in llvm::TensorSpec485 FeatureSpecs[0].Spec.getElementByteSize(); in print()490 RewardSpec.getElementCount() * RewardSpec.getElementByteSize(); in print()
142 EXPECT_EQ(Spec3DLarge.getElementByteSize(), sizeof(float)); in TEST()143 EXPECT_EQ(Spec1D.getElementByteSize(), sizeof(int16_t)); in TEST()
72 size_t getElementByteSize() const;
489 …m_intptr_ty, cstr ? (string_array->getNumElements() - 1) * string_array->getElementByteSize() : 0,… in RewriteObjCConstString()491 switch (cstr ? string_array->getElementByteSize() : 1) { in RewriteObjCConstString()505 string_array->getElementByteSize()); in RewriteObjCConstString()
2296 return StringRef(DataElements, getNumElements()*getElementByteSize()); in getRawDataValues()2321 uint64_t ConstantDataSequential::getElementByteSize() const { in getElementByteSize() function in ConstantDataSequential2328 return DataElements+Elt*getElementByteSize(); in getElementPointer()2670 unsigned EltSize = getElementByteSize(); in getSplatValue()
2506 return StringRef(DataElements, getNumElements()*getElementByteSize()); in getRawDataValues()2531 uint64_t ConstantDataSequential::getElementByteSize() const { in getElementByteSize() function in ConstantDataSequential2538 return DataElements+Elt*getElementByteSize(); in getElementPointer()2870 unsigned EltSize = getElementByteSize(); in isSplat()
2832 return StringRef(DataElements, getNumElements()*getElementByteSize()); in getRawDataValues()2858 uint64_t ConstantDataSequential::getElementByteSize() const { in getElementByteSize() function in ConstantDataSequential2865 return DataElements+Elt*getElementByteSize(); in getElementPointer()3222 unsigned EltSize = getElementByteSize(); in isSplatData()
607 uint64_t getElementByteSize() const;
645 uint64_t getElementByteSize() const;
647 uint64_t getElementByteSize() const;
1965 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential()
2440 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential()
2578 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential()