LLVM 20.0.0git
Public Member Functions | Friends | List of all members
llvm::sandboxir::IRChangeBase Class Referenceabstract

The base class for IR Change classes. More...

#include "llvm/SandboxIR/Tracker.h"

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

Public Member Functions

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
 

Friends

class Tracker
 
raw_ostreamoperator<< (raw_ostream &OS, const IRChangeBase &C)
 

Detailed Description

The base class for IR Change classes.

Definition at line 66 of file Tracker.h.

Constructor & Destructor Documentation

◆ ~IRChangeBase()

virtual llvm::sandboxir::IRChangeBase::~IRChangeBase ( )
virtualdefault

Member Function Documentation

◆ accept()

virtual void llvm::sandboxir::IRChangeBase::accept ( )
pure virtual

◆ dump() [1/2]

virtual LLVM_DUMP_METHOD void llvm::sandboxir::IRChangeBase::dump ( ) const
pure virtual

◆ dump() [2/2]

virtual void llvm::sandboxir::IRChangeBase::dump ( raw_ostream OS) const
pure virtual

◆ revert()

virtual void llvm::sandboxir::IRChangeBase::revert ( Tracker Tracker)
pure virtual

Friends And Related Function Documentation

◆ operator<<

raw_ostream & operator<< ( raw_ostream OS,
const IRChangeBase C 
)
friend

Definition at line 79 of file Tracker.h.

◆ Tracker

friend class Tracker
friend

Definition at line 68 of file Tracker.h.


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