Home
last modified time | relevance | path

Searched refs:ProfileCount (Results 1 – 25 of 31) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DMisExpect.cpp124 const uint64_t ProfileCount = Weights[Index]; in verifyMisExpect() local
138 LLVM_DEBUG(llvm::dbgs() << "Profile Count: " << ProfileCount << ":\n"); in verifyMisExpect()
142 if (ProfileCount < ScaledThreshold) in verifyMisExpect()
143 emitMisexpectDiagnostic(I, Ctx, ProfileCount, CaseTotal); in verifyMisExpect()
DFunctionImportUtils.cpp207 F->setEntryCount(Function::ProfileCount(FS->entryCount(), in processGlobalForThinLTO()
DCodeExtractor.cpp72 using ProfileCount = Function::ProfileCount; typedef
1521 ProfileCount(Count.getValue(), Function::PCT_Real)); // FIXME in extractCodeRegion()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DFunction.h260 class ProfileCount {
264 static ProfileCount Invalid;
267 ProfileCount() : Count(-1), PCT(PCT_Invalid) {} in ProfileCount() function
268 ProfileCount(uint64_t Count, ProfileCountType PCT) in ProfileCount() function
277 ProfileCount &setCount(uint64_t C) { in setCount()
281 static ProfileCount getInvalid() { return ProfileCount(-1, PCT_Invalid); } in getInvalid()
290 void setEntryCount(ProfileCount Count,
301 ProfileCount getEntryCount(bool AllowSynthetic = false) const;
/external/llvm-project/llvm/include/llvm/IR/
DFunction.h282 class ProfileCount {
286 static ProfileCount Invalid;
289 ProfileCount() : Count(-1), PCT(PCT_Invalid) {} in ProfileCount() function
290 ProfileCount(uint64_t Count, ProfileCountType PCT) in ProfileCount() function
299 ProfileCount &setCount(uint64_t C) { in setCount()
303 static ProfileCount getInvalid() { return ProfileCount(-1, PCT_Invalid); } in getInvalid()
312 void setEntryCount(ProfileCount Count,
323 ProfileCount getEntryCount(bool AllowSynthetic = false) const;
/external/llvm/include/llvm/IR/
DModuleSummaryIndex.h37 uint64_t ProfileCount; member
38 CalleeInfo() : CallsiteCount(0), ProfileCount(0) {} in CalleeInfo()
39 CalleeInfo(unsigned CallsiteCount, uint64_t ProfileCount) in CalleeInfo()
40 : CallsiteCount(CallsiteCount), ProfileCount(ProfileCount) {} in CalleeInfo()
43 ProfileCount += RHSProfileCount;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSyntheticCountsPropagation.cpp44 using ProfileCount = Function::ProfileCount; typedef
141 Entry.first->setEntryCount(ProfileCount( in run()
DSampleProfile.cpp96 using ProfileCount = Function::ProfileCount; typedef
1725 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real), in emitAnnotations()
1941 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
/external/llvm-project/llvm/lib/Transforms/IPO/
DSyntheticCountsPropagation.cpp43 using ProfileCount = Function::ProfileCount; typedef
139 Entry.first->setEntryCount(ProfileCount( in run()
DSampleProfile.cpp98 using ProfileCount = Function::ProfileCount; typedef
1784 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real), in emitAnnotations()
2039 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DFunction.cpp69 using ProfileCount = Function::ProfileCount; typedef
1548 void Function::setEntryCount(ProfileCount Count, in setEntryCount()
1568 setEntryCount(ProfileCount(Count, Type), Imports); in setEntryCount()
1571 ProfileCount Function::getEntryCount(bool AllowSynthetic) const { in getEntryCount()
1581 return ProfileCount::getInvalid(); in getEntryCount()
1582 return ProfileCount(Count, PCT_Real); in getEntryCount()
1587 return ProfileCount(Count, PCT_Synthetic); in getEntryCount()
1590 return ProfileCount::getInvalid(); in getEntryCount()
/external/llvm-project/llvm/lib/IR/
DFunction.cpp71 using ProfileCount = Function::ProfileCount; typedef
1690 void Function::setEntryCount(ProfileCount Count, in setEntryCount()
1710 setEntryCount(ProfileCount(Count, Type), Imports); in setEntryCount()
1713 ProfileCount Function::getEntryCount(bool AllowSynthetic) const { in getEntryCount()
1723 return ProfileCount::getInvalid(); in getEntryCount()
1724 return ProfileCount(Count, PCT_Real); in getEntryCount()
1729 return ProfileCount(Count, PCT_Synthetic); in getEntryCount()
1732 return ProfileCount::getInvalid(); in getEntryCount()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DShaderLang.cpp178 const int ProfileCount = 4; // index range in MapProfileToIndex variable
192 assert(index < ProfileCount); in MapProfileToIndex()
229 TSymbolTable* CommonSymbolTable[VersionCount][SpvVersionCount][ProfileCount][SourceCount][EPcCount]…
230 TSymbolTable* SharedSymbolTables[VersionCount][SpvVersionCount][ProfileCount][SourceCount][EShLangC…
1414 for (int p = 0; p < ProfileCount; ++p) { in ShFinalize()
1427 for (int p = 0; p < ProfileCount; ++p) { in ShFinalize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp126 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() argument
130 if (PSI->isHotCount(ProfileCount)) in getHotness()
132 if (PSI->isColdCount(ProfileCount)) in getHotness()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DShaderLang.cpp182 const int ProfileCount = 4; // index range in MapProfileToIndex variable
196 assert(index < ProfileCount); in MapProfileToIndex()
233 TSymbolTable* CommonSymbolTable[VersionCount][SpvVersionCount][ProfileCount][SourceCount][EPcCount]…
234 TSymbolTable* SharedSymbolTables[VersionCount][SpvVersionCount][ProfileCount][SourceCount][EShLangC…
1424 for (int p = 0; p < ProfileCount; ++p) { in ShFinalize()
1437 for (int p = 0; p < ProfileCount; ++p) { in ShFinalize()
/external/llvm-project/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp207 F->setEntryCount(Function::ProfileCount(FS->entryCount(), in processGlobalForThinLTO()
DCodeExtractor.cpp75 using ProfileCount = Function::ProfileCount; typedef
1708 ProfileCount(Count.getValue(), Function::PCT_Real)); // FIXME in extractCodeRegion()
/external/llvm-project/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp126 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() argument
130 if (PSI->isHotCount(ProfileCount)) in getHotness()
132 if (PSI->isColdCount(ProfileCount)) in getHotness()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DControlHeightReduction.cpp385 uint64_t ProfileCount);
1698 Optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes() local
1751 ProfileCount ? ProfileCount.getValue() : 0); in transformScopes()
1839 uint64_t ProfileCount) { in fixupBranchesAndSelects() argument
1856 Stats.WeightedNumBranchesDelta += (NumCHRedBranches - 1) * ProfileCount; in fixupBranchesAndSelects()
DPGOInstrumentation.cpp124 using ProfileCount = Function::ProfileCount; typedef
1371 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters()
1693 F.setEntryCount(ProfileCount(0, Function::PCT_Real)); in annotateAllFunctions()
1703 ProfileCount(HotThreshold * MultiplyFactor, Function::PCT_Real)); in annotateAllFunctions()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DControlHeightReduction.cpp389 uint64_t ProfileCount);
1709 Optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes() local
1762 ProfileCount ? ProfileCount.getValue() : 0); in transformScopes()
1850 uint64_t ProfileCount) { in fixupBranchesAndSelects() argument
1867 Stats.WeightedNumBranchesDelta += (NumCHRedBranches - 1) * ProfileCount; in fixupBranchesAndSelects()
DPGOInstrumentation.cpp124 using ProfileCount = Function::ProfileCount; typedef
1271 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters()
1578 F.setEntryCount(ProfileCount(0, Function::PCT_Real)); in annotateAllFunctions()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h1346 if (Optional<uint64_t> ProfileCount =
1349 OS << ", count = " << ProfileCount.getValue();
/external/dng_sdk/source/
Ddng_negative.cpp1236 uint32 dng_negative::ProfileCount () const in ProfileCount() function in dng_negative
1248 DNG_ASSERT (index < ProfileCount (), in ProfileByIndex()
1266 uint32 profileCount = ProfileCount (); in ProfileByID()
1411 uint32 count = ProfileCount (); in ComputeCameraProfileToEmbed()
/external/llvm-project/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h1407 if (Optional<uint64_t> ProfileCount =
1410 OS << ", count = " << ProfileCount.getValue();

12