LLVM: LiveDebugValues::DbgOp Struct Reference (original) (raw)

TODO: Might pack better if we changed this to a Struct of Arrays, since MachineOperand is width 32, making this struct width 33. More...

TODO: Might pack better if we changed this to a Struct of Arrays, since MachineOperand is width 32, making this struct width 33.

We could also potentially avoid storing the whole MachineOperand (sizeof=32), instead choosing to store just the contents portion (sizeof=8) and a Kind enum, since we already know it is some type of immediate value. Stores a single debug operand, which can either be a MachineOperand for directly storing immediate values, or a ValueIDNum representing some value computed at some point in the program. IsConst is used as a discriminator.

Definition at line 360 of file InstrRefBasedImpl.h.