LLVM: LiveDebugValues::DbgOpID Struct Reference (original) (raw)
An ID used in the DbgOpIDMap (below) to lookup a stored DbgOp.
This is used in place of actual DbgOps inside of a DbgValue to reduce its size, as DbgValue is very frequently used and passed around, and the actual DbgOp is over 8x larger than this class, due to storing a MachineOperand. This ID should be equal for all equal DbgOps, and also encodes whether the mapped DbgOp is a constant, meaning that for simple equality or const-ness checks it is not necessary to lookup this ID.
Definition at line 412 of file InstrRefBasedImpl.h.