LLVM  10.0.0svn
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 UpgradeDebugInfo=true, StringRef DataLayoutString="")
bool Run ()
 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 87 of file LLParser.h.

Member Typedef Documentation

◆ LocTy

Definition at line 89 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,
bool  UpgradeDebugInfo = true,
StringRef  DataLayoutString = "" 

Definition at line 169 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 90 of file LLParser.cpp.

References llvm::LLLexer::Lex().

◆ Run()

bool LLParser::Run ( )

Run: module ::= toplevelentity*.

Definition at line 64 of file LLParser.cpp.

References llvm::LLLexer::getLoc(), llvm::LLLexer::Lex(), and llvm::LLVMContext::shouldDiscardValueNames().

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