llvm::SlotIndex::getRegSlot

Returns the register use/def slot in the current instruction for a normal or early-clobber def.

Synopsis

Declared in <llvm/CodeGen/SlotIndexes.h>

SlotIndex
getRegSlot(bool EC = false) const;

Return Value

The register use/def SlotIndex for the current instruction.

Parameters

NameDescription
ECif true, return the early-clobber slot; otherwise the normal register slot