Go to the documentation of this file.
24 size_t Pos = (size_t)OS.
tell();
26 "header line exceeds max limit");
35 printLine(OS,
"/*===- TableGen'erated file ",
'-',
"*- C++ -*-===*\\");
46 }
while (Pos < Desc.
size());
48 printLine(OS,
Prefix +
"Automatically generated file, do not edit!",
' ',
uint64_t tell() const
tell - Return the current offset with the file.
This is an optimization pass for GlobalISel generic memory operations.
const size_t MAX_LINE_LEN
constexpr StringRef substr(size_t Start, size_t N=npos) const
Return a reference to the substring from [Start, Start + N).
static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill, StringRef Suffix)
This class implements an extremely fast bulk output stream that can only output to a stream.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
Expected< ExpressionValue > min(const ExpressionValue &Lhs, const ExpressionValue &Rhs)
StringRef - Represent a constant reference to a string, i.e.
constexpr size_t size() const
size - Get the string size.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
void emitSourceFileHeader(StringRef Desc, raw_ostream &OS)
emitSourceFileHeader - Output an LLVM style file header to the specified raw_ostream.