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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17#ifndef LLVM_CODEGEN_LIVEINTERVALCALC_H

18#define LLVM_CODEGEN_LIVEINTERVALCALC_H

19

21

22namespace llvm {

23

24template class DomTreeNodeBase;

25

27

29

30

31

32

33

34

35

36

37

38

41

42public:

44

45

46

47

49

50

51

52

53

56 }

57

58

59

60

62

63

64

65

67};

68

69}

70

71#endif

Base class for the actual dominator tree node.

void createDeadDefs(LiveRange &LR, Register Reg)

createDeadDefs - Create a dead def in LI for every def operand of Reg.

LiveIntervalCalc()=default

void calculate(LiveInterval &LI, bool TrackSubRegs)

Calculates liveness for the register specified in live interval LI.

void extendToUses(LiveRange &LR, MCRegister PhysReg)

Extend the live range of LR to reach all uses of Reg.

void constructMainRangeFromSubranges(LiveInterval &LI)

For live interval LI with correct SubRanges construct matching information for the main live range.

LiveInterval - This class represents the liveness of a register, or stack slot.

This class represents the liveness of a register, stack slot, etc.

Wrapper class representing physical registers. Should be passed by value.

Wrapper class representing virtual and physical registers.

This is an optimization pass for GlobalISel generic memory operations.

static constexpr LaneBitmask getAll()