/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | HotColdSplitting.cpp | 147 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 D | SyntheticCountsPropagation.cpp | 82 } else if (F.hasFnAttribute(Attribute::Cold) || in initializeCounts()
|
H A D | MemProfContextDisambiguation.cpp | 310 (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 D | PartialInlining.cpp | 1143 OutlinedFunc->setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining() 1144 OCS->setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining()
|
H A D | GlobalOpt.cpp | 1777 cast<CallBase>(U)->setCallingConv(CallingConv::Cold); in changeCallSitesToColdCC() 2007 F.setCallingConv(CallingConv::Cold); in OptimizeFunctions()
|
H A D | FunctionImport.cpp | 751 if (Hotness == CalleeInfo::HotnessType::Cold) in computeImportForFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryProfileInfo.cpp | 58 return AllocationType::Cold; in getAllocType() 94 return AllocationType::Cold; in getMIBAllocType() 112 case AllocationType::Cold: in getAllocTypeAttributeString()
|
H A D | ProfileSummaryInfo.cpp | 99 if (F->hasFnAttribute(Attribute::Cold)) in isFunctionHotnessUnknown() 120 "Cold count threshold cannot exceed hot count threshold!");
|
H A D | ModuleSummaryAnalysis.cpp | 168 return CalleeInfo::HotnessType::Cold; in getHotness() 434 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary() 631 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary()
|
H A D | BranchProbabilityInfo.cpp | 797 if (CI->hasFnAttr(Attribute::Cold)) in getInitialEstimatedBlockWeight()
|
H A D | InlineCost.cpp | 1090 if (F.getCallingConv() == CallingConv::Cold) in onAnalysisStart() 1332 (F.getCallingConv() == CallingConv::Cold)); in onAnalysisStart()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | CallingConv.h | 47 Cold = 9, enumerator
|
H A D | ModuleSummaryIndex.h | 62 Cold = 1, enumerator 122 case CalleeInfo::HotnessType::Cold: in getHotnessName() 358 Cold = 2,
|
H A D | Attributes.td | 90 def Cold : EnumAttr<"cold", [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 | PGOInstrumentation.cpp | 2158 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 D | DXILPrepare.cpp | 45 Attribute::Cold, in isValidForDXIL()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86RegisterInfo.cpp | 356 case CallingConv::Cold: in getCalleeSavedRegs() 478 case CallingConv::Cold: in getCallPreservedMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | AssumeBundleBuilder.cpp | 61 case Attribute::Cold: in isUsefullToPreserve()
|
H A D | CodeExtractor.cpp | 931 case Attribute::Cold: in constructFunction()
|
H A D | SimplifyLibCalls.cpp | 3135 if (!CI->hasFnAttr(Attribute::Cold) && in optimizeErrorReporting() 3137 CI->addFnAttr(Attribute::Cold); in optimizeErrorReporting()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineBasicBlock.cpp | 566 case MBBSectionID::SectionType::Cold: in printName() 1785 const MBBSectionID MBBSectionID::ColdSectionID(MBBSectionID::SectionType::Cold);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineBasicBlock.h | 59 Cold, // Special section type for cold blocks enumerator
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCRegisterInfo.cpp | 216 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 D | SIRegisterInfo.cpp | 397 case CallingConv::Cold: in getCalleeSavedRegs() 423 case CallingConv::Cold: in getCallPreservedMask()
|