LLVM 20.0.0git
Public Member Functions | List of all members
llvm::sandboxir::UseSet Class Reference

Tracks the change of the source Value of a sandboxir::Use. More...

#include "llvm/SandboxIR/Tracker.h"

Inheritance diagram for llvm::sandboxir::UseSet:
Inheritance graph
[legend]

Public Member Functions

 UseSet (const Use &U)
 
void revert (Tracker &Tracker) final
 This runs when changes get reverted.
 
void accept () final
 This runs when changes get accepted.
 
void dump (raw_ostream &OS) const final
 
LLVM_DUMP_METHOD void dump () const final
 
- Public Member Functions inherited from llvm::sandboxir::IRChangeBase
virtual void revert (Tracker &Tracker)=0
 This runs when changes get reverted.
 
virtual void accept ()=0
 This runs when changes get accepted.
 
virtual ~IRChangeBase ()=default
 
virtual void dump (raw_ostream &OS) const =0
 
virtual LLVM_DUMP_METHOD void dump () const =0
 

Detailed Description

Tracks the change of the source Value of a sandboxir::Use.

Definition at line 87 of file Tracker.h.

Constructor & Destructor Documentation

◆ UseSet()

llvm::sandboxir::UseSet::UseSet ( const Use U)
inline

Definition at line 92 of file Tracker.h.

Member Function Documentation

◆ accept()

void llvm::sandboxir::UseSet::accept ( )
inlinefinalvirtual

This runs when changes get accepted.

Implements llvm::sandboxir::IRChangeBase.

Definition at line 94 of file Tracker.h.

◆ dump() [1/2]

void UseSet::dump ( ) const
finalvirtual

Implements llvm::sandboxir::IRChangeBase.

Definition at line 19 of file Tracker.cpp.

References llvm::dbgs(), and dump().

Referenced by dump().

◆ dump() [2/2]

void llvm::sandboxir::UseSet::dump ( raw_ostream OS) const
inlinefinalvirtual

Implements llvm::sandboxir::IRChangeBase.

Definition at line 96 of file Tracker.h.

References OS.

◆ revert()

void llvm::sandboxir::UseSet::revert ( Tracker Tracker)
inlinefinalvirtual

This runs when changes get reverted.

Implements llvm::sandboxir::IRChangeBase.

Definition at line 93 of file Tracker.h.


The documentation for this class was generated from the following files: