Home
last modified time | relevance | path

Searched refs:MaxFunctionCount (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/ProfileData/
DInstrProfWriter.h33 uint64_t MaxFunctionCount; variable
36 InstrProfWriter() : MaxFunctionCount(0) {} in InstrProfWriter()
DInstrProfReader.h340 uint64_t MaxFunctionCount; variable
368 uint64_t getMaximumFunctionCount() { return MaxFunctionCount; } in getMaximumFunctionCount()
DInstrProf.h523 uint64_t MaxFunctionCount; member
/external/llvm/lib/ProfileData/
DInstrProfWriter.cpp130 if (Dest.Counts[0] > MaxFunctionCount) in addRecord()
131 MaxFunctionCount = Dest.Counts[0]; in addRecord()
150 Header.MaxFunctionCount = MaxFunctionCount; in writeImpl()
DInstrProfReader.cpp579 MaxFunctionCount = in readHeader()
580 endian::byte_swap<uint64_t, little>(Header->MaxFunctionCount); in readHeader()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp260 uint64_t MaxFunctionCount = 0, MaxBlockCount = 0; in showInstrProfile() local
277 if (Func.Counts[0] > MaxFunctionCount) in showInstrProfile()
278 MaxFunctionCount = Func.Counts[0]; in showInstrProfile()
336 OS << "Maximum function count: " << MaxFunctionCount << "\n"; in showInstrProfile()
/external/llvm/lib/Transforms/IPO/
DInliner.cpp300 uint64_t FunctionCount = 0, MaxFunctionCount = 0; in getInlineThreshold() local
306 MaxFunctionCount = in getInlineThreshold()
316 FunctionCount >= (uint64_t)(0.3 * (double)MaxFunctionCount)); in getInlineThreshold()
326 FunctionCount <= (uint64_t)(0.01 * (double)MaxFunctionCount)); in getInlineThreshold()
/external/llvm/test/Transforms/Inline/
Dinline-hot-callee.ll36 !0 = !{i32 1, !"MaxFunctionCount", i32 10}
Dinline-cold-callee.ll36 !0 = !{i32 1, !"MaxFunctionCount", i32 1000}
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp724 uint64_t MaxFunctionCount = PGOReader->getMaximumFunctionCount(); in applyFunctionAttributes() local
726 if (FunctionCount >= (uint64_t)(0.3 * (double)MaxFunctionCount)) in applyFunctionAttributes()
730 else if (FunctionCount <= (uint64_t)(0.01 * (double)MaxFunctionCount)) in applyFunctionAttributes()