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

Declarations

tools/opt/NewPMDriver.h
   28 class ToolOutputFile;

References

include/llvm/IR/RemarkStreamer.h
   92 Expected<std::unique_ptr<ToolOutputFile>>
include/llvm/LTO/LTO.h
   89 Expected<std::unique_ptr<ToolOutputFile>>
   95 Expected<std::unique_ptr<ToolOutputFile>>
include/llvm/LTO/legacy/LTOCodeGenerator.h
  242   std::unique_ptr<ToolOutputFile> DiagnosticOutputFile;
  244   std::unique_ptr<ToolOutputFile> StatsFile = nullptr;
lib/IR/RemarkStreamer.cpp
  143 Expected<std::unique_ptr<ToolOutputFile>>
  165       std::make_unique<ToolOutputFile>(RemarksFilename, EC, Flags);
lib/LTO/LTO.cpp
  930   std::unique_ptr<ToolOutputFile> StatsFile = std::move(StatsFileOrErr.get());
 1378 Expected<std::unique_ptr<ToolOutputFile>>
 1397 Expected<std::unique_ptr<ToolOutputFile>>
 1406       std::make_unique<ToolOutputFile>(StatsFilename, EC, sys::fs::OF_None);
lib/LTO/LTOBackend.cpp
  320   std::unique_ptr<ToolOutputFile> DwoOut;
  336     DwoOut = std::make_unique<ToolOutputFile>(DwoFile, EC, sys::fs::OF_None);
  417 finalizeOptimizationRemarks(std::unique_ptr<ToolOutputFile> DiagOutputFile) {
lib/LTO/LTOCodeGenerator.cpp
  232   ToolOutputFile Out(Path, EC, sys::fs::OF_None);
  272   ToolOutputFile objFile(Filename, FD);
lib/Support/CodeGenCoverage.cpp
  105     std::unique_ptr<ToolOutputFile> CoverageFile =
  106         std::make_unique<ToolOutputFile>(CoverageFilename, EC, OpenFlags);
lib/TableGen/Main.cpp
   70   ToolOutputFile DepOut(DependFilename, EC, sys::fs::OF_None);
  130   ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None);
tools/bugpoint/OptimizerDriver.cpp
   53 static bool writeProgramToFileAux(ToolOutputFile &Out, const Module &M) {
   65   ToolOutputFile Out(Filename, FD);
   82   ToolOutputFile Out(Filename, EC, sys::fs::OF_None);
tools/clang/lib/CodeGen/BackendUtil.cpp
  120   std::unique_ptr<llvm::ToolOutputFile> openOutputFile(StringRef Path) {
  122     auto F = std::make_unique<llvm::ToolOutputFile>(Path, EC,
  837   std::unique_ptr<llvm::ToolOutputFile> ThinLinkOS, DwoOS;
 1259   std::unique_ptr<llvm::ToolOutputFile> ThinLinkOS, DwoOS;
tools/clang/lib/CodeGen/CodeGenAction.cpp
  270       Expected<std::unique_ptr<llvm::ToolOutputFile>> OptRecordFileOrErr =
  294       std::unique_ptr<llvm::ToolOutputFile> OptRecordFile =
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
  353   ToolOutputFile Out(Output, EC, sys::fs::OF_None);
tools/clang/tools/extra/modularize/ModuleAssistant.cpp
  271   llvm::ToolOutputFile Out(FilePath, EC, llvm::sys::fs::OF_Text);
tools/clang/tools/extra/pp-trace/PPTrace.cpp
  155   llvm::ToolOutputFile Out(OutputFileName, EC, llvm::sys::fs::OF_Text);
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
   51     llvm::ToolOutputFile ASTFile(ASTFileName, ASTFD);
   57     llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD);
   68     llvm::ToolOutputFile SourceFile(SourceFileName, SourceFD);
  160   llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD);
  185   llvm::ToolOutputFile IndexFile(IndexFileName, IndexFD);
tools/clang/unittests/Frontend/ASTUnitTest.cpp
   29   std::unique_ptr<ToolOutputFile> input_file;
   37     input_file = std::make_unique<ToolOutputFile>(InputFileName, FD);
   84   ToolOutputFile ast_file(ASTFileName, FD);
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp
   27   ToolOutputFile File(FileName, FD);
tools/clang/unittests/Frontend/FrontendActionTest.cpp
  265   llvm::ToolOutputFile PCHFile(PCHFilename, PCHFD);
tools/llc/llc.cpp
  187 static std::unique_ptr<ToolOutputFile> GetOutputStream(const char *TargetName,
  245   auto FDOut = std::make_unique<ToolOutputFile>(OutputFilename, EC, OpenFlags);
  335   Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr =
  343   std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr);
  475   std::unique_ptr<ToolOutputFile> Out =
  479   std::unique_ptr<ToolOutputFile> DwoOut;
  482     DwoOut = std::make_unique<ToolOutputFile>(SplitDwarfOutputFile, EC,
tools/llvm-as/llvm-as.cpp
   84   std::unique_ptr<ToolOutputFile> Out(
   85       new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
tools/llvm-cov/CodeCoverage.cpp
  454   ToolOutputFile InputTOF{InputPath, InputFD};
  472   ToolOutputFile OutputTOF{OutputPath, OutputFD};
tools/llvm-dis/llvm-dis.cpp
  188   std::unique_ptr<ToolOutputFile> Out(
  189       new ToolOutputFile(OutputFilename, EC, sys::fs::OF_Text));
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  587   ToolOutputFile OutputFile(OutputFilename, EC, sys::fs::OF_Text);
tools/llvm-dwp/llvm-dwp.cpp
  709   ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None);
tools/llvm-extract/llvm-extract.cpp
  363   ToolOutputFile Out(OutputFilename, EC, sys::fs::OF_None);
tools/llvm-link/llvm-link.cpp
  384   ToolOutputFile Out(OutputFilename, EC, sys::fs::OF_None);
tools/llvm-lto/llvm-lto.cpp
 1016     std::list<ToolOutputFile> OSs;
 1033     for (ToolOutputFile &OS : OSs)
tools/llvm-mc/llvm-mc.cpp
  212 static std::unique_ptr<ToolOutputFile> GetOutputStream(StringRef Path,
  215   auto Out = std::make_unique<ToolOutputFile>(Path, EC, Flags);
  420   std::unique_ptr<ToolOutputFile> Out = GetOutputStream(OutputFilename, Flags);
  424   std::unique_ptr<ToolOutputFile> DwoOut;
tools/llvm-mca/llvm-mca.cpp
  236 ErrorOr<std::unique_ptr<ToolOutputFile>> getOutputStream() {
  241       std::make_unique<ToolOutputFile>(OutputFilename, EC, sys::fs::OF_Text);
  425   std::unique_ptr<ToolOutputFile> TOF = std::move(*OF);
tools/llvm-modextract/llvm-modextract.cpp
   56   std::unique_ptr<ToolOutputFile> Out(
   57       new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
tools/llvm-reduce/deltas/Delta.cpp
   34   ToolOutputFile Out(CurrentFilepath, FD);
tools/llvm-split/llvm-split.cpp
   57     std::unique_ptr<ToolOutputFile> Out(
   58         new ToolOutputFile(OutputFilename + utostr(I++), EC, sys::fs::OF_None));
tools/llvm-stress/llvm-stress.cpp
  749   std::unique_ptr<ToolOutputFile> Out;
  755   Out.reset(new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
tools/opt/NewPMDriver.cpp
  212                            ToolOutputFile *Out, ToolOutputFile *ThinLTOLinkOut,
  212                            ToolOutputFile *Out, ToolOutputFile *ThinLTOLinkOut,
  213                            ToolOutputFile *OptRemarkFile,
tools/opt/NewPMDriver.h
   61                      ToolOutputFile *Out, ToolOutputFile *ThinLinkOut,
   61                      ToolOutputFile *Out, ToolOutputFile *ThinLinkOut,
   62                      ToolOutputFile *OptRemarkFile, StringRef PassPipeline,
tools/opt/opt.cpp
  557   Expected<std::unique_ptr<ToolOutputFile>> RemarksFileOrErr =
  565   std::unique_ptr<ToolOutputFile> RemarksFile = std::move(*RemarksFileOrErr);
  602   std::unique_ptr<ToolOutputFile> Out;
  603   std::unique_ptr<ToolOutputFile> ThinLinkOut;
  616     Out.reset(new ToolOutputFile(OutputFilename, EC, Flags));
  624           new ToolOutputFile(ThinLinkBitcodeFile, EC, sys::fs::OF_None));
  724       Out = std::make_unique<ToolOutputFile>(OutputFilename, EC,
tools/polly/lib/Exchange/JSONExporter.cpp
  181   ToolOutputFile F(FileName, EC, llvm::sys::fs::OF_Text);
tools/polly/lib/Support/DumpModulePass.cpp
   64     std::unique_ptr<ToolOutputFile> Out;
   66     Out.reset(new ToolOutputFile(Dumpfile, EC, sys::fs::OF_None));
tools/yaml2obj/yaml2obj.cpp
   53   std::unique_ptr<ToolOutputFile> Out(
   54       new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
usr/include/c++/7.4.0/bits/alloc_traits.h
  387       using allocator_type = allocator<_Tp>;
  389       using value_type = _Tp;
  392       using pointer = _Tp*;
  395       using const_pointer = const _Tp*;
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  486 	destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/list.tcc
   68       typedef _List_node<_Tp>  _Node;
   74 	  _Tp* __val = __tmp->_M_valptr();
usr/include/c++/7.4.0/bits/stl_list.h
  112       __gnu_cxx::__aligned_membuf<_Tp> _M_storage;
  113       _Tp*       _M_valptr()       { return _M_storage._M_ptr(); }
  114       _Tp const* _M_valptr() const { return _M_storage._M_ptr(); }
  130       typedef _List_iterator<_Tp>		_Self;
  131       typedef _List_node<_Tp>			_Node;
  135       typedef _Tp				value_type;
  136       typedef _Tp*				pointer;
  137       typedef _Tp&				reference;
  304 	rebind<_Tp>::other				_Tp_alloc_type;
  307 	rebind<_List_node<_Tp> >::other _Node_alloc_type;
  503     class list : protected _List_base<_Tp, _Alloc>
  514       typedef _List_base<_Tp, _Alloc>			_Base;
  521       typedef _Tp					 value_type;
  526       typedef _List_iterator<_Tp>			 iterator;
  527       typedef _List_const_iterator<_Tp>			 const_iterator;
  537       typedef _List_node<_Tp>				 _Node;
 1587       remove(const _Tp& __value);
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
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/ext/aligned_buffer.h
   52       struct _Tp2 { _Tp _M_t; };
   54       alignas(__alignof__(_Tp2::_M_t)) unsigned char _M_storage[sizeof(_Tp)];
   69       _Tp*
   73       const _Tp*
usr/include/c++/7.4.0/ext/alloc_traits.h
  117       { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h
  135 	construct(_Up* __p, _Args&&... __args)
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  140 	destroy(_Up* __p) { __p->~_Up(); }
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>