LLVM: include/llvm/Remarks/RemarkSerializer.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_REMARKS_REMARKSERIALIZER_H

14#define LLVM_REMARKS_REMARKSERIALIZER_H

15

19#include

20

21namespace llvm {

22

24

26

28

30

31

32

34

36

38

39

40 std::optional StrTab;

41

44

46

47

48

49

50

52

53

55

56

57 virtual std::unique_ptr

59};

60

61

63

65

67

68

70 virtual void emit() = 0;

71};

72

73

76

77

81

82}

83}

84

85#endif

Tagged union holding either a T or a Error.

StringRef - Represent a constant reference to a string, i.e.

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

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"))