reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lld/ELF/InputFiles.h
   30 class InputFile;

References

include/llvm/LTO/LTO.h
  128   static Expected<std::unique_ptr<InputFile>> create(MemoryBufferRef Object);
  284   Error add(std::unique_ptr<InputFile> Obj, ArrayRef<SymbolResolution> Res);
  399   void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
  407   Error addModule(InputFile &Input, unsigned ModI,
  411   addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
  416   Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
include/llvm/LTO/legacy/LTOModule.h
  161   static lto::InputFile *createInputFile(const void *buffer, size_t buffer_size,
  164   static size_t getDependentLibraryCount(lto::InputFile *input);
  166   static const char *getDependentLibrary(lto::InputFile *input, size_t index, size_t *size);
include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
  255                const lto::InputFile &File);
  262                    const lto::InputFile &File);
  269                          const lto::InputFile &File);
  277       const lto::InputFile &File);
  283                    const lto::InputFile &File);
  312   std::vector<std::unique_ptr<lto::InputFile>> Modules;
lib/LTO/LTO.cpp
  429 Expected<std::unique_ptr<InputFile>> InputFile::create(MemoryBufferRef Object) {
  430   std::unique_ptr<InputFile> File(new InputFile);
  430   std::unique_ptr<InputFile> File(new InputFile);
  491 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
  497   for (const InputFile::Symbol &Sym : Syms) {
  544 static void writeToResolutionFile(raw_ostream &OS, InputFile *Input,
  549   for (const InputFile::Symbol &Sym : Input->symbols()) {
  568 Error LTO::add(std::unique_ptr<InputFile> Input,
  587 Error LTO::addModule(InputFile &Input, unsigned ModI,
  662 LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
  710   for (const InputFile::Symbol &Sym : Syms) {
  806 Error LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
  814   for (const InputFile::Symbol &Sym : Syms) {
lib/LTO/LTOModule.cpp
  652 lto::InputFile *LTOModule::createInputFile(const void *buffer,
  658   Expected<std::unique_ptr<lto::InputFile>> ObjOrErr =
  659       lto::InputFile::create(BufferRef);
  669 size_t LTOModule::getDependentLibraryCount(lto::InputFile *input) {
  673 const char *LTOModule::getDependentLibrary(lto::InputFile *input, size_t index,
lib/LTO/ThinLTOCodeGenerator.cpp
  142 static StringMap<lto::InputFile *>
  143 generateModuleMap(std::vector<std::unique_ptr<lto::InputFile>> &Modules) {
  144   StringMap<lto::InputFile *> ModuleMap;
  181 static std::unique_ptr<Module> loadModuleFromInput(lto::InputFile *Input,
  206                       StringMap<lto::InputFile*> &ModuleMap,
  259 addUsedSymbolToPreservedGUID(const lto::InputFile &File,
  400                      StringMap<lto::InputFile *> &ModuleMap, TargetMachine &TM,
  511   auto InputOrError = lto::InputFile::create(Buffer);
  634                                    const lto::InputFile &File) {
  683                                              const lto::InputFile &File) {
  716     const lto::InputFile &File) {
  749                                        const lto::InputFile &File) {
  790                                        const lto::InputFile &File) {
tools/gold/gold-plugin.cpp
  528   Expected<std::unique_ptr<InputFile>> ObjOrErr = InputFile::create(BufferRef);
  528   Expected<std::unique_ptr<InputFile>> ObjOrErr = InputFile::create(BufferRef);
  544   std::unique_ptr<InputFile> Obj = std::move(*ObjOrErr);
  706   Expected<std::unique_ptr<InputFile>> ObjOrErr = InputFile::create(BufferRef);
  706   Expected<std::unique_ptr<InputFile>> ObjOrErr = InputFile::create(BufferRef);
  713   std::unique_ptr<InputFile> Input = std::move(ObjOrErr.get());
  718     const InputFile::Symbol &InpSym = InputFileSyms[SymNum];
tools/lld/COFF/InputFiles.cpp
  157     std::unique_ptr<lto::InputFile> obj =
  159     for (const lto::InputFile::Symbol &sym : obj->symbols()) {
  898   obj = check(lto::InputFile::create(mbref));
  907   for (const lto::InputFile::Symbol &objSym : obj->symbols()) {
tools/lld/COFF/InputFiles.h
  348   std::unique_ptr<llvm::lto::InputFile> obj;
tools/lld/COFF/LTO.cpp
  117   lto::InputFile &obj = *f.obj;
  126   for (const lto::InputFile::Symbol &objSym : obj.symbols()) {
tools/lld/ELF/InputFiles.cpp
 1401                                    const lto::InputFile::Symbol &objSym,
 1436   for (const lto::InputFile::Symbol &objSym : obj->symbols())
 1506     std::unique_ptr<lto::InputFile> obj =
 1508     for (const lto::InputFile::Symbol &sym : obj->symbols()) {
tools/lld/ELF/InputFiles.h
  336   std::unique_ptr<llvm::lto::InputFile> obj;
tools/lld/ELF/LTO.cpp
  159   lto::InputFile &obj = *f.obj;
  166   ArrayRef<lto::InputFile::Symbol> objSyms = obj.symbols();
  172     const lto::InputFile::Symbol &objSym = objSyms[i];
tools/lld/wasm/InputFiles.cpp
  517                                    const lto::InputFile::Symbol &objSym,
  541   obj = check(lto::InputFile::create(MemoryBufferRef(
  552   for (const lto::InputFile::Symbol &objSym : obj->symbols())
tools/lld/wasm/InputFiles.h
  162   std::unique_ptr<llvm::lto::InputFile> obj;
tools/lld/wasm/LTO.cpp
   89   lto::InputFile &obj = *f.obj;
   95   for (const lto::InputFile::Symbol &objSym : obj.symbols()) {
tools/llvm-lto/llvm-lto.cpp
  389     std::unique_ptr<lto::InputFile> Input(LTOModule::createInputFile(
  484 static std::unique_ptr<lto::InputFile> loadInputFile(MemoryBufferRef Buffer) {
  487   return ExitOnErr(lto::InputFile::create(Buffer));
  490 static std::unique_ptr<Module> loadModuleFromInput(lto::InputFile &File,
tools/llvm-lto2/llvm-lto2.cpp
  288     std::unique_ptr<InputFile> Input =
  289         check(InputFile::create(MB->getMemBufferRef()), F);
  292     for (const InputFile::Symbol &Sym : Input->symbols()) {
  367     std::unique_ptr<InputFile> Input =
  368         check(InputFile::create(MB->getMemBufferRef()), F);
  386     for (const InputFile::Symbol &Sym : Input->symbols()) {
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>