Fill in the features that CPU supports into Features.
Declared in <llvm/TargetParser/X86TargetParser.h>
void
getFeaturesForCPU(
StringRef CPU,
SmallVectorImpl<StringRef>& Features,
bool NeedPlus = false);
"+" will be appended in front of each feature if NeedPlus is true.
| Name | Description |
|---|---|
| CPU | CPU name whose features are requested. |
| Features | Vector that receives feature strings. |
| NeedPlus | If true, prefix each feature with '+'. |