13#ifndef MLIR_DIALECT_OPENACC_OPENACCUTILSTYPE_H_
14#define MLIR_DIALECT_OPENACC_OPENACCUTILSTYPE_H_
17#include "llvm/Support/TypeSize.h"
54std::optional<TypeSizeAndAlignment>
59std::optional<TypeSizeAndAlignment>
61 OpenACCSupport *support =
nullptr,
Value var = {});
The main mechanism for performing data layout queries.
This class defines the main interface for locations in MLIR and acts as a non-nullable wrapper around...
This class helps build Operations.
Instances of the Type class are uniqued, have an immutable identifier and an optional mutable compone...
This class represents an instance of an SSA value in the MLIR system, representing a computable value...
Value castPointerLikeTypeIfNeeded(OpBuilder &builder, Location loc, Value value, Type resultType)
Cast value to resultType via PointerLikeType::genCast when needed.
std::pair< llvm::TypeSize, llvm::TypeSize > TypeSizeAndAlignment
std::optional< TypeSizeAndAlignment > getTypeSizeAndAlignment(Type ty, ModuleOp module, const DataLayout &dl, OpenACCSupport *support=nullptr, Value var={})
Returns the size and ABI alignment in bytes.
Include the generated interface declarations.