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

#include <LLParser.h>

Public Types

typedef LLLexer::LocTy LocTy
 

Public Member Functions

 LLParser (StringRef F, SourceMgr &SM, SMDiagnostic &Err, Module *M, SlotMapping *Slots=nullptr)
 
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

Definition at line 89 of file LLParser.h.

Constructor & Destructor Documentation

llvm::LLParser::LLParser ( StringRef  F,
SourceMgr SM,
SMDiagnostic Err,
Module M,
SlotMapping Slots = nullptr 
)
inline

Definition at line 143 of file LLParser.h.

Member Function Documentation

LLVMContext& llvm::LLParser::getContext ( )
inline

Definition at line 154 of file LLParser.h.

References Context.

bool LLParser::parseStandaloneConstantValue ( Constant *&  C,
const SlotMapping Slots 
)
bool LLParser::parseTypeAtBeginning ( Type *&  Ty,
unsigned Read,
const SlotMapping Slots 
)
bool LLParser::Run ( )

Run: module ::= toplevelentity*.

Definition at line 65 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: