Recursive‐descent parser for LLVM IR textual assembly (.ll files).

Synopsis

Declared in <llvm/AsmParser/LLParser.h>

class LLParser;

Type Aliases

Name

Description

LocTy

Source location type used by the lexer and parser diagnostics.

Member Functions

Name

Description

LLParser [constructor]

Construct a parser over assembly text F.

Run

Parse the full module and/or summary index from the assembly buffer.

getContext

Return the LLVM context associated with this parser.

parseDIExpressionBodyAtBeginning

Parse a DIExpression body from the start of the buffer.

parseStandaloneConstantValue

Parse a standalone constant value using an existing slot mapping.

parseTypeAtBeginning

Parse a type from the start of the buffer and report bytes consumed.

Created with MrDocs