LLVM 24.0.0git
Parser.cpp File Reference
#include "llvm/AsmParser/Parser.h"
#include "llvm/ADT/SmallVector.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 <algorithm>
#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, AsmParserContext *ParserContext=nullptr)
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()

◆ parseAssemblyInto()

bool parseAssemblyInto ( MemoryBufferRef F,
Module * M,
ModuleSummaryIndex * Index,
SMDiagnostic & Err,
SlotMapping * Slots,
bool UpgradeDebugInfo,
DataLayoutCallbackTy DataLayoutCallback,
AsmParserContext * ParserContext = nullptr )
static

◆ parseAssemblyWithIndex()

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

Definition at line 82 of file Parser.cpp.

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

◆ parseSummaryIndexAssemblyInto()

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