Look up the processor entry for a CPU name, resolving aliases. Returns nullptr if the name matches neither a processor nor an alias.
Synopsis
Declared in <llvm/MC/MCSubtargetInfo.h>
SubtargetSubTypeKV const*
resolveCPU(StringRef CPU) const;
Return Value
Pointer to the processor entry, or nullptr if not found.
Parameters
Name |
Description |
CPU |
CPU or alias name to resolve. |
Created with MrDocs