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

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12#ifndef LLVM_CODEGEN_GLOBALISEL_LOSTDEBUGLOCOBSERVER_H

13#define LLVM_CODEGEN_GLOBALISEL_LOSTDEBUGLOCOBSERVER_H

14

18

19namespace llvm {

24 unsigned NumLostDebugLocs = 0;

25

26public:

28

30

31

32

33

34

35

36

37

38

39 void checkpoint(bool CheckDebugLocs = true);

40

45

46private:

47 void analyzeDebugLocations();

48};

49

50}

51#endif

This contains common code to allow clients to notify changes to machine instr.

This file defines the SmallSet class.

Abstract class that contains various methods for clients to notify about changes.

LostDebugLocObserver(StringRef DebugType)

Definition LostDebugLocObserver.h:27

unsigned getNumLostDebugLocs() const

Definition LostDebugLocObserver.h:29

Representation of each machine instruction.

SmallPtrSet - This class implements a set which is optimized for holding SmallSize or less elements.

SmallSet - This maintains a set of unique values, optimizing for the case when the set is small (less...

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

This is an optimization pass for GlobalISel generic memory operations.