class LLParser

Declaration

class LLParser { /* full declaration omitted */ };

Declared at: llvm/lib/AsmParser/LLParser.h:87

Method Overview

  • public LLParser(llvm::StringRef F, llvm::SourceMgr & SM, llvm::SMDiagnostic & Err, llvm::Module * M, llvm::ModuleSummaryIndex * Index, llvm::LLVMContext & Context, llvm::SlotMapping * Slots = nullptr, bool UpgradeDebugInfo = true, llvm::StringRef DataLayoutString = "")
  • public bool Run()
  • public llvm::LLVMContext & getContext()
  • public bool parseStandaloneConstantValue(llvm::Constant *& C, const llvm::SlotMapping * Slots)
  • public bool parseTypeAtBeginning(llvm::Type *& Ty, unsigned int & Read, const llvm::SlotMapping * Slots)

Methods

LLParser(llvm::StringRef F,
         llvm::SourceMgr& SM,
         llvm::SMDiagnostic& Err,
         llvm::Module* M,
         llvm::ModuleSummaryIndex* Index,
         llvm::LLVMContext& Context,
         llvm::SlotMapping* Slots = nullptr,
         bool UpgradeDebugInfo = true,
         llvm::StringRef DataLayoutString = "")

Declared at: llvm/lib/AsmParser/LLParser.h:169

Parameters

llvm::StringRef F
llvm::SourceMgr& SM
llvm::SMDiagnostic& Err
llvm::Module* M
llvm::ModuleSummaryIndex* Index
llvm::LLVMContext& Context
llvm::SlotMapping* Slots = nullptr
bool UpgradeDebugInfo = true
llvm::StringRef DataLayoutString = ""

bool Run()

Description

Run: module ::= toplevelentity*

Declared at: llvm/lib/AsmParser/LLParser.h:179

llvm::LLVMContext& getContext()

Declared at: llvm/lib/AsmParser/LLParser.h:186

bool parseStandaloneConstantValue(
    llvm::Constant*& C,
    const llvm::SlotMapping* Slots)

Declared at: llvm/lib/AsmParser/LLParser.h:181

Parameters

llvm::Constant*& C
const llvm::SlotMapping* Slots

bool parseTypeAtBeginning(
    llvm::Type*& Ty,
    unsigned int& Read,
    const llvm::SlotMapping* Slots)

Declared at: llvm/lib/AsmParser/LLParser.h:183

Parameters

llvm::Type*& Ty
unsigned int& Read
const llvm::SlotMapping* Slots