llvm::Xtensa::parseCPUKind

Parse CPU into an Xtensa CPUKind.

Synopsis

Declared in <llvm/TargetParser/XtensaTargetParser.h>

CPUKind
parseCPUKind(StringRef CPU);

Description

Resolves aliases via getBaseName before matching.

Return Value

Matching CPUKind, or CK_INVALID if unrecognized.

Parameters

NameDescription
CPUCPU name to parse.