Home
last modified time | relevance | path

Searched refs:elementsType (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/unittests/TableGen/
DStructsGenTest.cpp34 auto elementsType = mlir::RankedTensorType::get({2, 3}, integerType); in getTestStruct() local
36 mlir::DenseIntElementsAttr::get(elementsType, {1, 2, 3, 4, 5, 6}); in getTestStruct()
109 auto elementsType = mlir::RankedTensorType::get({3}, i64Type); in TEST() local
111 mlir::DenseIntElementsAttr::get(elementsType, ArrayRef<int64_t>{1, 2, 3}); in TEST()
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp5800 gl::DrawElementsType elementsType = shouldConvertUint8VkIndexType(glIndexType) in getVkIndexTypeSize() local
5803 ASSERT(elementsType < gl::DrawElementsType::EnumCount); in getVkIndexTypeSize()
5806 return static_cast<size_t>(gl::GetDrawElementsTypeSize(elementsType)); in getVkIndexTypeSize()