MLIR  19.0.0git
Functions
ROCDLToLLVMIRTranslation.cpp File Reference
#include "mlir/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.h"
#include "mlir/Dialect/LLVMIR/ROCDLDialect.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Operation.h"
#include "mlir/Target/LLVMIR/ModuleTranslation.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/IntrinsicsAMDGPU.h"
#include "llvm/IR/MDBuilder.h"
#include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/LLVMIR/ROCDLConversions.inc"

Go to the source code of this file.

Functions

static llvm::Value * createIntrinsicCallWithRange (llvm::IRBuilderBase &builder, llvm::Intrinsic::ID intrinsic, DenseI32ArrayAttr maybeRange)
 
static llvm::Value * createDeviceFunctionCall (llvm::IRBuilderBase &builder, StringRef fnName, int parameter)
 

Function Documentation

◆ createDeviceFunctionCall()

static llvm::Value* createDeviceFunctionCall ( llvm::IRBuilderBase &  builder,
StringRef  fnName,
int  parameter 
)
static

Definition at line 49 of file ROCDLToLLVMIRTranslation.cpp.

References mlir::get().

◆ createIntrinsicCallWithRange()

static llvm::Value* createIntrinsicCallWithRange ( llvm::IRBuilderBase &  builder,
llvm::Intrinsic::ID  intrinsic,
DenseI32ArrayAttr  maybeRange 
)
static