Return the extension which has the given ‐target‐feature name.

Synopsis

Declared in <llvm/TargetParser/AArch64TargetParser.h>

std::optional<ExtensionInfo>
targetFeatureToExtension(StringRef TargetFeature);

Return Value

Matching ExtensionInfo, or std::nullopt if unrecognized.

Parameters

Name

Description

TargetFeature

Feature string such as "+spe" or "‐spe".

Created with MrDocs