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:602

Enumerators

NameValueComment
PSK_Software0
PSK_SlowHardware1
PSK_FastHardware2