LLVM 20.0.0git
Functions
Parser.cpp File Reference
#include "llvm/AsmParser/Parser.h"
#include "llvm/AsmParser/LLParser.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/ModuleSummaryIndex.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/SourceMgr.h"
#include <system_error>

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

◆ parseAssemblyInto()

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

◆ parseAssemblyWithIndex()

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

Definition at line 75 of file Parser.cpp.

References F, parseAssemblyInto(), and llvm::UpgradeDebugInfo().

Referenced by parseAssemblyFileWithIndex().

◆ parseSummaryIndexAssemblyInto()

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