| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | MemoryProfileInfoTest.cpp | 64 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 D | HotColdSplitting.cpp | 116 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 D | SyntheticCountsPropagation.cpp | 82 } else if (F.hasFnAttribute(Attribute::Cold) || in initializeCounts()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | basic-block-sections-mir-print.ll | 30 ; CHECK: bb.0 (%ir-block.1, bbsections Cold): 31 ; CHECK: bb.3 (%ir-block.9, bbsections Cold):
|
| H A D | dup-cost.ll | 3 ; Cold function, %dup should not be duplicated into predecessors.
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | MemoryProfileInfo.cpp | 40 return AllocationType::Cold; in getAllocType() 69 return AllocationType::Cold; in getMIBAllocType() 78 case AllocationType::Cold: in getAllocTypeAttributeString()
|
| H A D | ModuleSummaryAnalysis.cpp | 131 return CalleeInfo::HotnessType::Cold; in getHotness() 374 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary() 484 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary()
|
| H A D | ProfileSummaryInfo.cpp | 224 if (F->hasFnAttribute(Attribute::Cold)) in isFunctionEntryCold()
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | intrin-properties.td | 2 // 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 D | inline-cold.ll | 3 ; Test that functions with attribute Cold are not inlined while the 4 ; same function without attribute Cold will be inlined.
|
| H A D | inline-cold-callee.ll | 4 ; 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 D | CallingConv.h | 48 Cold = 9, enumerator
|
| H A D | ModuleSummaryIndex.h | 59 Cold = 1, enumerator 109 case CalleeInfo::HotnessType::Cold: in getHotnessName()
|
| /llvm-project-15.0.7/llvm/test/Bitcode/ |
| H A D | thinlto-function-summary-callgraph-sample-profile-summary.ll | 79 br i1 %a, label %Cold, label %Hot, !prof !41 80 Cold: ; 1/1000 goes here
|
| H A D | thinlto-function-summary-callgraph-profile-summary.ll | 90 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 D | MemoryProfileInfo.h | 30 enum class AllocationType : uint8_t { None = 0, NotCold = 1, Cold = 2 }; enumerator
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | ReorderData.cpp | 508 BinarySection &Cold = BC.registerSection( in runOnFunctions() local 518 Entry.second->setSection(Cold); in runOnFunctions() 519 Entry.second->setOutputSection(Cold); in runOnFunctions()
|
| H A D | LongJmp.cpp | 276 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 D | hotness_based_import.ll | 84 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 D | DXILPrepare.cpp | 39 Attribute::Cold, in isValidForDXIL()
|
| /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/ |
| H A D | bfi_verification.ll | 108 ; 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 D | MachineBasicBlock.h | 56 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 D | X86RegisterInfo.cpp | 351 case CallingConv::Cold: in getCalleeSavedRegs() 473 case CallingConv::Cold: in getCallPreservedMask()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | InstructionsTest.cpp | 753 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 D | pragma-attribute-supported-attributes-list.test | 49 // CHECK-NEXT: Cold (SubjectMatchRule_function)
|