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

References

include/llvm/ProfileData/InstrProf.h
  301 class InstrProfError : public ErrorInfo<InstrProfError> {
  383     auto E = make_error<InstrProfError>(FirstError);
  469       return make_error<InstrProfError>(instrprof_error::malformed);
include/llvm/ProfileData/InstrProfReader.h
  105     return make_error<InstrProfError>(Err);
  108   Error error(Error &&E) { return error(InstrProfError::take(std::move(E))); }
  123       return make_error<InstrProfError>(LastError);
include/llvm/ProfileData/InstrProfWriter.h
   90       return make_error<InstrProfError>(instrprof_error::unsupported_version);
include/llvm/Support/Error.h
   83     return isA(ErrorInfoT::classID());
  242     return getPtr() && getPtr()->isA(ErrT::classID());
  331   return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
  348   static const void *classID() { return &ThisErrT::ID; }
  350   const void *dynamicClassID() const override { return &ThisErrT::ID; }
  804     return E.template isA<ErrT>();
  820     return E.template isA<ErrT>();
  826     std::unique_ptr<ErrT> SubE(static_cast<ErrT *>(E.release()));
  866     : public ErrorHandlerTraits<RetT (&)(ErrT &)> {};
  878     : public ErrorHandlerTraits<RetT (&)(std::unique_ptr<ErrT>)> {};
lib/ProfileData/Coverage/CoverageMapping.cpp
  223     instrprof_error IPE = InstrProfError::take(std::move(E));
  228       return make_error<InstrProfError>(IPE);
lib/ProfileData/Coverage/CoverageMappingReader.cpp
  436         return make_error<InstrProfError>(instrprof_error::malformed);
lib/ProfileData/InstrProf.cpp
  412     return make_error<InstrProfError>(instrprof_error::compress_failed);
  450         return make_error<InstrProfError>(instrprof_error::zlib_unavailable);
  458         return make_error<InstrProfError>(instrprof_error::uncompress_failed);
  857     return make_error<InstrProfError>(instrprof_error::malformed);
  860     return make_error<InstrProfError>(instrprof_error::malformed);
  865       return make_error<InstrProfError>(instrprof_error::malformed);
  868       return make_error<InstrProfError>(instrprof_error::malformed);
  880     return make_error<InstrProfError>(instrprof_error::truncated);
  885     return make_error<InstrProfError>(instrprof_error::too_large);
lib/ProfileData/InstrProfReader.cpp
   66     return make_error<InstrProfError>(instrprof_error::too_large);
   69     return make_error<InstrProfError>(instrprof_error::empty_raw_profile);
   82     return make_error<InstrProfError>(instrprof_error::unrecognized_format);
  117     return make_error<InstrProfError>(instrprof_error::too_large);
  121     return make_error<InstrProfError>(instrprof_error::bad_magic);
  135     InstrProfError::take(std::move(E));
  324     return make_error<InstrProfError>(instrprof_error::eof);
  328     return make_error<InstrProfError>(instrprof_error::malformed);
  331     return make_error<InstrProfError>(instrprof_error::malformed);
  335     return make_error<InstrProfError>(instrprof_error::bad_magic);
  579     return make_error<InstrProfError>(instrprof_error::unknown_function);
  583     return make_error<InstrProfError>(instrprof_error::malformed);
  592     return make_error<InstrProfError>(instrprof_error::eof);
  597     return make_error<InstrProfError>(instrprof_error::malformed);
  860     consumeError(error(InstrProfError::take(std::move(E))));
lib/ProfileData/InstrProfWriter.cpp
  236     Warn(make_error<InstrProfError>(E));
tools/clang/lib/CodeGen/CodeGenPGO.cpp
  972     auto IPE = llvm::InstrProfError::take(std::move(E));
tools/llvm-profdata/llvm-profdata.cpp
   68   if (E.isA<InstrProfError>()) {
  207     instrprof_error IPE = InstrProfError::take(std::move(E));
  209       WC->Errors.emplace_back(make_error<InstrProfError>(IPE), TestFilename);
  236     instrprof_error IPE = InstrProfError::take(std::move(E));
  238       WC->Errors.emplace_back(make_error<InstrProfError>(IPE), Filename);
  266       instrprof_error IPE = InstrProfError::take(std::move(E));
  269       handleMergeWriterError(make_error<InstrProfError>(IPE), Input.Filename,
  285     instrprof_error IPE = InstrProfError::take(std::move(E));
  289       warn(toString(make_error<InstrProfError>(IPE)));
unittests/ProfileData/InstrProfTest.cpp
  572   auto Err = [&](Error E) { Result = InstrProfError::take(std::move(E)); };
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
  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/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>