Parse a virtual register reference from Src.
Synopsis
Declared in <llvm/CodeGen/MIRParser/MIParser.h>
bool
parseVirtualRegisterReference(
PerFunctionMIParsingState& PFS,
VRegInfo*& Info,
StringRef Src,
SMDiagnostic& Error);
Return Value
true if an error occurred.
Parameters
Name |
Description |
PFS |
‐ Per‐function parsing state that owns VRegInfo entries. |
Info |
‐ Set to the referenced virtual register info on success. |
Src |
‐ Source text containing the virtual register reference. |
Error |
‐ Diagnostic filled in when parsing fails. |
Created with MrDocs