LLVM: llvm::sandboxir::GenericSetterWithIdx< GetterFn, SetterFn > Class Template Reference (original) (raw)

Similar to GenericSetter but the setters/getters have an index as their first argument. More...

#include "[llvm/SandboxIR/Tracker.h](Tracker%5F8h%5Fsource.html)"

Public Member Functions
GenericSetterWithIdx (InstrT *I, unsigned Idx)
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 ~IRChangeBase ()=default

template<auto GetterFn, auto SetterFn>
class llvm::sandboxir::GenericSetterWithIdx< GetterFn, SetterFn >

Similar to GenericSetter but the setters/getters have an index as their first argument.

This is commont in cases like: getOperand(unsigned Idx)

Definition at line 305 of file Tracker.h.

template<auto GetterFn, auto SetterFn>

accept()

template<auto GetterFn, auto SetterFn>

dump() [1/2]

template<auto GetterFn, auto SetterFn>

dump() [2/2]

template<auto GetterFn, auto SetterFn>

revert()

template<auto GetterFn, auto SetterFn>


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