MLIR
17.0.0git
|
#include "mlir/Conversion/MemRefToLLVM/AllocLikeConversion.h"
#include "mlir/Analysis/DataLayoutAnalysis.h"
#include "mlir/Dialect/LLVMIR/FunctionCallUtils.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
Go to the source code of this file.
Functions | |
static Value | castAllocFuncResult (ConversionPatternRewriter &rewriter, Location loc, Value allocatedPtr, MemRefType memRefType, Type elementPtrType, LLVMTypeConverter &typeConverter) |
|
static |
Definition at line 57 of file AllocLikeConversion.cpp.
References mlir::Type::cast(), mlir::OpBuilder::create(), mlir::LLVMTypeConverter::getMemRefAddressSpace(), mlir::LLVMTypeConverter::getPointerType(), mlir::Value::getType(), and mlir::LLVMTypeConverter::useOpaquePointers().
Referenced by mlir::AllocationOpLLVMLowering::allocateBufferAutoAlign(), and mlir::AllocationOpLLVMLowering::allocateBufferManuallyAlign().