enum MemIndexType

Description

MemIndexType enum - This enum defines how to interpret MGATHER/SCATTER's index parameter when calculating addresses. SIGNED_SCALED Addr = Base + ((signed)Index * Scale) UNSIGNED_SCALED Addr = Base + ((unsigned)Index * Scale) NOTE: The value of Scale is typically only known to the node owning the IndexType, with a value of 1 the equivalent of being unscaled.

Declared at: llvm/include/llvm/CodeGen/ISDOpcodes.h:1386

Enumerators

NameValueComment
SIGNED_SCALED0
UNSIGNED_SCALED1