Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp951 uint64_t CountValue = 0; member
958 CountValue = Value; in setEdgeCount()
966 return (Twine(PGOEdge::infoString()) + " Count=" + Twine(CountValue)) in infoString()
975 uint64_t CountValue = 0; member
985 : BBInfo(IX), CountValue(C), CountValid(true) {} in UseBBInfo()
989 CountValue = Value; in setBBInfoCount()
997 return (Twine(BBInfo::infoString()) + " Count=" + Twine(CountValue)).str(); in infoString()
1021 Total += E->CountValue; in sumEdgeCount()
1160 uint64_t CountValue = CountFromProfile[I++]; in setInstrumentedCounts() local
1165 if (InstrBB == FuncEntry && CountValue == 0) in setInstrumentedCounts()
[all …]
/openbsd-src/gnu/llvm/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
333 explicit CountValue(CountValueType t, Register v, unsigned u = 0) { in CountValue() function in __anon3768895b0111::CountValue
569 CountValue *HexagonHardwareLoops::getLoopTripCount(MachineLoop *L, in getLoopTripCount()
729 CountValue *HexagonHardwareLoops::computeCount(MachineLoop *Loop, in computeCount()
821 return new CountValue(CountValue::CV_Immediate, Count); in computeCount()
993 return new CountValue(CountValue::CV_Register, CountR, CountSR); in computeCount()
1208 CountValue *TripCount = getLoopTripCount(L, OldInsts); in convertToHardwareLoop()
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfReader.cpp1111 for (uint64_t CountValue : Counts) { in getInstrProfRecord() local
1112 if (CountValue == (uint64_t)-1) in getInstrProfRecord()
1115 if (std::numeric_limits<uint64_t>::max() - CountValue <= ValueSum) in getInstrProfRecord()
1117 ValueSum += CountValue; in getInstrProfRecord()