LLVM 23.0.0git
llvm::lto::DTLTO Class Reference

#include "llvm/DTLTO/DTLTO.h"

Inheritance diagram for llvm::lto::DTLTO:
[legend]

Public Member Functions

 ~DTLTO () override=default
LLVM_ABI Expected< std::shared_ptr< InputFile > > addInput (std::unique_ptr< InputFile > InputPtr) override
Public Member Functions inherited from llvm::lto::LTO
LLVM_ABI LTO (Config Conf, ThinBackend Backend={}, unsigned ParallelCodeGenParallelismLevel=1, LTOKind LTOMode=LTOK_Default)
 Create an LTO object.
virtual LLVM_ABI ~LTO ()
LLVM_ABI Error add (std::unique_ptr< InputFile > Obj, ArrayRef< SymbolResolution > Res)
 Add an input file to the LTO link, using the provided symbol resolutions.
LLVM_ABI unsigned getMaxTasks () const
 Returns an upper bound on the number of tasks that the client may expect.
LLVM_ABI Error run (AddStreamFn AddStream, FileCache Cache={})
 Runs the LTO pipeline.
virtual Expected< std::shared_ptr< lto::InputFile > > addInput (std::unique_ptr< lto::InputFile > InputPtr)

Protected Member Functions

LLVM_ABI llvm::Error handleArchiveInputs () override
LLVM_ABI void cleanup () override

Additional Inherited Members

Public Types inherited from llvm::lto::LTO
enum  LTOKind { LTOK_Default , LTOK_UnifiedRegular , LTOK_UnifiedThin }
 Unified LTO modes. More...
Static Public Member Functions inherited from llvm::lto::LTO
static LLVM_ABI SmallVector< const char * > getRuntimeLibcallSymbols (const Triple &TT)
 Static method that returns a list of libcall symbols that can be generated by LTO but might not be visible from bitcode symbol table.

Detailed Description

Definition at line 18 of file DTLTO.h.

Constructor & Destructor Documentation

◆ ~DTLTO()

llvm::lto::DTLTO::~DTLTO ( )
overridedefault

References LLVM_ABI.

Member Function Documentation

◆ addInput()

◆ cleanup()

void lto::DTLTO::cleanup ( )
overrideprotectedvirtual

Reimplemented from llvm::lto::LTO.

Definition at line 209 of file DTLTO.cpp.

References llvm::lto::LTO::cleanup(), and llvm::sys::fs::remove().

◆ handleArchiveInputs()

llvm::Error lto::DTLTO::handleArchiveInputs ( )
overrideprotectedvirtual

Reimplemented from llvm::lto::LTO.

Definition at line 200 of file DTLTO.cpp.

References llvm::Error::success().


The documentation for this class was generated from the following files: