MLIR
20.0.0git
|
#include "mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.h"
#include "mlir/Dialect/LLVMIR/BasicPtxBuilderInterface.cpp.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "ptx-builder" |
#define | DBGS() (llvm::dbgs() << "[" DEBUG_TYPE "]: ") |
#define | DBGSNL() (llvm::dbgs() << "\n") |
Functions | |
static char | getRegisterType (Type type) |
static char | getRegisterType (Value v) |
Variables | |
static constexpr int64_t | kSharedMemorySpace = 3 |
#define DBGS | ( | ) | (llvm::dbgs() << "[" DEBUG_TYPE "]: ") |
Definition at line 17 of file BasicPtxBuilderInterface.cpp.
#define DBGSNL | ( | ) | (llvm::dbgs() << "\n") |
Definition at line 18 of file BasicPtxBuilderInterface.cpp.
#define DEBUG_TYPE "ptx-builder" |
Definition at line 16 of file BasicPtxBuilderInterface.cpp.
|
static |
Definition at line 31 of file BasicPtxBuilderInterface.cpp.
References mlir::Type::isF32(), mlir::Type::isF64(), mlir::Type::isInteger(), and mlir::NVVM::kSharedMemorySpace.
Referenced by getRegisterType(), and mlir::NVVM::PtxBuilder::insertValue().
|
static |
Definition at line 56 of file BasicPtxBuilderInterface.cpp.
References mlir::Value::getDefiningOp(), getRegisterType(), and mlir::Value::getType().
|
staticconstexpr |
Definition at line 29 of file BasicPtxBuilderInterface.cpp.
Referenced by mlir::configureGpuToNVVMTypeConverter(), and mlir::populateGpuToNVVMConversionPatterns().