Home
last modified time | relevance | path

Searched defs:elementType (Results 1 – 25 of 146) sorted by relevance

123456

/llvm-project/mlir/lib/CAPI/IR/
H A DBuiltinTypes.cpp387 MlirType elementType) { in mlirMemRefTypeGet() argument
216 mlirComplexTypeGet(MlirType elementType) mlirComplexTypeGet() argument
283 mlirVectorTypeGet(intptr_t rank,const int64_t * shape,MlirType elementType) mlirVectorTypeGet() argument
289 mlirVectorTypeGetChecked(MlirLocation loc,intptr_t rank,const int64_t * shape,MlirType elementType) mlirVectorTypeGetChecked() argument
296 mlirVectorTypeGetScalable(intptr_t rank,const int64_t * shape,const bool * scalable,MlirType elementType) mlirVectorTypeGetScalable() argument
305 mlirVectorTypeGetScalableChecked(MlirLocation loc,intptr_t rank,const int64_t * shape,const bool * scalable,MlirType elementType) mlirVectorTypeGetScalableChecked() argument
345 mlirRankedTensorTypeGet(intptr_t rank,const int64_t * shape,MlirType elementType,MlirAttribute encoding) mlirRankedTensorTypeGet() argument
353 mlirRankedTensorTypeGetChecked(MlirLocation loc,intptr_t rank,const int64_t * shape,MlirType elementType,MlirAttribute encoding) mlirRankedTensorTypeGetChecked() argument
364 mlirUnrankedTensorTypeGet(MlirType elementType) mlirUnrankedTensorTypeGet() argument
369 mlirUnrankedTensorTypeGetChecked(MlirLocation loc,MlirType elementType) mlirUnrankedTensorTypeGetChecked() argument
398 mlirMemRefTypeGetChecked(MlirLocation loc,MlirType elementType,intptr_t rank,const int64_t * shape,MlirAttribute layout,MlirAttribute memorySpace) mlirMemRefTypeGetChecked() argument
411 mlirMemRefTypeContiguousGet(MlirType elementType,intptr_t rank,const int64_t * shape,MlirAttribute memorySpace) mlirMemRefTypeContiguousGet() argument
420 mlirMemRefTypeContiguousGetChecked(MlirLocation loc,MlirType elementType,intptr_t rank,const int64_t * shape,MlirAttribute memorySpace) mlirMemRefTypeContiguousGetChecked() argument
460 mlirUnrankedMemRefTypeGet(MlirType elementType,MlirAttribute memorySpace) mlirUnrankedMemRefTypeGet() argument
467 mlirUnrankedMemRefTypeGetChecked(MlirLocation loc,MlirType elementType,MlirAttribute memorySpace) mlirUnrankedMemRefTypeGetChecked() argument
[all...]
/llvm-project/mlir/lib/Bindings/Python/
H A DIRInterfaces.cpp321 PyShapedTypeComponents(nb::list shape, MlirType elementType, in PyShapedTypeComponents() argument
322 PyShapedTypeComponents(py::list shape,MlirType elementType) PyShapedTypeComponents() argument
324 PyShapedTypeComponents(py::list shape,MlirType elementType,MlirAttribute attribute) PyShapedTypeComponents() argument
342 __anonf53964290302(PyType &elementType) bind() argument
350 __anonf53964290402(py::list shape, PyType &elementType) bind() argument
357 __anonf53964290502(py::list shape, PyType &elementType, PyAttribute &attribute) bind() argument
396 MlirType elementType; global() member in mlir::python::PyShapedTypeComponents
421 appendResultsCallback(bool hasRank,intptr_t rank,const int64_t * shape,MlirType elementType,MlirAttribute attribute,void * userData) appendResultsCallback() argument
[all...]
H A DDialectPDL.cpp65 __anonfc885c200302(py::object cls, MlirType elementType) populateDialectPDLSubmodule() argument
/llvm-project/mlir/include/mlir/IR/
H A DBuiltinTypes.h209 Builder(ArrayRef<int64_t> shape,Type elementType) Builder() argument
238 Type elementType; global() variable
257 Builder(ArrayRef<int64_t> shape,Type elementType,Attribute encoding) Builder() argument
295 Type elementType; global() variable
315 elementType(elementType) elementType() argument
[all...]
/llvm-project/mlir/lib/Dialect/PDL/IR/
H A DPDLTypes.cpp77 Type elementType = parsePDLType(parser); in parse() local
97 Type elementType) { in verify()
/llvm-project/flang/lib/Optimizer/Transforms/
H A DSimplifyIntrinsics.cpp135 genNoneBoxType(fir::FirOpBuilder & builder,const mlir::Type & elementType) genNoneBoxType() argument
241 auto elementType = fir::unwrapSeqOrBoxedSeqType(boxType); getArgElementType() local
273 genReductionLoop(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,fir::InitValGeneratorTy initVal,ContinueLoopGenTy loopCond,T unorderedOrInitialLoopCond,BodyOpGeneratorTy genBody,unsigned rank,mlir::Type elementType,mlir::Location loc) genReductionLoop() argument
372 genRuntimeSumBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeSumBody() argument
383 __anonfe7b43d30202(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeSumBody() argument
414 genRuntimeMaxvalBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeMaxvalBody() argument
416 __anonfe7b43d30402(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeMaxvalBody() argument
429 __anonfe7b43d30502(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value elem1, mlir::Value elem2) genRuntimeMaxvalBody() argument
459 genRuntimeCountBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeCountBody() argument
461 __anonfe7b43d30602(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeCountBody() argument
469 __anonfe7b43d30702(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value elem1, mlir::Value elem2) genRuntimeCountBody() argument
493 genRuntimeAnyBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeAnyBody() argument
495 __anonfe7b43d30802(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeAnyBody() argument
501 __anonfe7b43d30902(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value elem1, mlir::Value elem2) genRuntimeAnyBody() argument
526 genRuntimeAllBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,unsigned rank,mlir::Type elementType) genRuntimeAllBody() argument
528 __anonfe7b43d30b02(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeAllBody() argument
534 __anonfe7b43d30c02(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value elem1, mlir::Value elem2) genRuntimeAllBody() argument
568 genMinMaxlocReductionLoop(fir::FirOpBuilder & builder,mlir::Value array,fir::InitValGeneratorTy initVal,fir::MinlocBodyOpGeneratorTy genBody,fir::AddrGeneratorTy getAddrFn,unsigned rank,mlir::Type elementType,mlir::Location loc,mlir::Type maskElemType,mlir::Value resultArr,bool maskMayBeLogicalScalar) genMinMaxlocReductionLoop() argument
660 genRuntimeMinMaxlocBody(fir::FirOpBuilder & builder,mlir::func::FuncOp & funcOp,bool isMax,unsigned rank,int maskRank,mlir::Type elementType,mlir::Type maskElemType,mlir::Type resultElemTy,bool isDim) genRuntimeMinMaxlocBody() argument
664 __anonfe7b43d30e02(fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType) genRuntimeMinMaxlocBody() argument
717 __anonfe7b43d30f02( fir::FirOpBuilder builder, mlir::Location loc, mlir::Type elementType, mlir::Value array, mlir::Value flagRef, mlir::Value reduction, const llvm::SmallVectorImpl<mlir::Value> &indices) genRuntimeMinMaxlocBody() argument
891 genRuntimeDotType(fir::FirOpBuilder & builder,const mlir::Type & elementType) genRuntimeDotType() argument
1100 mlir::Type elementType = hlfir::getFortranElementType(inputBox.getType()); simplifyLogicalDim0Reduction() local
1137 mlir::Type elementType = hlfir::getFortranElementType(inputBox.getType()); simplifyLogicalDim1Reduction() local
1246 simplifyReductionBody(fir::CallOp call,const fir::KindMapping & kindMap,GenReductionBodyTy genBodyFunc,fir::FirOpBuilder & builder,const mlir::StringRef & funcName,mlir::Type elementType) simplifyReductionBody() argument
[all...]
/llvm-project/mlir/lib/AsmParser/
H A DTypeParser.cpp137 auto elementType = parseType(); parseComplexType() local
202 auto elementType = parseType(); parseMemRefType() local
392 auto elementType = parseType(); parseTensorType() local
469 auto elementType = parseType(); parseVectorType() local
[all...]
/llvm-project/mlir/lib/IR/
H A DBuiltinTypes.cpp52 verify(function_ref<InFlightDiagnostic ()> emitError,Type elementType) verify() argument
229 verify(function_ref<InFlightDiagnostic ()> emitError,ArrayRef<int64_t> shape,Type elementType,ArrayRef<bool> scalableDims) verify() argument
310 checkTensorElementType(function_ref<InFlightDiagnostic ()> emitError,Type elementType) checkTensorElementType() argument
332 verify(function_ref<InFlightDiagnostic ()> emitError,ArrayRef<int64_t> shape,Type elementType,Attribute encoding) verify() argument
349 verify(function_ref<InFlightDiagnostic ()> emitError,Type elementType) verify() argument
524 get(ArrayRef<int64_t> shape,Type elementType,MemRefLayoutAttrInterface layout,Attribute memorySpace) get() argument
541 getChecked(function_ref<InFlightDiagnostic ()> emitErrorFn,ArrayRef<int64_t> shape,Type elementType,MemRefLayoutAttrInterface layout,Attribute memorySpace) getChecked() argument
555 get(ArrayRef<int64_t> shape,Type elementType,AffineMap map,Attribute memorySpace) get() argument
575 getChecked(function_ref<InFlightDiagnostic ()> emitErrorFn,ArrayRef<int64_t> shape,Type elementType,AffineMap map,Attribute memorySpace) getChecked() argument
593 get(ArrayRef<int64_t> shape,Type elementType,AffineMap map,unsigned memorySpaceInd) get() argument
614 getChecked(function_ref<InFlightDiagnostic ()> emitErrorFn,ArrayRef<int64_t> shape,Type elementType,AffineMap map,unsigned memorySpaceInd) getChecked() argument
634 verify(function_ref<InFlightDiagnostic ()> emitError,ArrayRef<int64_t> shape,Type elementType,MemRefLayoutAttrInterface layout,Attribute memorySpace) verify() argument
665 verify(function_ref<InFlightDiagnostic ()> emitError,Type elementType,Attribute memorySpace) verify() argument
[all...]
/llvm-project/mlir/lib/Dialect/SPIRV/Utils/
H A DLayoutUtils.cpp109 auto elementType = vectorType.getElementType(); in decorateType() local
128 auto elementType = arrayType.getElementType(); in decorateType() local
143 auto elementType = arrayType.getElementType(); in decorateType() local
/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypes.cpp157 LLVMArrayType LLVMArrayType::get(Type elementType, uint64_t numElements) { in get() argument
164 Type elementType, uint64_t numElements) { in getChecked() argument
172 Type elementType, uint64_t numElements) { in verify() argument
662 verifyVectorConstructionInvariants(function_ref<InFlightDiagnostic ()> emitError,Type elementType,unsigned numElements) verifyVectorConstructionInvariants() argument
672 get(Type elementType,unsigned numElements) get() argument
680 getChecked(function_ref<InFlightDiagnostic ()> emitError,Type elementType,unsigned numElements) getChecked() argument
692 verify(function_ref<InFlightDiagnostic ()> emitError,Type elementType,unsigned numElements) verify() argument
701 get(Type elementType,unsigned minNumElements) get() argument
709 getChecked(function_ref<InFlightDiagnostic ()> emitError,Type elementType,unsigned minNumElements) getChecked() argument
725 verify(function_ref<InFlightDiagnostic ()> emitError,Type elementType,unsigned numElements) verify() argument
883 Type elementType = vecType.getElementType(); isCompatibleVectorType() local
928 getVectorType(Type elementType,unsigned numElements,bool isScalable) getVectorType() argument
946 getVectorType(Type elementType,const llvm::ElementCount & numElements) getVectorType() argument
955 getFixedVectorType(Type elementType,unsigned numElements) getFixedVectorType() argument
966 getScalableVectorType(Type elementType,unsigned numElements) getScalableVectorType() argument
[all...]
/llvm-project/flang/include/flang/Lower/
H A DVectorSubscripts.h83 MaybeSubstring substringBounds, mlir::Type elementType) in VectorSubscriptBox()
139 mlir::Type elementType; variable
/llvm-project/mlir/lib/Conversion/ComplexToLibm/
H A DComplexToLibm.cpp30 auto elementType = complexType.getElementType(); in operator ()() local
42 auto elementType = cast<FloatType>(type); in operator ()() local
/llvm-project/mlir/lib/Dialect/XeGPU/IR/
H A DXeGPUDialect.cpp52 mlir::Type elementType; parse() local
111 get(llvm::ArrayRef<int64_t> shape,mlir::Type elementType,bool scattered,int array_length,MemoryScope memory_scope,bool boundary_check) get() argument
[all...]
/llvm-project/mlir/lib/Conversion/ComplexToStandard/
H A DComplexToStandard.cpp103 Type elementType = type.getElementType(); in matchAndRewrite() local
176 auto elementType = cast<FloatType>(type.getElementType()); in matchAndRewrite() local
205 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
272 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
502 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
530 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
555 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
579 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
631 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
818 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
867 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
943 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
976 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
1075 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
1094 auto elementType = cast<FloatType>(type.getElementType()); powOpConversionImpl() local
1199 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
1218 auto elementType = cast<FloatType>(type.getElementType()); matchAndRewrite() local
[all...]
/llvm-project/mlir/include/mlir/Interfaces/
H A DInferTypeOpInterface.h114 ShapedTypeComponents(Type elementType) in ShapedTypeComponents() argument
159 Type elementType; global() variable
[all...]
/llvm-project/mlir/lib/Dialect/NVGPU/Utils/
H A DMMAUtils.cpp40 Type elementType, in getTileShape() argument
155 Type elementType, in getRegisterIndexToTileOffsetMap() argument
175 Type elementType = fragmentType.vectorType.getElementType(); in getLaneIdAndValueIdToOperandCoord() local
/llvm-project/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVTypes.cpp47 Type elementType; member
52 ArrayType ArrayType::get(Type elementType, unsigned elementCount) { in get() argument
58 ArrayType ArrayType::get(Type elementType, unsigned elementCount, in get() argument
83 auto elementType = llvm::cast<SPIRVType>(getElementType()); getSizeInBytes() local
221 Type elementType; global() member
228 get(Type elementType,uint32_t rows,uint32_t columns,Scope scope,CooperativeMatrixUseKHR use) get() argument
291 Type elementType; global() member
298 get(Type elementType,Scope scope,unsigned rows,unsigned columns,MatrixLayout matrixLayout) get() argument
404 Type elementType; global() member
534 Type elementType; global() member
538 get(Type elementType) get() argument
542 get(Type elementType,unsigned stride) get() argument
1131 for (Type elementType : getElementTypes()) getExtensions() local
1138 for (Type elementType : getElementTypes()) getCapabilities() local
[all...]
H A DAtomicOps.cpp39 auto elementType = ptrType.getPointeeType(); in verifyAtomicUpdateOp() local
/llvm-project/mlir/test/lib/Dialect/Func/
H A DTestDecomposeCallGraphTypes.cpp28 Type elementType = resultType.getType(i); buildDecomposeTuple() local
53 for (Type elementType : resultType.getTypes()) { buildMakeTupleOp() local
/llvm-project/mlir/lib/Dialect/ArmSME/IR/
H A DUtils.cpp101 auto elementType = vType.getElementType(); in isMultipleOfSMETileVectorType() local
114 VectorType getSMETileTypeForElement(Type elementType) { in getSMETileTypeForElement()
/llvm-project/mlir/test/CAPI/
H A Dpdl.c149 MlirType elementType = mlirPDLRangeTypeGetElementType(constructedType); in testRangeType() local
/llvm-project/mlir/lib/Dialect/Quant/Utils/
H A DUniformSupport.cpp23 Type elementType = cast<ShapedType>(inputType).getElementType(); in forInputType() local
/llvm-project/mlir/lib/CAPI/Dialect/
H A DPDL.cpp59 MlirType mlirPDLRangeTypeGet(MlirType elementType) { in mlirPDLRangeTypeGet()
/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
H A DSPIRVConversion.cpp110 wrapInStructAndGetPointer(Type elementType,spirv::StorageClass storageClass) wrapInStructAndGetPointer() argument
317 Type elementType = convertSubByteIntegerType(options, intType); global() local
350 auto elementType = global() local
368 auto elementType = global() local
444 auto elementType = dyn_cast<spirv::ScalarType>( convertBoolMemrefType() local
491 IntegerType elementType = cast<IntegerType>(type.getElementType()); convertSubByteMemrefType() local
548 Type elementType = type.getElementType(); convertMemrefType() local
[all...]
/llvm-project/mlir/lib/Dialect/Complex/IR/
H A DComplexDialect.cpp68 Type elementType = llvm::cast<ComplexType>(type).getElementType(); in verify() local

123456