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

Name

Description

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.

Created with MrDocs