llvm::X86::getCpuSupportsMask

Build the 128-bit feature mask for __builtin_cpu_supports from feature names.

Synopsis

Declared in <llvm/TargetParser/X86TargetParser.h>

std::array<uint32_t, 4>
getCpuSupportsMask(ArrayRef<StringRef> FeatureStrs);

Return Value

Four 32-bit words forming the ABI feature bitset.

Parameters

NameDescription
FeatureStrsFeature name strings to encode into the mask.