/llvm-project/mlir/lib/Conversion/MemRefToLLVM/ |
H A D | AllocLikeConversion.cpp | 51 castAllocFuncResult(ConversionPatternRewriter & rewriter,Location loc,Value allocatedPtr,MemRefType memRefType,Type elementPtrType,const LLVMTypeConverter & typeConverter) castAllocFuncResult() argument 74 MemRefType memRefType = getMemRefResultType(op); allocateBufferManuallyAlign() local 101 getMemRefEltSizeInBytes(MemRefType memRefType,Operation * op,const DataLayout * defaultLayout) const getMemRefEltSizeInBytes() argument 136 MemRefType memRefType = getMemRefResultType(op); allocateBufferAutoAlign() local 160 MemRefType memRefType = getMemRefResultType(op); matchAndRewrite() local [all...] |
H A D | MemRefToLLVM.cpp | 340 if (i >= 0 && i < memRefType.getRank()) { in extractSizeOfRankedMemRef() local 424 loc, typeConverter->convertType(memRefType.getElementType()), dataPtr); in matchAndRewrite() local 1567 auto memRefType = atomicOp.getMemRefType(); matchAndRewrite() local [all...] |
/llvm-project/mlir/lib/Conversion/LLVMCommon/ |
H A D | Pattern.cpp | 115 Location loc, MemRefType memRefType, ValueRange dynamicSizes, in getMemRefDescriptorSizes() argument 187 getNumElements(Location loc,MemRefType memRefType,ValueRange dynamicSizes,ConversionPatternRewriter & rewriter) const getNumElements() argument 219 createMemRefDescriptor(Location loc,MemRefType memRefType,Value allocatedPtr,Value alignedPtr,ArrayRef<Value> sizes,ArrayRef<Value> strides,ConversionPatternRewriter & rewriter) const createMemRefDescriptor() argument 257 if (auto memRefType = dyn_cast<UnrankedMemRefType>(origTypes[i])) { copyUnrankedDescriptors() local [all...] |
/llvm-project/mlir/include/mlir/Conversion/MemRefToLLVM/ |
H A D | AllocLikeConversion.h | 43 MemRefType memRefType = op.getType(); in getAlignment() local
|
/llvm-project/mlir/lib/Conversion/MemRefToSPIRV/ |
H A D | MapMemRefStorageClassPass.cpp | 173 addConversion([this](BaseMemRefType memRefType) -> std::optional<Type> { in MemorySpaceToStorageClassConverter() 208 if (auto memRefType = dyn_cast<BaseMemRefType>(type)) { in isLegalType() local
|
/llvm-project/mlir/examples/toy/Ch5/mlir/ |
H A D | LowerToAffineLoops.cpp | 86 auto memRefType = convertTensorToMemRef(tensorType); in lowerOpToLoops() local 165 auto memRefType = convertTensorToMemRef(tensorType); in matchAndRewrite() local
|
/llvm-project/mlir/examples/toy/Ch6/mlir/ |
H A D | LowerToAffineLoops.cpp | 86 auto memRefType = convertTensorToMemRef(tensorType); in lowerOpToLoops() local 165 auto memRefType = convertTensorToMemRef(tensorType); in matchAndRewrite() local
|
H A D | LowerToLLVM.cpp | 73 auto memRefType = llvm::cast<MemRefType>((*op->operand_type_begin())); in matchAndRewrite() local
|
/llvm-project/mlir/examples/toy/Ch7/mlir/ |
H A D | LowerToAffineLoops.cpp | 86 auto memRefType = convertTensorToMemRef(tensorType); in lowerOpToLoops() local 165 auto memRefType = convertTensorToMemRef(tensorType); in matchAndRewrite() local
|
H A D | LowerToLLVM.cpp | 73 auto memRefType = llvm::cast<MemRefType>((*op->operand_type_begin())); in matchAndRewrite() local
|
/llvm-project/mlir/lib/Conversion/MemRefToEmitC/ |
H A D | MemRefToEmitC.cpp | 173 __anon710907e20202(MemRefType memRefType) populateMemRefToEmitCTypeConversion() argument
|
/llvm-project/mlir/lib/Dialect/GPU/Transforms/ |
H A D | MemoryPromotion.cpp | 33 auto memRefType = cast<MemRefType>(from.getType()); in insertCopyLoops() local
|
/llvm-project/mlir/lib/Conversion/GPUToVulkan/ |
H A D | ConvertGPULaunchFuncToVulkanLaunchFunc.cpp |
|
/llvm-project/mlir/lib/Dialect/Affine/Analysis/ |
H A D | LoopAnalysis.cpp | 198 auto memRefType = memoryOp.getMemRefType(); isContiguousAccess() local 245 auto memRefType = memoryOp.getMemRefType(); isVectorElement() local
|
H A D | Utils.cpp | 945 auto memRefType = cast<MemRefType>(memref.getType()); in getConstantBoundingSizeAndShape() local 1006 auto memRefType = cast<MemRefType>(memref.getType()); in getLowerAndUpperBound() local 1180 auto memRefType = cast<MemRefType>(memref.getType()); in compute() local 1196 getMemRefIntOrFloatEltSizeInBytes(MemRefType memRefType) getMemRefIntOrFloatEltSizeInBytes() argument 1216 auto memRefType = cast<MemRefType>(memref.getType()); getRegionSize() local 1246 getIntOrFloatMemRefSizeInBytes(MemRefType memRefType) getIntOrFloatMemRefSizeInBytes() argument [all...] |
/llvm-project/mlir/lib/Dialect/Vector/Transforms/ |
H A D | LowerVectorTransfer.cpp | 458 auto memRefType = dyn_cast<MemRefType>(read.getShapedType()); matchAndRewriteMaskableOp() local 610 auto memRefType = dyn_cast<MemRefType>(write.getShapedType()); matchAndRewriteMaskableOp() local
|
/llvm-project/mlir/lib/Conversion/VectorToLLVM/ |
H A D | ConvertVectorToLLVM.cpp | 92 static LogicalResult isMemRefTypeSupported(MemRefType memRefType, in isMemRefTypeSupported() argument 104 MemRefType memRefType, Value llvmMemref, Value base, in getIndexedPtrs() argument 269 MemRefType memRefType = dyn_cast<MemRefType>(gather.getBaseType()); matchAndRewrite() local 332 MemRefType memRefType = scatter.getMemRefType(); matchAndRewrite() local 368 MemRefType memRefType = expand.getMemRefType(); matchAndRewrite() local 391 MemRefType memRefType = compress.getMemRefType(); matchAndRewrite() local 1358 computeContiguousStrides(MemRefType memRefType) computeContiguousStrides() argument [all...] |
/llvm-project/mlir/lib/Dialect/NVGPU/Transforms/ |
H A D | OptimizeSharedMemory.cpp | 151 auto memRefType = dyn_cast<MemRefType>(memrefValue.getType()); in optimizeSharedMemoryReadsAndWrites() local [all...] |
/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/ |
H A D | ConvertLaunchFuncToLLVMCalls.cpp | 219 auto memRefType = dyn_cast<MemRefType>( in matchAndRewrite() local
|
/llvm-project/mlir/lib/Conversion/GPUCommon/ |
H A D | GPUToLLVMConversion.cpp | 702 auto memRefType = hostRegisterOp.getValue().getType(); matchAndRewrite() local 724 auto memRefType = hostUnregisterOp.getValue().getType(); matchAndRewrite() local 741 MemRefType memRefType = allocOp.getType(); matchAndRewrite() local 1000 auto memRefType = cast<MemRefType>(memcpyOp.getSrc().getType()); matchAndRewrite() local 1040 auto memRefType = cast<MemRefType>(memsetOp.getDst().getType()); matchAndRewrite() local [all...] |
/llvm-project/mlir/lib/Dialect/MemRef/Transforms/ |
H A D | ExpandStridedMetadata.cpp | 755 auto memRefType = cast<MemRefType>(allocLikeOp.getResult().getType()); matchAndRewrite() local 845 auto memRefType = cast<MemRefType>(getGlobalOp.getResult().getType()); matchAndRewrite() local
|
/llvm-project/mlir/lib/Dialect/Bufferization/Transforms/ |
H A D | FuncBufferizableOpInterfaceImpl.cpp | 262 auto memRefType = funcType.getInput(opOperand.getOperandNumber()); bufferize() local
|
/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/ |
H A D | SPIRVConversion.cpp | 170 if (auto memRefType = dyn_cast<MemRefType>(type)) { getTypeNumBytes() local 733 __anonb08dc71c0802(MemRefType memRefType) SPIRVTypeConverter() argument
|
/llvm-project/mlir/lib/Dialect/Affine/Transforms/ |
H A D | SuperVectorize.cpp | 1192 MemRefType memRefType = loadOp.getMemRefType(); in vectorizeAffineLoad() local 1242 MemRefType memRefType = storeOp.getMemRefType(); in vectorizeAffineStore() local
|
/llvm-project/mlir/lib/Conversion/FuncToLLVM/ |
H A D | FuncToLLVM.cpp | 228 auto memRefType = dyn_cast<MemRefType>(input); in wrapExternalFunction() local
|