|
MLIR 22.0.0git
|
#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/ConstantRange.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/IntrinsicsAMDGPU.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 * | createDimGetterFunctionCall (llvm::IRBuilderBase &builder, Operation *op, StringRef fnName, int parameter) |
| llvm::CallInst * | createIntrinsicCall (llvm::IRBuilderBase &builder, llvm::Intrinsic::ID intrinsic, ArrayRef< llvm::Value * > args={}, ArrayRef< llvm::Type * > tys={}) |
| Creates a call to an LLVM IR intrinsic function with the given arguments. | |
|
static |
Definition at line 33 of file ROCDLToLLVMIRTranslation.cpp.
References mlir::Operation::getAttrOfType().
| llvm::CallInst * mlir::LLVM::detail::createIntrinsicCall | ( | llvm::IRBuilderBase & | builder, |
| llvm::Intrinsic::ID | intrinsic, | ||
| ArrayRef< llvm::Value * > | args = {}, | ||
| ArrayRef< llvm::Type * > | tys = {} ) |
Creates a call to an LLVM IR intrinsic function with the given arguments.
Definition at line 510 of file ModuleTranslation.cpp.