14#ifndef LLVM_SUPPORT_AUTOCONVERT_H
15#define LLVM_SUPPORT_AUTOCONVERT_H
21#include <system_error>
24#define CCSID_IBM_1047 1047
25#define CCSID_UTF_8 1208
26#define CCSID_ISO8859_1 819
31int enablezOSAutoConversion(
int FD);
32int disablezOSAutoConversion(
int FD);
33int restorezOSStdHandleAutoConversion(
int FD);
44std::error_code disablezOSAutoConversion(
int FD);
50std::error_code enablezOSAutoConversion(
int FD);
53std::error_code restorezOSStdHandleAutoConversion(
int FD);
56std::error_code setzOSFileTag(
int FD,
int CCSID,
bool Text);
59ErrorOr<__ccsid_t> getzOSFileTag(
const char *FileName,
const int FD = -1);
62ErrorOr<bool> needzOSConversion(
const char *FileName,
const int FD = -1);
Provides ErrorOr<T> smart pointer.
This is an optimization pass for GlobalISel generic memory operations.