LLVM  8.0.1
Classes | Namespaces | Functions
Parser.h File Reference
#include "llvm/Support/MemoryBuffer.h"
Include dependency graph for Parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::ParsedModuleAndIndex
 Holds the Module and ModuleSummaryIndex returned by the interfaces that parse both. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 

Functions

std::unique_ptr< Modulellvm::parseAssemblyFile (StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, SlotMapping *Slots=nullptr, bool UpgradeDebugInfo=true, StringRef DataLayoutString="")
 This function is a main interface to the LLVM Assembly Parser. More...
 
std::unique_ptr< Modulellvm::parseAssemblyString (StringRef AsmString, SMDiagnostic &Err, LLVMContext &Context, SlotMapping *Slots=nullptr, bool UpgradeDebugInfo=true, StringRef DataLayoutString="")
 The function is a secondary interface to the LLVM Assembly Parser. More...
 
ParsedModuleAndIndex llvm::parseAssemblyFileWithIndex (StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, SlotMapping *Slots=nullptr, bool UpgradeDebugInfo=true, StringRef DataLayoutString="")
 This function is a main interface to the LLVM Assembly Parser. More...
 
std::unique_ptr< ModuleSummaryIndexllvm::parseSummaryIndexAssemblyFile (StringRef Filename, SMDiagnostic &Err)
 This function is a main interface to the LLVM Assembly Parser. More...
 
std::unique_ptr< Modulellvm::parseAssembly (MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, SlotMapping *Slots=nullptr, bool UpgradeDebugInfo=true, StringRef DataLayoutString="")
 parseAssemblyFile and parseAssemblyString are wrappers around this function. More...
 
ParsedModuleAndIndex llvm::parseAssemblyWithIndex (MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, SlotMapping *Slots=nullptr, bool UpgradeDebugInfo=true, StringRef DataLayoutString="")
 Parse LLVM Assembly including the summary index from a MemoryBuffer. More...
 
std::unique_ptr< ModuleSummaryIndexllvm::parseSummaryIndexAssembly (MemoryBufferRef F, SMDiagnostic &Err)
 Parse LLVM Assembly for summary index from a MemoryBuffer. More...
 
bool llvm::parseAssemblyInto (MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index, SMDiagnostic &Err, SlotMapping *Slots=nullptr, bool UpgradeDebugInfo=true, StringRef DataLayoutString="")
 This function is the low-level interface to the LLVM Assembly Parser. More...
 
Constantllvm::parseConstantValue (StringRef Asm, SMDiagnostic &Err, const Module &M, const SlotMapping *Slots=nullptr)
 Parse a type and a constant value in the given string. More...
 
Typellvm::parseType (StringRef Asm, SMDiagnostic &Err, const Module &M, const SlotMapping *Slots=nullptr)
 Parse a type in the given string. More...
 
Typellvm::parseTypeAtBeginning (StringRef Asm, unsigned &Read, SMDiagnostic &Err, const Module &M, const SlotMapping *Slots=nullptr)
 Parse a string Asm that starts with a type. More...