Home
last modified time | relevance | path

Searched refs:CountValue (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfilingValue.c139 uint32_t CounterIndex, uint64_t CountValue) { in instrumentTargetValueImpl() argument
143 if (!CountValue) in instrumentTargetValueImpl()
159 CurVNode->Count += CountValue; in instrumentTargetValueImpl()
200 if (MinCountVNode->Count <= CountValue) { in instrumentTargetValueImpl()
203 CurVNode->Count = CountValue; in instrumentTargetValueImpl()
205 MinCountVNode->Count -= CountValue; in instrumentTargetValueImpl()
214 CurVNode->Count += CountValue; in instrumentTargetValueImpl()
237 uint64_t CountValue) { in __llvm_profile_instrument_target_value() argument
238 instrumentTargetValueImpl(TargetValue, Data, CounterIndex, CountValue); in __llvm_profile_instrument_target_value()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp927 uint64_t CountValue = 0; member
934 CountValue = Value; in setEdgeCount()
951 uint64_t CountValue = 0; member
965 CountValue = Value; in setBBInfoCount()
997 Total += E->CountValue; in sumEdgeCount()
1139 CountValue = 1; in setInstrumentedCounts()
1626 uint64_t CountValue = 0; in fixFuncEntryCount() local
1631 CountValue = Func.getBBInfo(&BBI).CountValue; in fixFuncEntryCount()
1674 uint64_t CountValue = 0; in verifyFuncBFI() local
1678 CountValue = Func.getBBInfo(&BBI).CountValue; in verifyFuncBFI()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp99 class CountValue;
195 CountValue *getLoopTripCount(MachineLoop *L,
205 CountValue *computeCount(MachineLoop *Loop, const MachineOperand *Start,
313 class CountValue { class
331 explicit CountValue(CountValueType t, unsigned v, unsigned u = 0) { in CountValue() function in __anon2e2dc8d40111::CountValue
566 CountValue *HexagonHardwareLoops::getLoopTripCount(MachineLoop *L, in getLoopTripCount()
725 CountValue *HexagonHardwareLoops::computeCount(MachineLoop *Loop, in computeCount()
817 return new CountValue(CountValue::CV_Immediate, Count); in computeCount()
985 return new CountValue(CountValue::CV_Register, CountR, CountSR); in computeCount()
1200 CountValue *TripCount = getLoopTripCount(L, OldInsts); in convertToHardwareLoop()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfReader.cpp1044 uint64_t CountValue = Counts[I]; in getInstrProfRecord() local
1045 if (CountValue == (uint64_t)-1) in getInstrProfRecord()
1048 if (std::numeric_limits<uint64_t>::max() - CountValue <= ValueSum) in getInstrProfRecord()
1050 ValueSum += CountValue; in getInstrProfRecord()