MLIR 24.0.0git
NVVMOps.h File Reference
#include "mlir/Dialect/LLVMIR/LLVMTypes.h"
#include "mlir/Dialect/LLVMIR/NVVMAttributes.h"
#include "mlir/IR/Value.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/Support/Casting.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.
namespace  mlir
 Include the generated interface declarations.
namespace  mlir::NVVM

Functions

bool mlir::NVVM::isPtrInAddrSpace (mlir::Value ptr, NVVMMemorySpace targetAS)
 Returns whether ptr is a pointer into the address space targetAS.
bool mlir::NVVM::isPtrInSharedCTASpace (mlir::Value ptr)
 Returns whether ptr is a pointer into the shared memory of the CTA.
llvm::Value * mlir::NVVM::getParamCastedAddr (llvm::Value *addr, llvm::IRBuilderBase &builder)
 Returns addr cast to the kernel parameter address space.

Variables

constexpr unsigned mlir::NVVM::notIntrinsic = llvm::Intrinsic::not_intrinsic
 The ID of no intrinsic, used in the intrinsic tables of the ops.