MLIR  16.0.0git
Functions
ConvertVectorToLLVM.cpp File Reference
#include "mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h"
#include "mlir/Conversion/LLVMCommon/VectorPattern.h"
#include "mlir/Dialect/Arithmetic/IR/Arithmetic.h"
#include "mlir/Dialect/Arithmetic/Utils/Utils.h"
#include "mlir/Dialect/LLVMIR/FunctionCallUtils.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/Vector/Transforms/VectorTransforms.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/TypeUtilities.h"
#include "mlir/Support/MathExtras.h"
#include "mlir/Target/LLVMIR/TypeToLLVM.h"
#include "mlir/Transforms/DialectConversion.h"
+ Include dependency graph for ConvertVectorToLLVM.cpp:

Go to the source code of this file.

Functions

static VectorType reducedVectorTypeFront (VectorType tp)
 
static VectorType reducedVectorTypeBack (VectorType tp)
 
static Value insertOne (ConversionPatternRewriter &rewriter, LLVMTypeConverter &typeConverter, Location loc, Value val1, Value val2, Type llvmType, int64_t rank, int64_t pos)
 
static Value extractOne (ConversionPatternRewriter &rewriter, LLVMTypeConverter &typeConverter, Location loc, Value val, Type llvmType, int64_t rank, int64_t pos)
 
LogicalResult getMemRefAlignment (LLVMTypeConverter &typeConverter, MemRefType memrefType, unsigned &align)
 
static LogicalResult getIndexedPtrs (ConversionPatternRewriter &rewriter, Location loc, Value memref, Value base, Value index, MemRefType memRefType, VectorType vType, Value &ptrs)
 
static Value castDataPtr (ConversionPatternRewriter &rewriter, Location loc, Value ptr, MemRefType memRefType, Type vt)
 

Function Documentation

◆ castDataPtr()

static Value castDataPtr ( ConversionPatternRewriter rewriter,
Location  loc,
Value  ptr,
MemRefType  memRefType,
Type  vt 
)
static

◆ extractOne()

static Value extractOne ( ConversionPatternRewriter rewriter,
LLVMTypeConverter typeConverter,
Location  loc,
Value  val,
Type  llvmType,
int64_t  rank,
int64_t  pos 
)
static

◆ getIndexedPtrs()

static LogicalResult getIndexedPtrs ( ConversionPatternRewriter rewriter,
Location  loc,
Value  memref,
Value  base,
Value  index,
MemRefType  memRefType,
VectorType  vType,
Value ptrs 
)
static

◆ getMemRefAlignment()

LogicalResult getMemRefAlignment ( LLVMTypeConverter typeConverter,
MemRefType  memrefType,
unsigned align 
)

◆ insertOne()

static Value insertOne ( ConversionPatternRewriter rewriter,
LLVMTypeConverter typeConverter,
Location  loc,
Value  val1,
Value  val2,
Type  llvmType,
int64_t  rank,
int64_t  pos 
)
static

◆ reducedVectorTypeBack()

static VectorType reducedVectorTypeBack ( VectorType  tp)
static

Definition at line 38 of file ConvertVectorToLLVM.cpp.

◆ reducedVectorTypeFront()

static VectorType reducedVectorTypeFront ( VectorType  tp)
static

Definition at line 28 of file ConvertVectorToLLVM.cpp.