llvm::ARM::parseArch

Parse architecture name Arch into an ArchKind.

Synopsis

Declared in <llvm/TargetParser/ARMTargetParser.h>

ArchKind
parseArch(StringRef Arch);

Description

Allows a partial match after canonicalization (for example "v7a" matches "armv7-a").

Return Value

Matching ArchKind, or ArchKind::INVALID if unrecognized.

Parameters

NameDescription
ArchArchitecture name such as "armv7-a".