MLIR  19.0.0git
Functions
NVVMToLLVMIRTranslation.cpp File Reference
#include "mlir/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.h"
#include "mlir/Dialect/LLVMIR/NVVMDialect.h"
#include "mlir/Dialect/Utils/StaticValueUtils.h"
#include "mlir/IR/Operation.h"
#include "mlir/Support/LogicalResult.h"
#include "mlir/Target/LLVMIR/ModuleTranslation.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/IntrinsicsNVPTX.h"
#include "mlir/Dialect/LLVMIR/NVVMConversions.inc"

Go to the source code of this file.

Functions

static llvm::Intrinsic::ID getReduxIntrinsicId (llvm::Type *resultType, NVVM::ReduxKind kind)
 
static llvm::Intrinsic::ID getShflIntrinsicId (llvm::Type *resultType, NVVM::ShflKind kind, bool withPredicate)
 
static llvm::Intrinsic::ID getLdMatrixIntrinsicId (NVVM::MMALayout layout, int32_t num)
 Return the intrinsic ID associated with ldmatrix for the given paramters. More...
 

Function Documentation

◆ getLdMatrixIntrinsicId()

static llvm::Intrinsic::ID getLdMatrixIntrinsicId ( NVVM::MMALayout  layout,
int32_t  num 
)
static

Return the intrinsic ID associated with ldmatrix for the given paramters.

Definition at line 96 of file NVVMToLLVMIRTranslation.cpp.

◆ getReduxIntrinsicId()

static llvm::Intrinsic::ID getReduxIntrinsicId ( llvm::Type *  resultType,
NVVM::ReduxKind  kind 
)
static

Definition at line 28 of file NVVMToLLVMIRTranslation.cpp.

◆ getShflIntrinsicId()

static llvm::Intrinsic::ID getShflIntrinsicId ( llvm::Type *  resultType,
NVVM::ShflKind  kind,
bool  withPredicate 
)
static

Definition at line 54 of file NVVMToLLVMIRTranslation.cpp.