|
LLVM 23.0.0git
|
#include "llvm/DTLTO/DTLTO.h"
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. | |
|
overridedefault |
References LLVM_ABI.
|
override |
Definition at line 127 of file DTLTO.cpp.
References llvm::StringRef::empty(), llvm::sys::path::filename(), llvm::sys::Process::getProcessId(), llvm::BitcodeModule::setModuleIdentifier(), llvm::SmallString< InternalLen >::str(), llvm::Expected< T >::takeError(), and llvm::utohexstr().
|
overrideprotectedvirtual |
Reimplemented from llvm::lto::LTO.
Definition at line 209 of file DTLTO.cpp.
References llvm::lto::LTO::cleanup(), and llvm::sys::fs::remove().
|
overrideprotectedvirtual |
Reimplemented from llvm::lto::LTO.
Definition at line 200 of file DTLTO.cpp.
References llvm::Error::success().