|
MLIR 22.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 "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. | |
| static ArrayRef< unsigned > | getSupportedIntrinsicsImpl () |
| Returns the list of LLVM IR intrinsic identifiers that are convertible to MLIR NVVM dialect intrinsics. | |
| 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. | |
|
static |
Converts the LLVM intrinsic to an MLIR NVVM dialect operation if a conversion exits.
Returns failure otherwise.
Definition at line 41 of file LLVMIRToNVVMTranslation.cpp.
References isConvertibleIntrinsic().
Returns the list of LLVM IR intrinsic identifiers that are convertible to MLIR NVVM dialect intrinsics.
Definition at line 32 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 23 of file LLVMIRToNVVMTranslation.cpp.
Referenced by convertIntrinsicImpl().