ΒΆllvm::ParsedModuleAndIndex parseAssemblyWithIndex(
llvm::MemoryBufferRef F,
llvm::SMDiagnostic& Err,
llvm::LLVMContext& Context,
llvm::SlotMapping* Slots = nullptr)
llvm::ParsedModuleAndIndex parseAssemblyWithIndex(
llvm::MemoryBufferRef F,
llvm::SMDiagnostic& Err,
llvm::LLVMContext& Context,
llvm::SlotMapping* Slots = nullptr)
Description
Parse LLVM Assembly including the summary index from a MemoryBuffer. parseAssemblyFileWithIndex is a wrapper around this function.
Declared at: llvm/include/llvm/AsmParser/Parser.h:128
Parameters
- llvm::MemoryBufferRef F
- The MemoryBuffer containing assembly with summary
- llvm::SMDiagnostic& Err
- Error result info.
- llvm::LLVMContext& Context
- llvm::SlotMapping* Slots = nullptr
- The optional slot mapping that will be initialized during parsing.