14#ifndef LLVM_TABLEGEN_ERROR_H
15#define LLVM_TABLEGEN_ERROR_H
26void PrintNote(function_ref<
void(raw_ostream &
OS)> PrintMsg);
27void PrintNote(ArrayRef<SMLoc> NoteLoc,
const Twine &Msg);
30[[noreturn]]
void PrintFatalNote(ArrayRef<SMLoc> ErrorLoc,
const Twine &Msg);
31[[noreturn]]
void PrintFatalNote(
const Record *Rec,
const Twine &Msg);
32[[noreturn]]
void PrintFatalNote(
const RecordVal *RecVal,
const Twine &Msg);
35void PrintWarning(ArrayRef<SMLoc> WarningLoc,
const Twine &Msg);
39void PrintError(function_ref<
void(raw_ostream &
OS)> PrintMsg);
40void PrintError(ArrayRef<SMLoc> ErrorLoc,
const Twine &Msg);
41void PrintError(
const char *Loc,
const Twine &Msg);
42void PrintError(
const Record *Rec,
const Twine &Msg);
43void PrintError(
const RecordVal *RecVal,
const Twine &Msg);
46[[noreturn]]
void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
const Twine &Msg);
48[[noreturn]]
void PrintFatalError(
const RecordVal *RecVal,
const Twine &Msg);
52bool CheckAssert(SMLoc Loc,
const Init *Condition,
const Init *Message);
This is an optimization pass for GlobalISel generic memory operations.
void PrintFatalError(const Twine &Msg)
void PrintError(const Twine &Msg)
bool CheckAssert(SMLoc Loc, const Init *Condition, const Init *Message)
void PrintWarning(const Twine &Msg)
void PrintNote(const Twine &Msg)
void PrintFatalNote(const Twine &Msg)
void dumpMessage(SMLoc Loc, const Init *Message)