LLVM: include/llvm/CodeGen/MachineFunctionPass.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
15
16
17
18#ifndef LLVM_CODEGEN_MACHINEFUNCTIONPASS_H
19#define LLVM_CODEGEN_MACHINEFUNCTIONPASS_H
20
24
25namespace llvm {
26
27
28
29
30
32public:
34
35
39 return false;
40 }
41protected:
43
44
45
46
48
49
50
51
52
53
54
56
66
67private:
71
72
74 const std::string &Banner) const override;
75
77};
78
79}
80
81#endif
static bool runOnFunction(Function &F, bool PostInlining)
Represent the analysis usage information of a pass.
bool doInitialization(Module &) override
doInitialization - Virtual method overridden by subclasses to do any necessary initialization before ...
Definition MachineFunctionPass.h:33
virtual MachineFunctionProperties getClearedProperties() const
Definition MachineFunctionPass.h:63
MachineFunctionPass(char &ID)
Definition MachineFunctionPass.h:42
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - Subclasses that override getAnalysisUsage must call this.
virtual MachineFunctionProperties getSetProperties() const
Definition MachineFunctionPass.h:60
virtual bool runOnMachineFunction(MachineFunction &MF)=0
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
virtual MachineFunctionProperties getRequiredProperties() const
Definition MachineFunctionPass.h:57
Properties which a MachineFunction may have at a given point in time.
A Module instance is used to store all the information related to an LLVM module.
Pass interface - Implemented by all 'passes'.
This class implements an extremely fast bulk output stream that can only output to a stream.
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
This is an optimization pass for GlobalISel generic memory operations.