LLVM  12.0.0git
Classes | Public Types | Public Member Functions | List of all members
llvm::LLParser Class Reference

#include "AsmParser/LLParser.h"

Public Types

typedef LLLexer::LocTy LocTy

Public Member Functions

 LLParser (StringRef F, SourceMgr &SM, SMDiagnostic &Err, Module *M, ModuleSummaryIndex *Index, LLVMContext &Context, SlotMapping *Slots=nullptr)
bool Run (bool UpgradeDebugInfo, DataLayoutCallbackTy DataLayoutCallback=[](Module *) {})
 Run: module ::= toplevelentity*. More...
bool parseStandaloneConstantValue (Constant *&C, const SlotMapping *Slots)
bool parseTypeAtBeginning (Type *&Ty, unsigned &Read, const SlotMapping *Slots)
LLVMContextgetContext ()

Detailed Description

Definition at line 84 of file LLParser.h.

Member Typedef Documentation

◆ LocTy

Definition at line 86 of file LLParser.h.

Constructor & Destructor Documentation

◆ LLParser()

llvm::LLParser::LLParser ( StringRef  F,
SourceMgr SM,
SMDiagnostic Err,
Module M,
ModuleSummaryIndex Index,
LLVMContext Context,
SlotMapping Slots = nullptr 

Definition at line 163 of file LLParser.h.

Member Function Documentation

◆ getContext()

LLVMContext& llvm::LLParser::getContext ( )

◆ parseStandaloneConstantValue()

bool LLParser::parseStandaloneConstantValue ( Constant *&  C,
const SlotMapping Slots 

◆ parseTypeAtBeginning()

bool LLParser::parseTypeAtBeginning ( Type *&  Ty,
unsigned Read,
const SlotMapping Slots 

Definition at line 97 of file LLParser.cpp.

References llvm::LLLexer::Lex().

◆ Run()

bool LLParser::Run ( bool  UpgradeDebugInfo,
DataLayoutCallbackTy  DataLayoutCallback = [](Module *) {} 

The documentation for this class was generated from the following files: