LLVM: include/llvm/TextAPI/TextAPIReader.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9#ifndef LLVM_TEXTAPI_TEXTAPIREADER_H

10#define LLVM_TEXTAPI_TEXTAPIREADER_H

11

14

15namespace llvm {

16

18

20

23

25public:

26

27

28

29

30

31

32

34

35

36

37

38

41

43};

44

45}

46}

47

48#endif

Tagged union holding either a T or a Error.

Defines the interface file.

static LLVM_ABI Expected< FileType > canRead(MemoryBufferRef InputBuffer)

Determine whether input can be interpreted as TAPI text file.

static LLVM_ABI Expected< std::unique_ptr< InterfaceFile > > get(MemoryBufferRef InputBuffer)

Parse and get an InterfaceFile that represents the full library.

FileType

Defines the file type TextAPI files can represent.

This is an optimization pass for GlobalISel generic memory operations.