#include "mlir/Dialect/EmitC/Transforms/TypeConversions.h"
#include "mlir/Dialect/EmitC/IR/EmitC.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/Transforms/DialectConversion.h"
#include <optional>
usingnamespacemlir;
namespace {
std::optional<Value> materializeAsUnrealizedCast(OpBuilder &builder,
Type resultType,
ValueRange inputs,
Location loc) { … }
}
void mlir::populateEmitCSizeTTypeConversions(TypeConverter &converter) { … }
std::optional<Type> mlir::emitc::getUnsignedTypeFor(Type ty) { … }
std::optional<Type> mlir::emitc::getSignedTypeFor(Type ty) { … }