Home
last modified time | relevance | path

Searched refs:elementTy (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/mlir/lib/IR/
DTypeDetail.h126 ShapedTypeStorage(Type elementTy) : elementType(elementTy) {} in ShapedTypeStorage()
137 VectorTypeStorage(unsigned shapeSize, Type elementTy, in VectorTypeStorage()
139 : ShapedTypeStorage(elementTy), shapeElements(shapeElements), in VectorTypeStorage()
168 RankedTensorTypeStorage(unsigned shapeSize, Type elementTy, in RankedTensorTypeStorage()
170 : ShapedTypeStorage(elementTy), shapeElements(shapeElements), in RankedTensorTypeStorage()
204 Type elementTy) { in construct()
206 UnrankedTensorTypeStorage(elementTy); in construct()
274 UnrankedMemRefTypeStorage(Type elementTy, const unsigned memorySpace) in UnrankedMemRefTypeStorage()
275 : BaseMemRefTypeStorage(elementTy, memorySpace) {} in UnrankedMemRefTypeStorage()
/external/swiftshader/src/Pipeline/
DSpirvShaderMemory.cpp97 auto &elementTy = getType(pointerTy.element); in Store() local
99 …ASSERT(!atomic || elementTy.opcode() == spv::OpTypeInt); // Vulkan 1.1: "Atomic instructions must… in Store()
135 auto elementTy = getType(objectTy.element); in EmitVariable() local
136 auto size = elementTy.componentCount * static_cast<uint32_t>(sizeof(float)) * SIMD::Width; in EmitVariable()
162 auto elementTy = getType(objectTy.element); in EmitVariable() local
163 auto size = elementTy.componentCount * static_cast<uint32_t>(sizeof(float)) * SIMD::Width; in EmitVariable()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DDeserializer.cpp1213 Type elementTy = getType(operands[1]); in processType() local
1214 if (!elementTy) { in processType()
1218 typeMap[operands[0]] = VectorType::get({operands[2]}, elementTy); in processType()
1300 Type elementTy = getType(operands[1]); in processArrayType() local
1301 if (!elementTy) { in processArrayType()
1322 elementTy, count, typeDecorations.lookup(operands[0])); in processArrayType()
1358 Type elementTy = getType(operands[1]); in processCooperativeMatrixType() local
1359 if (!elementTy) { in processCooperativeMatrixType()
1376 elementTy, scope.getValue(), rows, columns); in processCooperativeMatrixType()
1490 Type elementTy = getType(operands[1]); in processMatrixType() local
[all …]
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVDialect.cpp327 auto elementTy = parseAndVerifyType(dialect, parser); in parseCooperativeMatrixType() local
328 if (!elementTy) in parseCooperativeMatrixType()
337 return CooperativeMatrixNVType::get(elementTy, scope, dims[0], dims[1]); in parseCooperativeMatrixType()
/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/
DConvertVectorToLLVM.cpp148 Type elementTy = in getMemRefAlignment() local
150 if (!elementTy) in getMemRefAlignment()
157 .getPreferredAlignment(elementTy.cast<LLVM::LLVMType>(), in getMemRefAlignment()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp1440 llvm::Type *elementTy = ConvertTypeForMem(allocType); in EmitCXXNewExpr() local
1441 Address result = Builder.CreateElementBitCast(allocation, elementTy); in EmitCXXNewExpr()
1451 EmitNewInitializer(*this, E, allocType, elementTy, result, numElements, in EmitCXXNewExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGExprCXX.cpp1712 llvm::Type *elementTy = ConvertTypeForMem(allocType); in EmitCXXNewExpr() local
1713 Address result = Builder.CreateElementBitCast(allocation, elementTy); in EmitCXXNewExpr()
1736 EmitNewInitializer(*this, E, allocType, elementTy, result, numElements, in EmitCXXNewExpr()