LLVM: LiveDebugValues::ValueIDNum Class Reference (original) (raw)
Unique identifier for a value defined by an instruction, as a value type. More...
Unique identifier for a value defined by an instruction, as a value type.
Casts back and forth to a uint64_t. Probably replacable with something less bit-constrained. Each value identifies the instruction and machine location where the value is defined, although there may be no corresponding machine operand for it (ex: regmasks clobbering values). The instructions are one-based, and definitions that are PHIs have instruction number zero.
The obvious limits of a 1M block function or 1M instruction blocks are problematic; but by that point we should probably have bailed out of trying to analyse the function.
Definition at line 146 of file InstrRefBasedImpl.h.