LLVM: llvm::IRMover Class Reference (original) (raw)
#include "[llvm/Linker/IRMover.h](IRMover%5F8h%5Fsource.html)"
Definition at line 31 of file IRMover.h.
◆ LazyCallback
Initial value:
std::function< void(GlobalValue &)> ValueAdder
unique_function is a type-erasing functor similar to std::function.
Definition at line 71 of file IRMover.h.
◆ NamedMDNodesT
Initial value:
Definition at line 74 of file IRMover.h.
◆ ValueAdder
| IRMover::IRMover | ( | Module & | M | ) |
|---|
◆ getModule()
| Module & llvm::IRMover::getModule ( ) | inline |
|---|
◆ move()
Move in the provide values in ValuesToLink from Src.
AddLazyForis a call back that the IRMover will call when a global value is referenced by one of the ValuesToLink (transitively) but was not present in ValuesToLink. The GlobalValue and a ValueAdder callback are passed as an argument, and the callback is expected to be called if the GlobalValue needs to be added to theValuesToLinkand linked. Pass nullptr if there's no work to be done in such cases.IsPerformingImportis true when this IR link is to perform ThinLTO function importing from Src.
Definition at line 1689 of file IRMover.cpp.
Referenced by llvm::FunctionImporter::importFunctions().
The documentation for this class was generated from the following files:
- include/llvm/Linker/IRMover.h
- lib/Linker/IRMover.cpp