enum class VLOperands::ReorderingMode
Description
During operand reordering, we are trying to select the operand at lane that matches best with the operand at the neighboring lane. Our selection is based on the type of value we are looking for. For example, if the neighboring lane has a load, we need to look for a load that is accessing a consecutive address. These strategies are summarized in the 'ReorderingMode' enumerator.
Declared at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:748
Enumerators
Name | Value | Comment |
---|---|---|
Load | 0 | Matching loads to consecutive memory addresses |
Opcode | 1 | Matching instructions based on opcode (same or alternate) |
Constant | 2 | Matching constants |
Splat | 3 | Matching the same instruction multiple times (broadcast) |
Failed | 4 | We failed to create a vectorizable group |