LLVM: llvm::TemporalProfTraceTy Struct Reference (original) (raw)

An ordered list of functions identified by their NameRef found in INSTR_PROF_DATA. More...

#include "[llvm/ProfileData/InstrProf.h](InstrProf%5F8h%5Fsource.html)"

An ordered list of functions identified by their NameRef found in INSTR_PROF_DATA.

Definition at line 429 of file InstrProf.h.

llvm::TemporalProfTraceTy::TemporalProfTraceTy ( std::initializer_list< uint64_t > Trace = {}, uint64_t Weight = 1 ) inline

createBPFunctionNodes()

Use a set of temporal profile traces to create a list of balanced partitioning function nodes used by BalancedPartitioning to generate a function order that reduces page faults during startup.

Definition at line 1071 of file InstrProf.cpp.

References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::clear(), llvm::erase_if(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::size(), llvm::Trace::size(), llvm::sort(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::try_emplace().

FunctionNameRefs

std::vector<uint64_t> llvm::TemporalProfTraceTy::FunctionNameRefs

Weight

uint64_t llvm::TemporalProfTraceTy::Weight


The documentation for this struct was generated from the following files: