enum TargetTransformInfo::PopcntSupportKind
Description
Flags indicating the kind of support for population count. Compared to the SW implementation, HW support is supposed to significantly boost the performance when the population is dense, and it may or may not degrade performance if the population is sparse. A HW support is considered as "Fast" if it can outperform, or is on a par with, SW implementation when the population is sparse; otherwise, it is considered as "Slow".
Declared at: llvm/include/llvm/Analysis/TargetTransformInfo.h:542
Enumerators
Name | Value | Comment |
---|---|---|
PSK_Software | 0 | |
PSK_SlowHardware | 1 | |
PSK_FastHardware | 2 |