|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/LegacyPassManagers.h 98 class Timer;
include/llvm/Support/Signposts.h 22 class Timer;
include/llvm/Support/Timer.h 22 class Timer;
tools/clang/include/clang/Frontend/CompilerInstance.h 33 class Timer;
References
include/llvm/ADT/StringMap.h 129 ValueTy second;
138 const ValueTy &getValue() const { return second; }
139 ValueTy &getValue() { return second; }
141 void setValue(const ValueTy &V) { second = V; }
158 class StringMapEntry final : public StringMapEntryStorage<ValueTy> {
246 using MapEntryTy = StringMapEntry<ValueTy>;
260 StringMap(std::initializer_list<std::pair<StringRef, ValueTy>> List)
330 using mapped_type = ValueTy;
331 using value_type = StringMapEntry<ValueTy>;
334 using const_iterator = StringMapConstIterator<ValueTy>;
335 using iterator = StringMapIterator<ValueTy>;
350 iterator_range<StringMapKeyIterator<ValueTy>> keys() const {
369 ValueTy lookup(StringRef Key) const {
378 ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; }
413 std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
531 : public StringMapIterBase<StringMapConstIterator<ValueTy>,
532 const StringMapEntry<ValueTy>> {
533 using base = StringMapIterBase<StringMapConstIterator<ValueTy>,
534 const StringMapEntry<ValueTy>>;
542 const StringMapEntry<ValueTy> &operator*() const {
548 class StringMapIterator : public StringMapIterBase<StringMapIterator<ValueTy>,
549 StringMapEntry<ValueTy>> {
551 StringMapIterBase<StringMapIterator<ValueTy>, StringMapEntry<ValueTy>>;
551 StringMapIterBase<StringMapIterator<ValueTy>, StringMapEntry<ValueTy>>;
559 StringMapEntry<ValueTy> &operator*() const {
563 operator StringMapConstIterator<ValueTy>() const {
include/llvm/IR/PassTimingInfo.h 37 Timer *getPassTimer(Pass *);
59 DenseMap<PassInvocationID, std::unique_ptr<Timer>> TimingData;
65 SmallVector<Timer *, 8> TimerStack;
97 Timer &getPassTimer(StringRef PassID);
include/llvm/Support/Signposts.h 36 void startTimerInterval(Timer *T);
38 void endTimerInterval(Timer *T);
include/llvm/Support/Timer.h 85 Timer **Prev; ///< Pointer to \p Next of previous timer in group.
86 Timer *Next; ///< Next timer in the group.
94 Timer(const Timer &RHS) {
97 const Timer &operator=(const Timer &T) {
97 const Timer &operator=(const Timer &T) {
141 Timer *T;
145 explicit TimeRegion(Timer &t) : T(&t) {
148 explicit TimeRegion(Timer *t) : T(t) {
187 Timer *FirstTimer = nullptr; ///< First timer in the group.
235 void addTimer(Timer &T);
236 void removeTimer(Timer &T);
lib/IR/PassTimingInfo.cpp 62 DenseMap<PassInstanceID, std::unique_ptr<Timer>> TimingData; ///< timers for pass instances
84 Timer *getPassTimer(Pass *, PassInstanceID);
89 Timer *newPassTimer(StringRef PassID, StringRef PassDesc);
119 Timer *PassTimingInfo::newPassTimer(StringRef PassID, StringRef PassDesc) {
125 return new Timer(PassID, PassDescNumbered, TG);
128 Timer *PassTimingInfo::getPassTimer(Pass *P, PassInstanceID Pass) {
134 std::unique_ptr<Timer> &T = TimingData[Pass];
150 Timer *getPassTimer(Pass *P) {
170 Timer &TimePassesHandler::getPassTimer(StringRef PassID) {
178 Timer *T = new Timer(PassID, FullDesc, TG);
178 Timer *T = new Timer(PassID, FullDesc, TG);
201 const Timer *MyTimer = I.second.get();
208 const Timer *MyTimer = I.second.get();
216 Timer &MyTimer = getPassTimer(PassID);
224 Timer *MyTimer = TimerStack.pop_back_val();
lib/Support/Signposts.cpp 107 void SignpostEmitter::startTimerInterval(Timer *T) {
115 void SignpostEmitter::endTimerInterval(Timer *T) {
lib/Support/Timer.cpp 186 typedef StringMap<Timer> Name2TimerMap;
197 Timer &get(StringRef Name, StringRef Description, StringRef GroupName,
206 Timer &T = GroupEntry.second[Name];
267 void TimerGroup::removeTimer(Timer &T) {
290 void TimerGroup::addTimer(Timer &T) {
352 for (Timer *T = FirstTimer; T; T = T->Next) {
382 for (Timer *T = FirstTimer; T; T = T->Next)
tools/clang/include/clang/Frontend/CompilerInstance.h 116 std::unique_ptr<llvm::Timer> FrontendTimer;
582 llvm::Timer &getFrontendTimer() const {
tools/clang/include/clang/Serialization/ASTReader.h 452 std::unique_ptr<llvm::Timer> ReadTimer;
1497 std::unique_ptr<llvm::Timer> ReadTimer = {});
tools/clang/lib/CodeGen/BackendUtil.cpp 91 Timer CodeGenerationTime;
tools/clang/lib/CodeGen/CodeGenAction.cpp 98 Timer LLVMIRGeneration;
tools/clang/lib/Frontend/CompilerInstance.cpp 604 new llvm::Timer("frontend", "Clang front-end timer",
1491 std::unique_ptr<llvm::Timer> ReadTimer;
1493 ReadTimer = std::make_unique<llvm::Timer>("reading_modules",
1523 llvm::Timer Timer;
1720 llvm::Timer Timer;
tools/clang/lib/Serialization/ASTReader.cpp12222 std::unique_ptr<llvm::Timer> ReadTimer)
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp 220 std::unique_ptr<llvm::Timer> SyntaxCheckTimer;
221 std::unique_ptr<llvm::Timer> ExprEngineTimer;
222 std::unique_ptr<llvm::Timer> BugReporterTimer;
238 SyntaxCheckTimer = std::make_unique<llvm::Timer>(
240 ExprEngineTimer = std::make_unique<llvm::Timer>(
242 BugReporterTimer = std::make_unique<llvm::Timer>(
tools/llvm-jitlink/llvm-jitlink.cpp 787 Timer LoadObjectsTimer{"load", "time to load/add object files", JITLinkTG};
788 Timer LinkTimer{"link", "time to link object files", JITLinkTG};
789 Timer RunTimer{"run", "time to execute jitlink'd code", JITLinkTG};
tools/llvm-rtdyld/llvm-rtdyld.cpp 151 Timer LoadObjectsTimer{"load", "time to load/add object files", RTDyldTG};
152 Timer LinkTimer{"link", "time to link object files", RTDyldTG};
153 Timer RunTimer{"run", "time to execute jitlink'd code", RTDyldTG};
unittests/Support/TimerTest.cpp 35 Timer T1("T1", "T1");
52 Timer T1("T1", "T1");
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/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>
utils/yaml-bench/YAMLBench.cpp 147 llvm::Timer BaseLine((Name + ".loop").str(), (Description + ": Loop").str(),
157 llvm::Timer Tokenizing((Name + ".tokenizing").str(),
165 llvm::Timer Parsing((Name + ".parsing").str(),