LLVM 20.0.0git
|
#include "llvm/SandboxIR/Tracker.h"
Public Member Functions | |
PHIRemoveIncoming (PHINode *PHI, unsigned RemovedIdx) | |
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 |
Definition at line 56 of file Tracker.cpp.
References PHI.
|
inlinefinalvirtual |
This runs when changes get accepted.
Implements llvm::sandboxir::IRChangeBase.
|
finalvirtual |
Implements llvm::sandboxir::IRChangeBase.
Definition at line 86 of file Tracker.cpp.
References llvm::dbgs(), and dump().
Referenced by dump().
|
inlinefinalvirtual |
|
finalvirtual |
This runs when changes get reverted.
Implements llvm::sandboxir::IRChangeBase.
Definition at line 62 of file Tracker.cpp.
References llvm::sandboxir::PHINode::addIncoming(), llvm::sandboxir::PHINode::getIncomingBlock(), llvm::sandboxir::PHINode::getIncomingValue(), llvm::sandboxir::PHINode::getNumIncomingValues(), Idx, llvm::sandboxir::PHINode::setIncomingBlock(), and llvm::sandboxir::PHINode::setIncomingValue().