Home
last modified time | relevance | path

Searched refs:ElementCount (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTypeSize.h23 class ElementCount {
29 ElementCount(unsigned Min, bool Scalable) in ElementCount() function
32 ElementCount operator*(unsigned RHS) {
35 ElementCount operator/(unsigned RHS) {
39 bool operator==(const ElementCount& RHS) const {
42 bool operator!=(const ElementCount& RHS) const {
DMachineValueType.h670 ElementCount getVectorElementCount() const { in getVectorElementCount()
1090 static MVT getVectorVT(MVT VT, ElementCount EC) { in getVectorVT()
/third_party/vk-gl-cts/external/amber/src/src/
Dbuffer_test.cc30 EXPECT_EQ(static_cast<size_t>(0U), b.ElementCount()); in TEST_F()
43 EXPECT_EQ(10u, b.ElementCount()); in TEST_F()
60 EXPECT_EQ(5u, b.ElementCount()); in TEST_F()
78 EXPECT_EQ(20u, b.ElementCount()); in TEST_F()
93 EXPECT_EQ(10u, b.ElementCount()); in TEST_F()
109 EXPECT_EQ(10u, b.ElementCount()); in TEST_F()
124 EXPECT_EQ(1U, b.ElementCount()); in TEST_F()
312 EXPECT_EQ(2u, b.ElementCount()); in TEST_F()
Dbuffer.h133 uint32_t ElementCount() const { return element_count_; } in ElementCount() function
165 return ElementCount() * format_->SizeInBytes(); in GetSizeInBytes()
Dbuffer.cc128 for (size_t i = 0; i < ElementCount(); ++i) { in CalculateDiffs()
189 for (size_t i = 0; i < ElementCount(); ++i) { in GetHistogramForChannel()
317 if (data.size() > (ElementCount() * format_->InputNeededPerElement())) in SetDataWithOffset()
Dexecutor.cc149 return verifier_.ProbeSSBO(probe_ssbo, buffer->ElementCount(), in ExecuteCommand()
Dpipeline.cc276 if (attachment.buffer->ElementCount() != in Validate()
285 depth_stencil_buffer_.buffer->ElementCount() != fb_width_ * fb_height_) { in Validate()
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser_buffer_test.cc72 EXPECT_EQ(7U, buffer->ElementCount()); in TEST_F()
105 EXPECT_EQ(7U, buffer->ElementCount()); in TEST_F()
138 EXPECT_EQ(1U, buffer->ElementCount()); in TEST_F()
171 EXPECT_EQ(1U, buffer->ElementCount()); in TEST_F()
203 EXPECT_EQ(7U, buffer->ElementCount()); in TEST_F()
236 EXPECT_EQ(7U, buffer->ElementCount()); in TEST_F()
269 EXPECT_EQ(7U, buffer->ElementCount()); in TEST_F()
298 EXPECT_EQ(4U, buffer->ElementCount()); in TEST_F()
327 EXPECT_EQ(4U, buffer->ElementCount()); in TEST_F()
356 EXPECT_EQ(5U, buffer->ElementCount()); in TEST_F()
[all …]
Dparser_image_test.cc220 EXPECT_EQ(4u, buffer->ElementCount()); in TEST_F()
244 EXPECT_EQ(12u, buffer->ElementCount()); in TEST_F()
309 EXPECT_EQ(60u, buffer->ElementCount()); in TEST_F()
339 EXPECT_EQ(8u, buffer->ElementCount()); in TEST_F()
Dparser_bind_test.cc53 EXPECT_EQ(250u * 250u, buf_info.buffer->ElementCount()); in TEST_F()
302 EXPECT_EQ(90u * 180u, buf1.buffer->ElementCount()); in TEST_F()
311 EXPECT_EQ(256u * 300u, buf2.buffer->ElementCount()); in TEST_F()
347 EXPECT_EQ(90u * 180u, buf1.buffer->ElementCount()); in TEST_F()
383 EXPECT_EQ(90u * 180u, buf1.buffer->ElementCount()); in TEST_F()
519 EXPECT_EQ(90u * 180u, buf.buffer->ElementCount()); in TEST_F()
1682 EXPECT_EQ(20u, buf.buffer->ElementCount()); in TEST_F()
3543 EXPECT_EQ(64u * 64u, buf_info.buffer->ElementCount()); in TEST_F()
3631 EXPECT_EQ(64u * 64u, buf_info.buffer->ElementCount()); in TEST_F()
Dparser_pipeline_test.cc204 EXPECT_EQ(250u * 250u, buffer1->ElementCount()); in TEST_F()
215 EXPECT_EQ(250u * 250u, buf2.buffer->ElementCount()); in TEST_F()
Dparser.cc2290 if (size_in_items != buffer->ElementCount()) { in ParseImage()
2294 std::to_string(buffer->ElementCount()) + " provided"); in ParseImage()
2856 indexed ? pipeline->GetIndexBuffer()->ElementCount() in ParseRun()
2857 : pipeline->GetVertexBuffers()[0].buffer->ElementCount(); in ParseRun()
3219 if (buffer->ElementCount() != buffer_2->ElementCount()) { in ParseExpect()
3222 std::to_string(buffer->ElementCount()) + " vs " + in ParseExpect()
3223 std::to_string(buffer_2->ElementCount())); in ParseExpect()
3490 buffer_to->SetElementCount(buffer_from->ElementCount()); in ParseCopy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DDenseMapInfo.h283 template <> struct DenseMapInfo<ElementCount> {
284 static inline ElementCount getEmptyKey() { return {~0U, true}; }
285 static inline ElementCount getTombstoneKey() { return {~0U - 1, false}; }
286 static unsigned getHashValue(const ElementCount& EltCnt) {
293 static bool isEqual(const ElementCount& LHS, const ElementCount& RHS) {
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
Dparser_test.cc258 EXPECT_EQ(3U, bufs[1]->ElementCount()); in TEST_F()
343 EXPECT_EQ(static_cast<uint32_t>(0), bufs[1]->ElementCount()); in TEST_F()
348 EXPECT_EQ(static_cast<uint32_t>(0), bufs[2]->ElementCount()); in TEST_F()
377 EXPECT_EQ(static_cast<uint32_t>(0), bufs[1]->ElementCount()); in TEST_F()
388 EXPECT_EQ(static_cast<uint32_t>(0), bufs[2]->ElementCount()); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h447 VectorType(Type *ElType, ElementCount EC);
459 static VectorType *get(Type *ElementType, ElementCount EC);
542 ElementCount getElementCount() const { in getElementCount()
574 ElementCount Type::getVectorElementCount() const { in getVectorElementCount()
DType.h375 inline ElementCount getVectorElementCount() const;
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dindex_buffer.cc36 if (buffer->ElementCount() == 0) in SendIndexData()
Dengine_vulkan.cc266 cmd->GetBuffer()->SetSizeInElements(cmd->GetBuffer()->ElementCount()); in CreatePipeline()
666 cmd->GetBuffer()->SetSizeInElements(cmd->GetBuffer()->ElementCount()); in DoBuffer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DValueTypes.h85 static EVT getVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) { in getVectorVT()
283 ElementCount getVectorElementCount() const { in getVectorElementCount()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dangletypes.h487 template <typename ElementType, size_t ElementCount>
490 static_assert(ElementCount <= 256, "ElementCount cannot exceed 256.");
496 static constexpr size_t kBits = ElementCount > 16 ? 8 : 4;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h1274 unsigned ElementCount, LLVMBool Packed);
1281 LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount,
1304 unsigned ElementCount, LLVMBool Packed);
1397 LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount);
1436 LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DType.cpp611 VectorType::VectorType(Type *ElType, ElementCount EC) in VectorType()
614 VectorType *VectorType::get(Type *ElementType, ElementCount EC) { in get()
DCore.cpp671 unsigned ElementCount, LLVMBool Packed) { in LLVMStructTypeInContext() argument
672 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); in LLVMStructTypeInContext()
677 unsigned ElementCount, LLVMBool Packed) { in LLVMStructType() argument
679 ElementCount, Packed); in LLVMStructType()
696 unsigned ElementCount, LLVMBool Packed) { in LLVMStructSetBody() argument
697 ArrayRef<Type*> Tys(unwrap(ElementTypes), ElementCount); in LLVMStructSetBody()
743 LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount) { in LLVMArrayType() argument
744 return wrap(ArrayType::get(unwrap(ElementType), ElementCount)); in LLVMArrayType()
751 LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount) { in LLVMVectorType() argument
752 return wrap(VectorType::get(unwrap(ElementType), ElementCount)); in LLVMVectorType()
DLLVMContextImpl.h1337 DenseMap<std::pair<Type *, ElementCount>, VectorType*> VectorTypes;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DVectorUtils.h103 static VFShape get(const CallInst &CI, ElementCount EC, bool HasGlobalPred) { in get()

12