MLIR
20.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"
#include "mlir/IR/SymbolTable.h"
Go to the source code of this file.
Functions | |
static Value | castAllocFuncResult (ConversionPatternRewriter &rewriter, Location loc, Value allocatedPtr, MemRefType memRefType, Type elementPtrType, const LLVMTypeConverter &typeConverter) |
|
static |
Definition at line 49 of file AllocLikeConversion.cpp.
References mlir::OpBuilder::create(), mlir::get(), mlir::Builder::getContext(), mlir::LLVMTypeConverter::getMemRefAddressSpace(), and mlir::Value::getType().
Referenced by mlir::AllocationOpLLVMLowering::allocateBufferAutoAlign(), and mlir::AllocationOpLLVMLowering::allocateBufferManuallyAlign().