ΒΆllvm::SmallVector<llvm::StringRef, 4>
getAllPossibleTargetIDFeatures(
const llvm::Triple& T,
llvm::StringRef Processor)
llvm::SmallVector<llvm::StringRef, 4>
getAllPossibleTargetIDFeatures(
const llvm::Triple& T,
llvm::StringRef Processor)
Description
Get all feature strings that can be used in target ID for \p Processor. Target ID is a processor name with optional feature strings postfixed by a plus or minus sign delimited by colons, e.g. gfx908:xnack+:sramecc-. Each processor have a limited number of predefined features when showing up in a target ID.
Declared at: clang/include/clang/Basic/TargetID.h:25
Parameters
- const llvm::Triple& T
- llvm::StringRef Processor