LLVM  12.0.0git
Functions
Parser.cpp File Reference
#include "llvm/AsmParser/Parser.h"
#include "LLParser.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/ModuleSummaryIndex.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SourceMgr.h"
#include <cstring>
#include <system_error>
Include dependency graph for Parser.cpp:

Go to the source code of this file.

Functions

static bool parseAssemblyInto (MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index, SMDiagnostic &Err, SlotMapping *Slots, bool UpgradeDebugInfo, DataLayoutCallbackTy DataLayoutCallback)
 
static ParsedModuleAndIndex parseAssemblyWithIndex (MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, SlotMapping *Slots, bool UpgradeDebugInfo, DataLayoutCallbackTy DataLayoutCallback)
 
static ParsedModuleAndIndex parseAssemblyFileWithIndex (StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, SlotMapping *Slots, bool UpgradeDebugInfo, DataLayoutCallbackTy DataLayoutCallback)
 
static bool parseSummaryIndexAssemblyInto (MemoryBufferRef F, ModuleSummaryIndex &Index, SMDiagnostic &Err)
 

Function Documentation

◆ parseAssemblyFileWithIndex()

static ParsedModuleAndIndex parseAssemblyFileWithIndex ( StringRef  Filename,
SMDiagnostic Err,
LLVMContext Context,
SlotMapping Slots,
bool  UpgradeDebugInfo,
DataLayoutCallbackTy  DataLayoutCallback 
)
static

Definition at line 102 of file Parser.cpp.

◆ parseAssemblyInto()

static bool parseAssemblyInto ( MemoryBufferRef  F,
Module M,
ModuleSummaryIndex Index,
SMDiagnostic Err,
SlotMapping Slots,
bool  UpgradeDebugInfo,
DataLayoutCallbackTy  DataLayoutCallback 
)
static

Definition at line 25 of file Parser.cpp.

◆ parseAssemblyWithIndex()

static ParsedModuleAndIndex parseAssemblyWithIndex ( MemoryBufferRef  F,
SMDiagnostic Err,
LLVMContext Context,
SlotMapping Slots,
bool  UpgradeDebugInfo,
DataLayoutCallbackTy  DataLayoutCallback 
)
static

Definition at line 76 of file Parser.cpp.

◆ parseSummaryIndexAssemblyInto()

static bool parseSummaryIndexAssemblyInto ( MemoryBufferRef  F,
ModuleSummaryIndex Index,
SMDiagnostic Err 
)
static

Definition at line 144 of file Parser.cpp.