LLVM: lib/Remarks/RemarkSerializer.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

16

17using namespace llvm;

19

26 "Invalid remark serializer format.");

28 return std::make_unique(OS);

30 return std::make_unique(OS);

31 }

33}

34

42 "Invalid remark serializer format.");

44 return std::make_unique(OS, std::move(StrTab));

46 return std::make_unique(OS, std::move(StrTab));

47 }

49}

Tagged union holding either a T or a Error.

This class implements an extremely fast bulk output stream that can only output to a stream.

#define llvm_unreachable(msg)

Marks that the current location is not supposed to be reachable.

This is an optimization pass for GlobalISel generic memory operations.

cl::opt< std::string > RemarksFormat("lto-pass-remarks-format", cl::desc("The format used for serializing remarks (default: YAML)"), cl::value_desc("format"), cl::init("yaml"))

Error createStringError(std::error_code EC, char const *Fmt, const Ts &... Vals)

Create formatted StringError object.