| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryProfileInfo.cpp | 94 return AllocationType::Cold; in getMIBAllocType() 106 case AllocationType::Cold: in getAllocTypeAttributeString() 208 if (AllocType == AllocationType::Cold) { in createMIBNode() 292 if (getMIBAllocType(MIBMD) == AllocationType::Cold) in saveFilteredNewMIBNodes() 338 if (getMIBAllocType(MIBMD) == AllocationType::Cold) in saveFilteredNewMIBNodes() 353 if (getMIBAllocType(MIBMD) != AllocationType::Cold) { in saveFilteredNewMIBNodes()
|
| H A D | ProfileSummaryInfo.cpp | 104 if (F->hasFnAttribute(Attribute::Cold)) in isFunctionEntryCold()
|
| H A D | ModuleSummaryAnalysis.cpp | 174 return CalleeInfo::HotnessType::Cold; in getHotness() 447 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary() 680 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary()
|
| H A D | BranchProbabilityInfo.cpp | 792 if (CI->hasFnAttr(Attribute::Cold)) in getInitialEstimatedBlockWeight()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | HotColdSplitting.cpp | 146 if (CB->hasFnAttr(Attribute::Cold) && in unlikelyExecuted() 198 if (!F.hasFnAttribute(Attribute::Cold)) { in markFunctionCold() 199 F.addFnAttr(Attribute::Cold); in markFunctionCold() 220 if (F.hasFnAttribute(Attribute::Cold)) in isFunctionCold() 223 if (F.getCallingConv() == CallingConv::Cold) in isFunctionCold() 422 OutF->setCallingConv(CallingConv::Cold); in extractColdRegion() 423 CI->setCallingConv(CallingConv::Cold); in extractColdRegion()
|
| H A D | MemProfContextDisambiguation.cpp | 391 (uint8_t)AllocationType::Cold | (uint8_t)AllocationType::NotCold; in computeAllocType() 714 AllocType == AllocationType::Cold ? AllocTypeCold++ : AllocTypeNotCold++; in updateAllocationCall() 1040 ((uint8_t)AllocationType::NotCold | (uint8_t)AllocationType::Cold)) in allocTypeToUse() 1266 (uint8_t)AllocationType::Cold | (uint8_t)AllocationType::NotCold; in computeAllocType() 1283 (uint8_t)AllocationType::Cold | (uint8_t)AllocationType::NotCold; in intersectAllocTypesImpl() 1328 if (AllocTypes & (uint8_t)AllocationType::Cold) in getAllocTypeString() 3245 if (AllocTypes == (uint8_t)AllocationType::Cold) in getColor() 3248 ((uint8_t)AllocationType::NotCold | (uint8_t)AllocationType::Cold)) in getColor() 3623 return (AllocType == (uint8_t)AllocationType::Cold) || in checkColdOrNotCold() 3626 ((uint8_t)AllocationType::Cold | (uint8_t)AllocationType::NotCold)); in checkColdOrNotCold() [all …]
|
| H A D | FunctionAttrs.cpp | 2136 return CB->hasFnAttr(Attribute::Cold); in allPathsGoThroughCold() 2173 F->hasFnAttribute(Attribute::Cold) || F->hasFnAttribute(Attribute::Hot)) in addColdAttrs() 2178 F->addFnAttr(Attribute::Cold); in addColdAttrs()
|
| H A D | PartialInlining.cpp | 1135 OutlinedFunc->setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining() 1136 OCS->setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining()
|
| H A D | GlobalOpt.cpp | 1785 cast<CallBase>(U)->setCallingConv(CallingConv::Cold); in changeCallSitesToColdCC() 2009 F.setCallingConv(CallingConv::Cold); in OptimizeFunctions()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StaticDataSplitter.cpp | 193 Hotness = MachineFunctionDataHotness::Cold; in partitionStaticDataWithProfiles() 232 assert(JumpTable.Hotness == MachineFunctionDataHotness::Cold && in updateStatsWithProfiles()
|
| H A D | MachineBasicBlock.cpp | 566 case MBBSectionID::SectionType::Cold: in printName() 1808 const MBBSectionID MBBSectionID::ColdSectionID(MBBSectionID::SectionType::Cold);
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | MemProfSummaryBuilder.cpp | 35 case AllocationType::Cold: in addRecord()
|
| H A D | MemProfCommon.cpp | 61 return AllocationType::Cold; in getAllocType()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | CallingConv.h | 47 Cold = 9, enumerator
|
| H A D | ModuleSummaryIndex.h | 65 Cold = 1, enumerator 126 case CalleeInfo::HotnessType::Cold: in getHotnessName() 361 Cold = 2,
|
| H A D | Attributes.td | 115 def Cold : EnumAttr<"cold", IntersectAnd, [FnAttr]>;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOForceFunctionAttrs.cpp | 25 if (F.hasFnAttribute(Attribute::Cold)) in shouldRunOnFunction()
|
| H A D | MemProfUse.cpp | 575 if (AllocType == AllocationType::Cold) in readMemprof() 592 AllocTrie.addSingleAllocTypeAttribute(CI, AllocationType::Cold, in readMemprof()
|
| H A D | PGOInstrumentation.cpp | 2269 if (F.hasFnAttribute(Attribute::Cold)) in annotateAllFunctions() 2270 F.removeFnAttr(Attribute::Cold); in annotateAllFunctions() 2353 F->addFnAttr(Attribute::Cold); in annotateAllFunctions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 47 Attribute::Cold, in isValidForDXIL()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86RegisterInfo.cpp | 355 case CallingConv::Cold: in getCalleeSavedRegs() 482 case CallingConv::Cold: in getCallPreservedMask()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | AssumeBundleBuilder.cpp | 62 case Attribute::Cold: in isUsefullToPreserve()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCRegisterInfo.cpp | 214 if (MF->getFunction().getCallingConv() == CallingConv::Cold) { in getCalleeSavedRegs() 310 if (CC == CallingConv::Cold) { in getCallPreservedMask()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineBasicBlock.h | 63 Cold, // Special section type for cold blocks enumerator
|
| H A D | MachineFunction.h | 96 Cold,
|