MLIR  20.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/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...
 
static unsigned getUnidirectionalFenceProxyID (NVVM::ProxyKind fromProxy, NVVM::ProxyKind toProxy, NVVM::MemScopeKind scope, bool isRelease)
 

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 95 of file NVVMToLLVMIRTranslation.cpp.

◆ getReduxIntrinsicId()

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

Definition at line 27 of file NVVMToLLVMIRTranslation.cpp.

◆ getShflIntrinsicId()

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

Definition at line 53 of file NVVMToLLVMIRTranslation.cpp.

◆ getUnidirectionalFenceProxyID()

static unsigned getUnidirectionalFenceProxyID ( NVVM::ProxyKind  fromProxy,
NVVM::ProxyKind  toProxy,
NVVM::MemScopeKind  scope,
bool  isRelease 
)
static

Definition at line 123 of file NVVMToLLVMIRTranslation.cpp.