Home
last modified time | relevance | path

Searched refs:Cold (Results 1 – 25 of 65) sorted by relevance

123

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemoryProfileInfoTest.cpp64 AllocationType::Cold); in TEST_F()
116 Trie1.addCallStack(AllocationType::Cold, {1, 2}); in TEST_F()
117 Trie1.addCallStack(AllocationType::Cold, {1, 3, 4}); in TEST_F()
159 Trie.addCallStack(AllocationType::Cold, {1, 2}); in TEST_F()
178 EXPECT_EQ(getMIBAllocType(MIB), AllocationType::Cold); in TEST_F()
211 Trie.addCallStack(AllocationType::Cold, {1, 2, 3}); in TEST_F()
212 Trie.addCallStack(AllocationType::Cold, {1, 2, 4}); in TEST_F()
234 EXPECT_EQ(getMIBAllocType(MIB), AllocationType::Cold); in TEST_F()
354 EXPECT_EQ(getMIBAllocType(MIB), AllocationType::Cold); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp116 if (CB->hasFnAttr(Attribute::Cold) && in unlikelyExecuted()
154 if (!F.hasFnAttribute(Attribute::Cold)) { in markFunctionCold()
155 F.addFnAttr(Attribute::Cold); in markFunctionCold()
193 if (F.hasFnAttribute(Attribute::Cold)) in isFunctionCold()
196 if (F.getCallingConv() == CallingConv::Cold) in isFunctionCold()
364 OutF->setCallingConv(CallingConv::Cold); in extractColdRegion()
365 CI->setCallingConv(CallingConv::Cold); in extractColdRegion()
616 bool Cold = (BFI && PSI->isColdBlock(BB, BFI)) || in outlineColdRegions() local
618 if (!Cold) in outlineColdRegions()
H A DSyntheticCountsPropagation.cpp82 } else if (F.hasFnAttribute(Attribute::Cold) || in initializeCounts()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dbasic-block-sections-mir-print.ll30 ; CHECK: bb.0 (%ir-block.1, bbsections Cold):
31 ; CHECK: bb.3 (%ir-block.9, bbsections Cold):
H A Ddup-cost.ll3 ; Cold function, %dup should not be duplicated into predecessors.
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp40 return AllocationType::Cold; in getAllocType()
69 return AllocationType::Cold; in getMIBAllocType()
78 case AllocationType::Cold: in getAllocTypeAttributeString()
H A DModuleSummaryAnalysis.cpp131 return CalleeInfo::HotnessType::Cold; in getHotness()
374 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary()
484 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary()
H A DProfileSummaryInfo.cpp224 if (F->hasFnAttribute(Attribute::Cold)) in isFunctionEntryCold()
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dintrin-properties.td2 // RUN: sed -e 's/<PROP>/Cold/;s/<ATTR>/Cold/' < %s > %t; llvm-tblgen -gen-intrinsic-impl -I %p/../…
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dinline-cold.ll3 ; Test that functions with attribute Cold are not inlined while the
4 ; same function without attribute Cold will be inlined.
H A Dinline-cold-callee.ll4 ; Cold hint and does not get inlined because the cost exceeds the inlinecold-threshold.
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DCallingConv.h48 Cold = 9, enumerator
H A DModuleSummaryIndex.h59 Cold = 1, enumerator
109 case CalleeInfo::HotnessType::Cold: in getHotnessName()
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dthinlto-function-summary-callgraph-sample-profile-summary.ll79 br i1 %a, label %Cold, label %Hot, !prof !41
80 Cold: ; 1/1000 goes here
H A Dthinlto-function-summary-callgraph-profile-summary.ll90 br i1 %a, label %Cold, label %Hot, !prof !41
91 Cold: ; 1/1000 goes here
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h30 enum class AllocationType : uint8_t { None = 0, NotCold = 1, Cold = 2 }; enumerator
/llvm-project-15.0.7/bolt/lib/Passes/
H A DReorderData.cpp508 BinarySection &Cold = BC.registerSection( in runOnFunctions() local
518 Entry.second->setSection(Cold); in runOnFunctions()
519 Entry.second->setOutputSection(Cold); in runOnFunctions()
H A DLongJmp.cpp276 bool Cold = false; in tentativeBBLayout() local
278 if (Cold || BB->isCold()) { in tentativeBBLayout()
279 Cold = true; in tentativeBBLayout()
/llvm-project-15.0.7/llvm/test/Transforms/FunctionImport/
H A Dhotness_based_import.ll84 br i1 %a, label %Cold, label %Hot, !prof !41
85 Cold: ; 1/1000 goes here
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp39 Attribute::Cold, in isValidForDXIL()
/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/
H A Dbfi_verification.ll108 ; HOTONLY-CHECK: remark: <unknown>:0:0: BB if.then25 Count=6013544 BFI_Count=6277124 (raw-Cold to B…
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h56 Cold, // Special section type for cold blocks enumerator
601 return ((unsigned)MBBSectionID::SectionType::Cold) -
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86RegisterInfo.cpp351 case CallingConv::Cold: in getCalleeSavedRegs()
473 case CallingConv::Cold: in getCallPreservedMask()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DInstructionsTest.cpp753 AB.addAttribute(Attribute::Cold); in TEST()
763 EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold)); in TEST()
782 AB.addAttribute(Attribute::Cold); in TEST()
795 EXPECT_TRUE(Clone->hasFnAttr(Attribute::AttrKind::Cold)); in TEST()
/llvm-project-15.0.7/clang/test/Misc/
H A Dpragma-attribute-supported-attributes-list.test49 // CHECK-NEXT: Cold (SubjectMatchRule_function)

123