Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp94 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 DProfileSummaryInfo.cpp104 if (F->hasFnAttribute(Attribute::Cold)) in isFunctionEntryCold()
H A DModuleSummaryAnalysis.cpp174 return CalleeInfo::HotnessType::Cold; in getHotness()
447 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary()
680 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary()
H A DBranchProbabilityInfo.cpp792 if (CI->hasFnAttr(Attribute::Cold)) in getInitialEstimatedBlockWeight()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp146 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 DMemProfContextDisambiguation.cpp391 (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 DFunctionAttrs.cpp2136 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 DPartialInlining.cpp1135 OutlinedFunc->setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining()
1136 OCS->setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining()
H A DGlobalOpt.cpp1785 cast<CallBase>(U)->setCallingConv(CallingConv::Cold); in changeCallSitesToColdCC()
2009 F.setCallingConv(CallingConv::Cold); in OptimizeFunctions()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DStaticDataSplitter.cpp193 Hotness = MachineFunctionDataHotness::Cold; in partitionStaticDataWithProfiles()
232 assert(JumpTable.Hotness == MachineFunctionDataHotness::Cold && in updateStatsWithProfiles()
H A DMachineBasicBlock.cpp566 case MBBSectionID::SectionType::Cold: in printName()
1808 const MBBSectionID MBBSectionID::ColdSectionID(MBBSectionID::SectionType::Cold);
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DMemProfSummaryBuilder.cpp35 case AllocationType::Cold: in addRecord()
H A DMemProfCommon.cpp61 return AllocationType::Cold; in getAllocType()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DCallingConv.h47 Cold = 9, enumerator
H A DModuleSummaryIndex.h65 Cold = 1, enumerator
126 case CalleeInfo::HotnessType::Cold: in getHotnessName()
361 Cold = 2,
H A DAttributes.td115 def Cold : EnumAttr<"cold", IntersectAnd, [FnAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOForceFunctionAttrs.cpp25 if (F.hasFnAttribute(Attribute::Cold)) in shouldRunOnFunction()
H A DMemProfUse.cpp575 if (AllocType == AllocationType::Cold) in readMemprof()
592 AllocTrie.addSingleAllocTypeAttribute(CI, AllocationType::Cold, in readMemprof()
H A DPGOInstrumentation.cpp2269 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 DDXILPrepare.cpp47 Attribute::Cold, in isValidForDXIL()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.cpp355 case CallingConv::Cold: in getCalleeSavedRegs()
482 case CallingConv::Cold: in getCallPreservedMask()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp62 case Attribute::Cold: in isUsefullToPreserve()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.cpp214 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 DMachineBasicBlock.h63 Cold, // Special section type for cold blocks enumerator
H A DMachineFunction.h96 Cold,

123