LLVM 20.0.0git
|
Replacement definition for a debug instruction reference. More...
#include "llvm/CodeGen/MachineFunction.h"
Public Member Functions | |
DebugSubstitution (const DebugInstrOperandPair &Src, const DebugInstrOperandPair &Dest, unsigned Subreg) | |
bool | operator< (const DebugSubstitution &Other) const |
Order only by source instruction / operand pair: there should never be duplicate entries for the same source in any collection. | |
Public Attributes | |
DebugInstrOperandPair | Src |
Source instruction / operand pair. | |
DebugInstrOperandPair | Dest |
Replacement instruction / operand pair. | |
unsigned | Subreg |
Qualifier for which part of Dest is read. | |
Replacement definition for a debug instruction reference.
Made up of a source instruction / operand pair, destination pair, and a qualifying subregister indicating what bits in the operand make up the substitution. of %1: %0:gr32 = someinst, debug-instr-number 1 %1:gr16 = %0.some_16_bit_subreg, debug-instr-number 2 Would receive the substitution {{2, 0}, {1, 0}, $subreg}, where $subreg is the subregister number for some_16_bit_subreg.
Definition at line 537 of file MachineFunction.h.
|
inline |
Definition at line 543 of file MachineFunction.h.
|
inline |
Order only by source instruction / operand pair: there should never be duplicate entries for the same source in any collection.
Definition at line 549 of file MachineFunction.h.
References Other.
DebugInstrOperandPair llvm::MachineFunction::DebugSubstitution::Dest |
Replacement instruction / operand pair.
Definition at line 540 of file MachineFunction.h.
DebugInstrOperandPair llvm::MachineFunction::DebugSubstitution::Src |
Source instruction / operand pair.
Definition at line 539 of file MachineFunction.h.
unsigned llvm::MachineFunction::DebugSubstitution::Subreg |
Qualifier for which part of Dest is read.
Definition at line 541 of file MachineFunction.h.