16#ifndef CLANG_CIR_ABIARGINFO_H
17#define CLANG_CIR_ABIARGINFO_H
19#include "mlir/IR/Types.h"
44 struct DirectAttrInfo {
ABIArgInfo(Kind k=Direct)
DirectAttrInfo directAttr
@ Direct
Pass the argument directly using the normal converted CIR type, or by coercing to another specified t...
@ Ignore
Ignore the argument (treat as void).
mlir::Type getCoerceToType() const
void setCoerceToType(mlir::Type ty)
static ABIArgInfo getIgnore()
bool canHaveCoerceToType() const
static ABIArgInfo getDirect(mlir::Type ty=nullptr)
unsigned getDirectOffset() const