LLVM: include/llvm/TextAPI/RecordVisitor.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_TEXTAPI_RECORDVISITOR_H

14#define LLVM_TEXTAPI_RECORDVISITOR_H

15

19

20namespace llvm {

22

23

32

33

34

35

37public:

39 const bool RecordUndefs = false)

40 : Symbols(Symbols), Targ(T), RecordUndefs(RecordUndefs) {}

41 void visitGlobal(const GlobalRecord &) override;

44

45private:

49 const bool RecordUndefs;

50};

51

52}

53}

54

55#endif

Implements the TAPI Record Types.

ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...

Base class for any usage of traversing over collected Records.

Definition RecordVisitor.h:24

virtual void visitGlobal(const GlobalRecord &)=0

virtual void visitObjCCategory(const ObjCCategoryRecord &)

virtual void visitObjCInterface(const ObjCInterfaceRecord &)

SymbolConverter(SymbolSet *Symbols, const Target &T, const bool RecordUndefs=false)

Definition RecordVisitor.h:38

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

This is an optimization pass for GlobalISel generic memory operations.