MLIR 23.0.0git
TestTarget.h File Reference
#include "mlir/ABI/ABIRewriteContext.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/Interfaces/DataLayoutInterfaces.h"
#include "llvm/Support/Error.h"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::abi
namespace  mlir::abi::test

Functions

FunctionClassification mlir::abi::test::classify (ArrayRef< Type > argTypes, Type returnType, const DataLayout &dl)
 Classify a function signature using the test target's predictable rules.
std::optional< FunctionClassificationmlir::abi::test::parseClassificationAttr (DictionaryAttr attr, function_ref< InFlightDiagnostic()> emitError)
 Parse a FunctionClassification from a plain MLIR DictionaryAttr.