HomeSort by: relevance | last modified time | path
    Searched refs:Cold (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
CallingConv.h 44 // Cold - This calling convention attempts to make code in the caller as
48 Cold = 9,
ModuleSummaryIndex.h 58 Cold = 1,
108 case CalleeInfo::HotnessType::Cold:
109 return "cold";
516 /// Types for -force-summary-edges-cold debugging option.
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
HotColdSplitting.cpp 1 //===- HotColdSplitting.cpp -- Outline Cold Regions -------------*- C++ -*-===//
10 /// The goal of hot/cold splitting is to improve the memory locality of code.
11 /// The splitting pass does this by identifying cold blocks and moving them into
14 /// When the splitting pass finds a cold block (referred to as "the sink"), it
15 /// grows a maximal cold region around that block. The maximal region contains
17 /// cold as the sink. Once a region is found, it's split out of the original
76 STATISTIC(NumColdRegionsFound, "Number of cold regions found.");
77 STATISTIC(NumColdRegionsOutlined, "Number of cold regions outlined.");
81 static cl::opt<bool> EnableStaticAnalysis("hot-cold-static-analysis",
86 cl::desc("Base penalty for splitting cold code (as a
    [all...]
SyntheticCountsPropagation.cpp 59 /// Initial synthetic count assigned to cold functions.
61 "cold-synthetic-count", cl::Hidden, cl::init(5), cl::ZeroOrMore,
62 cl::desc("Initial synthetic entry count for cold functions."));
88 } else if (F.hasFnAttribute(Attribute::Cold) ||
90 // Use a lower value for noinline and cold functions.
ForceFunctionAttrs.cpp 40 .Case("cold", Attribute::Cold)
PartialInlining.cpp 71 "cold outlined regions were partially "
74 "Number of cold single entry/exit regions found.");
76 "Number of cold single entry/exit regions outlined.");
94 // Command line option to enable marking outline functions with Cold Calling
105 // Used to determine if a cold region is worth outlining based on
107 // ie. if the cold region reduces the inlining cost of the original function by
114 // block to the cold edge. ie. confidence interval.
119 // Used to determine when an edge is considered cold. Default is set to 10%. ie.
120 // if the branch probability is 10% or less, then it is deemed as 'cold'.
122 "cold-branch-ratio", cl::init(0.1), cl::Hidden
    [all...]
GlobalOpt.cpp 105 "entry frequency, for a call site to be considered cold for enabling"
1702 // This function checks if the input function F is cold at all call sites. It
1704 // caller function contains other non cold calls. The input vector AllCallsCold
1705 // contains a list of functions that only have call sites in cold blocks.
1733 cast<CallBase>(U)->setCallingConv(CallingConv::Cold);
1738 // and checks that all call sites are in cold blocks and are allowed to use the
1964 // cold at all call sites and the callers contain no other non coldcc
1969 F->setCallingConv(CallingConv::Cold);
FunctionImport.cpp 117 "import-cold-multiplier", cl::init(0), cl::Hidden, cl::value_desc("N"),
118 cl::desc("Multiply the `import-instr-limit` threshold for cold callsites"));
418 if (Hotness == CalleeInfo::HotnessType::Cold)
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ProfileSummaryInfo.cpp 138 /// Returns true if the function only contains cold code. This means that
139 /// the function entry and blocks are all cold, and (in the case of Sample PGO)
140 /// the total call edge count is cold.
141 /// If it returns false, it either means it is not cold or it is unknown
219 /// Returns true if the function's entry is a cold. If it returns false, it
220 /// either means it is not cold or it is unknown whether it is cold or not (for
225 if (F->hasFnAttribute(Attribute::Cold))
236 /// Compute the hot and cold thresholds.
246 "Cold count threshold cannot exceed hot count threshold!")
    [all...]
ModuleSummaryAnalysis.cpp 63 // Option to force edges cold which will block importing when the
64 // -import-cold-multiplier is set to 0. Useful for debugging.
68 "force-summary-edges-cold", cl::Hidden, cl::location(ForceSummaryEdgesCold),
69 cl::desc("Force all edges in the function summary to cold"),
132 return CalleeInfo::HotnessType::Cold;
343 Hotness = CalleeInfo::HotnessType::Cold;
451 ? CalleeInfo::HotnessType::Cold
BranchProbabilityInfo.cpp 136 /// Weight to a 'cold' block. Cold blocks are the ones containing calls marked
137 /// with attribute 'cold'.
138 COLD = 0xffff,
652 // "unwind" block may also contain "cold" call. In that case the first
746 // Check if the block contains 'cold' call.
749 if (CI->hasFnAttr(Attribute::Cold))
750 return static_cast<uint32_t>(BlockExecWeight::COLD);
756 // 'unreachable', 'noreturn', 'cold', 'unwind' blocks. In addition it does its
InlineCost.cpp 70 ColdCallSiteThreshold("inline-cold-callsite-threshold", cl::Hidden,
72 cl::desc("Threshold for inlining cold callsites"));
93 cl::desc("Threshold for inlining functions with cold attribute"));
105 "cold-callsite-rel-freq", cl::Hidden, cl::init(2), cl::ZeroOrMore,
107 "entry frequency, for a callsite to be cold in the absence of "
487 // The static size of live but cold basic blocks. This is "static" in the
504 /// Return true if \p Call is a cold callsite.
635 // Keep track of the static size of live but cold basic blocks. For now,
636 // we define a cold basic block to be one that's never executed.
784 // Remove the cost of the cold basic blocks
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
MachineBasicBlock.h 51 // {Type: Cold, Number: 0} (ColdSectionID)
57 Cold, // Special section type for cold blocks
63 // Special unique sections for cold and exception blocks.
74 // This is only used to construct the special cold and exception sections.
578 return ((unsigned)MBBSectionID::SectionType::Cold) -
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86RegisterInfo.cpp 349 case CallingConv::Cold:
471 case CallingConv::Cold:
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
AssumeBundleBuilder.cpp 61 case Attribute::Cold:
CodeExtractor.cpp 944 case Attribute::Cold:
SimplifyLibCalls.cpp 2323 // Error reporting calls should be cold, mark them as such.
2331 if (!CI->hasFnAttr(Attribute::Cold) &&
2333 CI->addAttribute(AttributeList::FunctionIndex, Attribute::Cold);
2346 // These functions might be considered cold, but only if their stream
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineBasicBlock.cpp 71 Suffix += ".cold";
537 case MBBSectionID::SectionType::Cold:
538 os << "Cold";
1650 const MBBSectionID MBBSectionID::ColdSectionID(MBBSectionID::SectionType::Cold);
CodeGenPrepare.cpp 178 cl::desc("Use profile info to add section prefix for hot/cold functions"));
184 "profile, we cannot tell the function is cold for sure because "
479 // counts based hotness overwrite the cold attribute.
485 // into unlikely section if (1) PSI shows this is a cold function, or
486 // (2) the function has a attribute of cold.
488 F.hasFnAttribute(Attribute::Cold))
2152 // If we have a cold call site, try to sink addressing computation into the
2153 // cold block. This interacts with our handling for loads and stores to
2156 if (CI->hasFnAttr(Attribute::Cold) &&
4910 if (CI->hasFnAttr(Attribute::Cold)) {
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCRegisterInfo.cpp 185 // Cold calling convention CSRs.
186 if (MF->getFunction().getCallingConv() == CallingConv::Cold) {
188 report_fatal_error("Cold calling unimplemented on AIX.");
254 if (CC == CallingConv::Cold) {
  /src/external/apache2/llvm/dist/libcxx/benchmarks/
string.bench.cpp 487 enum class Temperature { Hot, Cold };
489 static constexpr const char* Names[] = {"Hot", "Cold"};
519 // data is cold.
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIRegisterInfo.cpp 350 case CallingConv::Cold:
373 case CallingConv::Cold:
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Attributes.cpp 487 if (hasAttribute(Attribute::Cold))
488 return "cold";
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
PGOInstrumentation.cpp 262 "becomes non-hot, or a cold raw profile count becomes hot. "
1154 // Set the hot/cold inline hints based on the count values.
1756 Msg = "raw-Cold to BFI-Hot";
1833 // function should be marked with a cold or inlinehint attribute).
1955 " the profile is cold");
1960 F->addFnAttr(Attribute::Cold);
1961 LLVM_DEBUG(dbgs() << "Set cold attribute to function: " << F->getName()
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
RewriteStatepointsForGC.cpp 1442 Reloc->setCallingConv(CallingConv::Cold);

Completed in 57 milliseconds

1 2