LLVM: include/llvm/Remarks/BitstreamRemarkSerializer.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

14#ifndef LLVM_REMARKS_BITSTREAMREMARKSERIALIZER_H

15#define LLVM_REMARKS_BITSTREAMREMARKSERIALIZER_H

16

20#include

21

22namespace llvm {

24

25struct Remarks;

26

27

28

29

31

33

35

37

38

39

40

41

51

54

55

56

57

59 delete;

65

66

68

69

71

74

77

80

81

83

84

85 void emitMetaBlock(std::optional Filename = std::nullopt);

86

87

88

90

91

93};

94

95

97

98

99

100

101

102

103

104

105

106

107 std::optional Helper;

108

109

111

113

115

116

117

119

120

121

122

124

125

126

127

128 std::unique_ptr

130

134

135private:

136 void setup();

137};

138

139

141 std::optional Helper;

142

144

145

150 Helper.emplace(ContainerType, OS);

151 }

152

153 void emit() override;

154};

155

156}

157}

158

159#endif

This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.

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.