LLVM: include/llvm/IR/LegacyPassManager.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16#ifndef LLVM_IR_LEGACYPASSMANAGER_H

17#define LLVM_IR_LEGACYPASSMANAGER_H

18

21

22namespace llvm {

23

27

29

30

31

33

36

37

38

39

41public:

43

44

45

46

47

48

50};

51

52

54public:

55

58

60

61

62

64

65private:

66

67

69};

70

71

73public:

74

75

78

80

81

82

83

84

86

87

88

90

91

92

94

95private:

98};

99

100}

101

102

104

105}

106

107#endif

#define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref)

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

Pass interface - Implemented by all 'passes'.

FunctionPassManagerImpl manages FPPassManagers.

bool run(Function &F)

run - Execute all of the passes scheduled for execution.

void add(Pass *P) override

Add a pass to the queue of passes to run.

FunctionPassManager(Module *M)

FunctionPassManager ctor - This initializes the pass manager.

bool doInitialization()

doInitialization - Run all of the initializers for the function passes.

bool doFinalization()

doFinalization - Run all of the finalizers for the function passes.

PassManagerBase - An abstract interface to allow code to add passes to a pass manager without having ...

Definition LegacyPassManager.h:40

virtual void add(Pass *P)=0

Add a pass to the queue of passes to run.

virtual ~PassManagerBase()

PassManagerImpl manages MPPassManagers.

void add(Pass *P) override

Add a pass to the queue of passes to run.

bool run(Module &M)

run - Execute all of the passes scheduled for execution.

PassManager()

Create new pass manager.

struct LLVMOpaquePassManager * LLVMPassManagerRef

LLVM_ABI bool debugPassSpecified()

This is an optimization pass for GlobalISel generic memory operations.