MLIR 24.0.0git
OpenACCRuntimeUtils.cpp File Reference
#include "mlir/Dialect/OpenACC/OpenACCRuntimeUtils.h"
#include "mlir/IR/SymbolTable.h"
#include "llvm/Support/ErrorHandling.h"
#include <optional>
#include "mlir/Dialect/OpenACC/OpenACCRuntimeFunctions.def"

Go to the source code of this file.

Macros

#define ACC_RTL(Enum, Str, ...)
#define ACC_RTL(Enum, Str, IsVarArg, ReturnType, ...)

Macro Definition Documentation

◆ ACC_RTL [1/2]

#define ACC_RTL ( Enum,
Str,
IsVarArg,
ReturnType,
... )
Value:
case RuntimeFunction::Enum: \
return LLVM::LLVMFunctionType::get(ReturnType, \
ArrayRef<Type>{__VA_ARGS__}, IsVarArg);

◆ ACC_RTL [2/2]

#define ACC_RTL ( Enum,
Str,
... )
Value:
case RuntimeFunction::Enum: \
return Str;