MLIR  19.0.0git
Functions
MemRefBuilder.cpp File Reference
#include "mlir/Conversion/LLVMCommon/MemRefBuilder.h"
#include "MemRefDescriptor.h"
#include "mlir/Conversion/LLVMCommon/TypeConverter.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/LLVMIR/LLVMTypes.h"
#include "mlir/IR/Builders.h"
#include "mlir/Support/MathExtras.h"

Go to the source code of this file.

Functions

static Value createIndexAttrConstant (OpBuilder &builder, Location loc, Type resultType, int64_t value)
 
static std::pair< Value, TypecastToElemPtrPtr (OpBuilder &builder, Location loc, Value memRefDescPtr, LLVM::LLVMPointerType elemPtrType)
 

Function Documentation

◆ castToElemPtrPtr()

static std::pair<Value, Type> castToElemPtrPtr ( OpBuilder builder,
Location  loc,
Value  memRefDescPtr,
LLVM::LLVMPointerType  elemPtrType 
)
static

◆ createIndexAttrConstant()

static Value createIndexAttrConstant ( OpBuilder builder,
Location  loc,
Type  resultType,
int64_t  value 
)
static