Home
last modified time | relevance | path

Searched refs:CountFromProfile (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp507 void setInstrumentedCounts(const std::vector<uint64_t> &CountFromProfile);
536 const std::vector<uint64_t> &CountFromProfile) { in setInstrumentedCounts() argument
548 uint64_t CountValue = CountFromProfile[I++]; in setInstrumentedCounts()
614 std::vector<uint64_t> &CountFromProfile = ProfileRecord.Counts; in readCounters() local
617 DEBUG(dbgs() << CountFromProfile.size() << " counts\n"); in readCounters()
619 for (unsigned I = 0, S = CountFromProfile.size(); I < S; I++) { in readCounters()
620 DEBUG(dbgs() << " " << I << ": " << CountFromProfile[I] << "\n"); in readCounters()
621 ValueSum += CountFromProfile[I]; in readCounters()
629 setInstrumentedCounts(CountFromProfile); in readCounters()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp927 void setInstrumentedCounts(const std::vector<uint64_t> &CountFromProfile);
958 const std::vector<uint64_t> &CountFromProfile) { in setInstrumentedCounts() argument
959 assert(FuncInfo.getNumCounters() == CountFromProfile.size()); in setInstrumentedCounts()
970 uint64_t CountValue = CountFromProfile[I++]; in setInstrumentedCounts()
989 ProfileCountSize = CountFromProfile.size(); in setInstrumentedCounts()
1042 std::vector<uint64_t> &CountFromProfile = ProfileRecord.Counts; in readCounters() local
1045 LLVM_DEBUG(dbgs() << CountFromProfile.size() << " counts\n"); in readCounters()
1047 for (unsigned I = 0, S = CountFromProfile.size(); I < S; I++) { in readCounters()
1048 LLVM_DEBUG(dbgs() << " " << I << ": " << CountFromProfile[I] << "\n"); in readCounters()
1049 ValueSum += CountFromProfile[I]; in readCounters()
[all …]