Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp147 if (CB->hasFnAttr(Attribute::Cold) && in unlikelyExecuted()
199 if (!F.hasFnAttribute(Attribute::Cold)) { in markFunctionCold()
200 F.addFnAttr(Attribute::Cold); in markFunctionCold()
221 if (F.hasFnAttribute(Attribute::Cold)) in isFunctionCold()
224 if (F.getCallingConv() == CallingConv::Cold) in isFunctionCold()
423 OutF->setCallingConv(CallingConv::Cold); in extractColdRegion()
424 CI->setCallingConv(CallingConv::Cold); in extractColdRegion()
H A DSyntheticCountsPropagation.cpp82 } else if (F.hasFnAttribute(Attribute::Cold) || in initializeCounts()
H A DMemProfContextDisambiguation.cpp310 (uint8_t)AllocationType::Cold | (uint8_t)AllocationType::NotCold; in computeAllocType()
538 AllocType == AllocationType::Cold ? AllocTypeCold++ : AllocTypeNotCold++; in updateAllocationCall()
821 ((uint8_t)AllocationType::NotCold | (uint8_t)AllocationType::Cold)) in allocTypeToUse()
956 (uint8_t)AllocationType::Cold | (uint8_t)AllocationType::NotCold; in computeAllocType()
972 (uint8_t)AllocationType::Cold | (uint8_t)AllocationType::NotCold; in intersectAllocTypesImpl()
1019 if (AllocTypes & (uint8_t)AllocationType::Cold) in getAllocTypeString()
2447 if (AllocTypes == (uint8_t)AllocationType::Cold) in getColor()
2450 ((uint8_t)AllocationType::NotCold | (uint8_t)AllocationType::Cold)) in getColor()
2652 return (AllocType == (uint8_t)AllocationType::Cold) || in checkColdOrNotCold()
2655 ((uint8_t)AllocationType::Cold | (uint8_t)AllocationType::NotCold)); in checkColdOrNotCold()
[all …]
H A DPartialInlining.cpp1143 OutlinedFunc->setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining()
1144 OCS->setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining()
H A DGlobalOpt.cpp1777 cast<CallBase>(U)->setCallingConv(CallingConv::Cold); in changeCallSitesToColdCC()
2007 F.setCallingConv(CallingConv::Cold); in OptimizeFunctions()
H A DFunctionImport.cpp751 if (Hotness == CalleeInfo::HotnessType::Cold) in computeImportForFunction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp58 return AllocationType::Cold; in getAllocType()
94 return AllocationType::Cold; in getMIBAllocType()
112 case AllocationType::Cold: in getAllocTypeAttributeString()
H A DProfileSummaryInfo.cpp99 if (F->hasFnAttribute(Attribute::Cold)) in isFunctionHotnessUnknown()
120 "Cold count threshold cannot exceed hot count threshold!");
H A DModuleSummaryAnalysis.cpp168 return CalleeInfo::HotnessType::Cold; in getHotness()
434 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary()
631 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary()
H A DBranchProbabilityInfo.cpp797 if (CI->hasFnAttr(Attribute::Cold)) in getInitialEstimatedBlockWeight()
H A DInlineCost.cpp1090 if (F.getCallingConv() == CallingConv::Cold) in onAnalysisStart()
1332 (F.getCallingConv() == CallingConv::Cold)); in onAnalysisStart()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DCallingConv.h47 Cold = 9, enumerator
H A DModuleSummaryIndex.h62 Cold = 1, enumerator
122 case CalleeInfo::HotnessType::Cold: in getHotnessName()
358 Cold = 2,
H A DAttributes.td90 def Cold : EnumAttr<"cold", [FnAttr]>;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOForceFunctionAttrs.cpp25 if (F.hasFnAttribute(Attribute::Cold)) in shouldRunOnFunction()
H A DPGOInstrumentation.cpp2158 if (F.hasFnAttribute(Attribute::Cold)) in annotateAllFunctions()
2159 F.removeFnAttr(Attribute::Cold); in annotateAllFunctions()
2242 F->addFnAttr(Attribute::Cold); in annotateAllFunctions()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp45 Attribute::Cold, in isValidForDXIL()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.cpp356 case CallingConv::Cold: in getCalleeSavedRegs()
478 case CallingConv::Cold: in getCallPreservedMask()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp61 case Attribute::Cold: in isUsefullToPreserve()
H A DCodeExtractor.cpp931 case Attribute::Cold: in constructFunction()
H A DSimplifyLibCalls.cpp3135 if (!CI->hasFnAttr(Attribute::Cold) && in optimizeErrorReporting()
3137 CI->addFnAttr(Attribute::Cold); in optimizeErrorReporting()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineBasicBlock.cpp566 case MBBSectionID::SectionType::Cold: in printName()
1785 const MBBSectionID MBBSectionID::ColdSectionID(MBBSectionID::SectionType::Cold);
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h59 Cold, // Special section type for cold blocks enumerator
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.cpp216 if (MF->getFunction().getCallingConv() == CallingConv::Cold) { in getCalleeSavedRegs()
312 if (CC == CallingConv::Cold) { in getCallPreservedMask()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIRegisterInfo.cpp397 case CallingConv::Cold: in getCalleeSavedRegs()
423 case CallingConv::Cold: in getCallPreservedMask()

12