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

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/Support/Timer.h
   38   static TimeRecord getCurrentTime(bool Start = true);
   46   bool operator<(const TimeRecord &T) const {
   51   void operator+=(const TimeRecord &RHS) {
   57   void operator-=(const TimeRecord &RHS) {
   66   void print(const TimeRecord &Total, raw_ostream &OS) const;
   77   TimeRecord Time;          ///< The total time captured.
   78   TimeRecord StartTime;     ///< The time startTimer() was last called.
  130   TimeRecord getTotalTime() const { return Time; }
  172     TimeRecord Time;
  177     PrintRecord(const TimeRecord &Time, const std::string &Name,
  199                       const StringMap<TimeRecord> &Records);
lib/Support/Timer.cpp
  117 TimeRecord TimeRecord::getCurrentTime(bool Start) {
  119   TimeRecord Result;
  141   StartTime = TimeRecord::getCurrentTime(true);
  147   Time += TimeRecord::getCurrentTime(false);
  164 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const {
  245                        const StringMap<TimeRecord> &Records)
  305   TimeRecord Total;
  418     const TimeRecord &T = R.Time;
tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h
  124       Profiling(llvm::StringMap<llvm::TimeRecord> &Records)
  128       llvm::StringMap<llvm::TimeRecord> &Records;
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp
  529     void setBucket(llvm::TimeRecord *NewBucket) {
  531         auto Now = llvm::TimeRecord::getCurrentTime(true);
  531         auto Now = llvm::TimeRecord::getCurrentTime(true);
  541     llvm::TimeRecord *Bucket;
  797   llvm::StringMap<llvm::TimeRecord> TimeByBucket;
tools/clang/lib/Frontend/ASTUnit.cpp
  113     TimeRecord Start;
  119         Start = TimeRecord::getCurrentTime();
  124         TimeRecord Elapsed = TimeRecord::getCurrentTime();
  124         TimeRecord Elapsed = TimeRecord::getCurrentTime();
tools/clang/tools/extra/clang-tidy/ClangTidyProfiling.h
   47   llvm::StringMap<llvm::TimeRecord> Records;
tools/clang/tools/libclang/CIndex.cpp
 8977   static llvm::TimeRecord sBeginTR = llvm::TimeRecord::getCurrentTime();
 8977   static llvm::TimeRecord sBeginTR = llvm::TimeRecord::getCurrentTime();
 8988   llvm::TimeRecord TR = llvm::TimeRecord::getCurrentTime();
 8988   llvm::TimeRecord TR = llvm::TimeRecord::getCurrentTime();
tools/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp
   97   llvm::StringMap<llvm::TimeRecord> Records;
unittests/Support/TimerTest.cpp
   41   auto TR1 = T1.getTotalTime();
   46   auto TR2 = T1.getTotalTime();
usr/include/c++/7.4.0/bits/alloc_traits.h
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/stl_vector.h
  962 	emplace_back(_Args&&... __args);
 1483 	_M_realloc_insert(iterator __position, _Args&&... __args);
usr/include/c++/7.4.0/ext/new_allocator.h
  135 	construct(_Up* __p, _Args&&... __args)
usr/include/c++/7.4.0/type_traits
 1633     { typedef _Tp   type; };