Go to the documentation of this file.
12 #ifndef LLVM_CODEGEN_GLOBALISEL_LOSTDEBUGLOCOBSERVER_H
13 #define LLVM_CODEGEN_GLOBALISEL_LOSTDEBUGLOCOBSERVER_H
23 unsigned NumLostDebugLocs = 0;
46 void analyzeDebugLocations();
50 #endif // LLVM_CODEGEN_GLOBALISEL_LOSTDEBUGLOCOBSERVER_H
This is an optimization pass for GlobalISel generic memory operations.
SmallSet - This maintains a set of unique values, optimizing for the case when the set is small (less...
SmallPtrSet - This class implements a set which is optimized for holding SmallSize or less elements.
LostDebugLocObserver(StringRef DebugType)
void changedInstr(MachineInstr &MI) override
This instruction was mutated in some way.
void checkpoint(bool CheckDebugLocs=true)
Call this to indicate that it's a good point to assess whether locations have been lost.
unsigned getNumLostDebugLocs() const
Representation of each machine instruction.
StringRef - Represent a constant reference to a string, i.e.
Abstract class that contains various methods for clients to notify about changes.
void changingInstr(MachineInstr &MI) override
This instruction is about to be mutated in some way.
void createdInstr(MachineInstr &MI) override
An instruction has been created and inserted into the function.
void erasingInstr(MachineInstr &MI) override
An instruction is about to be erased.