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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21#ifndef LLVM_CODEGEN_GLOBALISEL_LOCALIZER_H

22#define LLVM_CODEGEN_GLOBALISEL_LOCALIZER_H

23

26

27namespace llvm {

28

29class AnalysisUsage;

30class MachineBasicBlock;

31class MachineInstr;

32class MachineOperand;

33class MachineRegisterInfo;

34class TargetTransformInfo;

35

36

37

38

39

40

41

42

44public:

45 static char ID;

46

47private:

48

49

51

52

53

55

57

58

59

60

61

64

65

67

69

70

71

73

74

77

78

80

81public:

84

86

90 }

91

93

95};

96

97}

98

99#endif

This file implements a set that has insertion order iteration characteristics.

Represent the analysis usage information of a pass.

This class represents an Operation in the Expression.

This pass implements the localization mechanism described at the top of this file.

void getAnalysisUsage(AnalysisUsage &AU) const override

getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...

MachineFunctionProperties getRequiredProperties() const override

bool runOnMachineFunction(MachineFunction &MF) override

runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...

StringRef getPassName() const override

getPassName - Return a nice clean name for a pass.

MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...

Properties which a MachineFunction may have at a given point in time.

MachineFunctionProperties & set(Property P)

Representation of each machine instruction.

MachineOperand class - Representation of each machine instruction operand.

MachineRegisterInfo - Keep track of information for virtual and physical registers,...

A SetVector that performs no allocations if smaller than a certain size.

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

This pass provides access to the codegen interfaces that are needed for IR-level transformations.

This is an optimization pass for GlobalISel generic memory operations.