|
LLVM
4.0.0
|
#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) |
| LLVMContext & | getContext () |
Definition at line 87 of file LLParser.h.
| typedef LLLexer::LocTy llvm::LLParser::LocTy |
Definition at line 89 of file LLParser.h.
|
inline |
Definition at line 143 of file LLParser.h.
|
inline |
Definition at line 154 of file LLParser.h.
References Context.
| bool LLParser::parseStandaloneConstantValue | ( | Constant *& | C, |
| const SlotMapping * | Slots | ||
| ) |
Definition at line 78 of file LLParser.cpp.
References llvm::lltok::Eof, llvm::LLLexer::getKind(), llvm::LLLexer::getLoc(), and llvm::LLLexer::Lex().
| bool LLParser::parseTypeAtBeginning | ( | Type *& | Ty, |
| unsigned & | Read, | ||
| const SlotMapping * | Slots | ||
| ) |
Definition at line 91 of file LLParser.cpp.
References llvm::WebAssembly::End, llvm::LLLexer::getLoc(), llvm::SMLoc::getPointer(), and llvm::LLLexer::Lex().
| 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().
1.8.6