LLVM: include/llvm/CodeGen/AsmPrinterHandler.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_CODEGEN_ASMPRINTERHANDLER_H

15#define LLVM_CODEGEN_ASMPRINTERHANDLER_H

16

19

20namespace llvm {

21

28

31

32

33

35public:

37

39

40

42

43

44

45

47

48

49

51

52

54

55

56

57

58

60

61

62

63

64

65

67

68

69

71

72

74

75

77

79

80

84};

85

86}

87

88#endif

Collects and handles AsmPrinter objects required to build debug or EH information.

Definition AsmPrinterHandler.h:34

virtual void beginCodeAlignment(const MachineBasicBlock &MBB)

Definition AsmPrinterHandler.h:78

virtual void beginInstruction(const MachineInstr *MI)

Process beginning of an instruction.

Definition AsmPrinterHandler.h:73

virtual void endInstruction()

Process end of an instruction.

Definition AsmPrinterHandler.h:76

virtual ~AsmPrinterHandler()

Pin vtables to this file.

virtual void beginModule(Module *M)

Definition AsmPrinterHandler.h:38

virtual void beginFunction(const MachineFunction *MF)=0

Gather pre-function debug information.

virtual void markFunctionEnd()

virtual void endBasicBlockSection(const MachineBasicBlock &MBB)

Process the end of a basic-block-section within a function.

Definition AsmPrinterHandler.h:66

virtual void endFunclet()

Definition AsmPrinterHandler.h:83

virtual void beginBasicBlockSection(const MachineBasicBlock &MBB)

Process the beginning of a new basic-block-section within a function.

Definition AsmPrinterHandler.h:59

virtual void endModule()=0

Emit all sections that should come after the content.

virtual void setSymbolSize(const MCSymbol *Sym, uint64_t Size)

For symbols that have a size designated (e.g.

Definition AsmPrinterHandler.h:70

virtual void beginFunclet(const MachineBasicBlock &MBB, MCSymbol *Sym=nullptr)

Emit target-specific EH funclet machinery.

Definition AsmPrinterHandler.h:81

virtual void endFunction(const MachineFunction *MF)=0

Gather post-function debug information.

This class is intended to be used as a driving class for all asm writers.

MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...

Representation of each machine instruction.

A Module instance is used to store all the information related to an LLVM module.

This is an optimization pass for GlobalISel generic memory operations.

MCSymbol * ExceptionSymbolProvider(AsmPrinter *Asm, const MachineBasicBlock *MBB)

Definition AsmPrinterHandler.h:29