Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterInfo.cpp59 case CallingConv::Cold: in getCalleeSavedRegs()
79 case CallingConv::Cold: in getCallPreservedMask()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DHotColdSplitting.cpp110 if (CS.hasFnAttr(Attribute::Cold)) in unlikelyExecuted()
228 if (F.getCallingConv() == CallingConv::Cold) in shouldOutlineFrom()
267 OutF->setCallingConv(CallingConv::Cold); in extractColdRegion()
268 CS.setCallingConv(CallingConv::Cold); in extractColdRegion()
492 bool Cold = PSI.isColdBlock(BB, BFI) || in outlineColdRegions() local
494 if (!Cold) in outlineColdRegions()
H A DSyntheticCountsPropagation.cpp89 } else if (F.hasFnAttribute(Attribute::Cold) || in initializeCounts()
H A DForceFunctionAttrs.cpp32 .Case("cold", Attribute::Cold) in parseAttrKind()
H A DPartialInlining.cpp1144 OutlinedFunc->setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining()
1145 OCS.setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining()
H A DFunctionImport.cpp381 if (Hotness == CalleeInfo::HotnessType::Cold) in computeImportForFunction()
H A DGlobalOpt.cpp2189 CS.setCallingConv(CallingConv::Cold); in changeCallSitesToColdCC()
2294 F->setCallingConv(CallingConv::Cold); in OptimizeFunctions()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DCallingConv.h49 Cold = 9, enumerator
H A DModuleSummaryIndex.h57 Cold = 1, enumerator
107 case CalleeInfo::HotnessType::Cold: in getHotnessName()
H A DAttributes.td37 def Cold : EnumAttr<"cold">;
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp128 return CalleeInfo::HotnessType::Cold; in getHotness()
313 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary()
383 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary()
H A DProfileSummaryInfo.cpp189 if (F->hasFnAttribute(Attribute::Cold)) in isFunctionEntryCold()
H A DBranchProbabilityInfo.cpp194 if (CI->hasFnAttr(Attribute::Cold)) { in updatePostDominatedByColdCall()
H A DInlineCost.cpp1752 if (F.getCallingConv() == CallingConv::Cold) in analyzeCall()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86RegisterInfo.cpp329 case CallingConv::Cold: in getCalleeSavedRegs()
443 case CallingConv::Cold: in getCallPreservedMask()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.cpp162 if (MF->getFunction().getCallingConv() == CallingConv::Cold) { in getCalleeSavedRegs()
225 if (CC == CallingConv::Cold) { in getCallPreservedMask()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp801 case Attribute::Cold: in constructFunction()
H A DSimplifyLibCalls.cpp1935 if (!CI->hasFnAttr(Attribute::Cold) && in optimizeErrorReporting()
1937 CI->addAttribute(AttributeList::FunctionIndex, Attribute::Cold); in optimizeErrorReporting()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp594 CallConv == CallingConv::Cold || in CallingConvSupported()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DAttributes.cpp352 if (hasAttribute(Attribute::Cold)) in getAsString()
H A DVerifier.cpp1507 case Attribute::Cold: in isFuncOnlyAttr()
2163 case CallingConv::Cold: in visitFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1540 F->addFnAttr(Attribute::Cold); in annotateAllFunctions()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1329 Reloc->setCallingConv(CallingConv::Cold); in CreateGCRelocates()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp1234 case lltok::kw_cold: B.addAttribute(Attribute::Cold); break; in ParseFnAttributeValuePairs()
1912 case lltok::kw_coldcc: CC = CallingConv::Cold; break; in ParseOptionalCallingConv()
7979 Hotness = CalleeInfo::HotnessType::Cold; in ParseHotness()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1695 if (!OptSize && CI->hasFnAttr(Attribute::Cold)) in optimizeCallInst()
4313 if (!OptSize && CI->hasFnAttr(Attribute::Cold)) in FindAllMemoryUses()

12