llvm::parseStackObjectReference

Parse a stack object reference from Src.

Synopsis

Declared in <llvm/CodeGen/MIRParser/MIParser.h>

bool
parseStackObjectReference(
    PerFunctionMIParsingState& PFS,
    int& FI,
    StringRef Src,
    SMDiagnostic& Error);

Return Value

true if an error occurred.

Parameters

NameDescription
PFS- Per-function parsing state with stack object slots.
FI- Set to the referenced frame index on success.
Src- Source text containing the stack object reference.
Error- Diagnostic filled in when parsing fails.