Home
last modified time | relevance | path

Searched refs:getCounter (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ProfileData/
H A DCoverageMappingTest.cpp270 addCMR(Counter::getCounter(0), "foo", 1, 1, 1, 1); in TEST_P()
271 addCMR(Counter::getCounter(1), "foo", 2, 1, 2, 2); in TEST_P()
273 addCMR(Counter::getCounter(2), "foo", 4, 1, 4, 8); in TEST_P()
274 addCMR(Counter::getCounter(3), "bar", 1, 2, 3, 4); in TEST_P()
344 addCMR(Counter::getCounter(0), "foo", 1, 1, 5, 5); in TEST_P()
353 addCMR(Counter::getCounter(0), "foo", 1, 1, 5, 5); in TEST_P()
356 addCMR(Counter::getCounter(0), "bar", 2, 2, 6, 6); in TEST_P()
383 addCMR(Counter::getCounter(0), "file1", 1, 1, 2, 2); in TEST_P()
641 addCMR(Counter::getCounter(2), "foo", 1, 1, 20, 1); in TEST_P()
815 CounterExpression::Add, Counter::getCounter(1), Counter::getCounter(2))); in TEST_P()
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp124 const Counter &getCounter() const { return Count; } in getCounter() function in __anon8934bc200211::SourceMappingRegion
579 return Counter::getCounter(CounterMap[S]); in getRegionCounter()
703 Counter ExitCount = getRegion().getCounter(); in propagateCounts()
819 ParentCounter = I.getCounter(); in handleFileExit()
1083 Counter ParentCount = getRegion().getCounter(); in VisitWhileStmt()
1123 Counter ParentCount = getRegion().getCounter(); in VisitDoStmt()
1158 Counter ParentCount = getRegion().getCounter(); in VisitForStmt()
1217 Counter ParentCount = getRegion().getCounter(); in VisitCXXForRangeStmt()
1253 Counter ParentCount = getRegion().getCounter(); in VisitObjCForCollectionStmt()
1493 Counter ParentCnt = getRegion().getCounter(); in VisitBinLAnd()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h136 static Counter getCounter(unsigned CounterId) { in getCounter() function
1040 Counter::getCounter(~0U),
1041 Counter::getCounter(~0U));
1048 Counter::getCounter(~0U),
1049 Counter::getCounter(~0U));
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp108 C = Counter::getCounter(T.CounterID); in simplify()
111 Counter::getCounter(T.CounterID))); in simplify()
120 Counter::getCounter(T.CounterID))); in simplify()
H A DCoverageMappingReader.cpp193 C = Counter::getCounter(Value >> Counter::EncodingTagBits); in decodeCounter()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_stats.h744 inline counter *getCounter(counter_e idx) { return &_counters[idx]; } in getCounter() function
909 __kmp_stats_thread_ptr->getCounter(COUNTER_##name)->increment()
H A Dkmp_stats.cpp859 allCounters[c].addSample((double)(*it)->getCounter(c)->getValue()); in outputStats()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DIterationSpace.h494 std::size_t getCounter() const { return counter; }
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertExpr.cpp7710 std::size_t counter = esp.getCounter(); in createArrayLoads()