Fills Features with default values for the given target GPU.
Declared in <llvm/TargetParser/AMDGPUTargetParser.h>
std::pair<FeatureError, StringRef>
fillAMDGPUFeatureMap(
StringRef GPU,
Triple const& T,
StringMap<bool>& Features);
Features contains overriding target features and this function returns default target features with entries overridden by Features.
Pair of FeatureError and a StringRef naming the offending feature.
| Name | Description |
|---|---|
| GPU | Target GPU name. |
| T | Target triple. |
| Features | In/out map of feature overrides; updated with defaults. |