MLIR
20.0.0git
|
#include "mlir/Target/LLVMIR/Dialect/NVVM/LLVMIRToNVVMTranslation.h"
#include "mlir/Dialect/LLVMIR/NVVMDialect.h"
#include "mlir/Target/LLVMIR/ModuleImport.h"
#include "llvm/IR/ConstantRange.h"
#include "llvm/IR/IntrinsicsNVPTX.h"
#include "mlir/Dialect/LLVMIR/NVVMConvertibleLLVMIRIntrinsics.inc"
#include "mlir/Dialect/LLVMIR/NVVMFromLLVMIRConversions.inc"
Go to the source code of this file.
Functions | |
static bool | isConvertibleIntrinsic (llvm::Intrinsic::ID id) |
Returns true if the LLVM IR intrinsic is convertible to an MLIR NVVM dialect intrinsic. More... | |
static ArrayRef< unsigned > | getSupportedIntrinsicsImpl () |
Returns the list of LLVM IR intrinsic identifiers that are convertible to MLIR NVVM dialect intrinsics. More... | |
static LogicalResult | convertIntrinsicImpl (OpBuilder &odsBuilder, llvm::CallInst *inst, LLVM::ModuleImport &moduleImport) |
Converts the LLVM intrinsic to an MLIR NVVM dialect operation if a conversion exits. More... | |
|
static |
Converts the LLVM intrinsic to an MLIR NVVM dialect operation if a conversion exits.
Returns failure otherwise.
Definition at line 43 of file LLVMIRToNVVMTranslation.cpp.
References isConvertibleIntrinsic().
|
static |
Returns the list of LLVM IR intrinsic identifiers that are convertible to MLIR NVVM dialect intrinsics.
Definition at line 34 of file LLVMIRToNVVMTranslation.cpp.
|
static |
Returns true if the LLVM IR intrinsic is convertible to an MLIR NVVM dialect intrinsic.
Returns false otherwise.
Definition at line 25 of file LLVMIRToNVVMTranslation.cpp.
Referenced by convertIntrinsicImpl().