| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegisterInfo.cpp | 59 case CallingConv::Cold: in getCalleeSavedRegs() 79 case CallingConv::Cold: in getCallPreservedMask()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | HotColdSplitting.cpp | 110 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 D | SyntheticCountsPropagation.cpp | 89 } else if (F.hasFnAttribute(Attribute::Cold) || in initializeCounts()
|
| H A D | ForceFunctionAttrs.cpp | 32 .Case("cold", Attribute::Cold) in parseAttrKind()
|
| H A D | PartialInlining.cpp | 1144 OutlinedFunc->setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining() 1145 OCS.setCallingConv(CallingConv::Cold); in doMultiRegionFunctionOutlining()
|
| H A D | FunctionImport.cpp | 381 if (Hotness == CalleeInfo::HotnessType::Cold) in computeImportForFunction()
|
| H A D | GlobalOpt.cpp | 2189 CS.setCallingConv(CallingConv::Cold); in changeCallSitesToColdCC() 2294 F->setCallingConv(CallingConv::Cold); in OptimizeFunctions()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | CallingConv.h | 49 Cold = 9, enumerator
|
| H A D | ModuleSummaryIndex.h | 57 Cold = 1, enumerator 107 case CalleeInfo::HotnessType::Cold: in getHotnessName()
|
| H A D | Attributes.td | 37 def Cold : EnumAttr<"cold">;
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 128 return CalleeInfo::HotnessType::Cold; in getHotness() 313 Hotness = CalleeInfo::HotnessType::Cold; in computeFunctionSummary() 383 ? CalleeInfo::HotnessType::Cold in computeFunctionSummary()
|
| H A D | ProfileSummaryInfo.cpp | 189 if (F->hasFnAttribute(Attribute::Cold)) in isFunctionEntryCold()
|
| H A D | BranchProbabilityInfo.cpp | 194 if (CI->hasFnAttr(Attribute::Cold)) { in updatePostDominatedByColdCall()
|
| H A D | InlineCost.cpp | 1752 if (F.getCallingConv() == CallingConv::Cold) in analyzeCall()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86RegisterInfo.cpp | 329 case CallingConv::Cold: in getCalleeSavedRegs() 443 case CallingConv::Cold: in getCallPreservedMask()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCRegisterInfo.cpp | 162 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 D | CodeExtractor.cpp | 801 case Attribute::Cold: in constructFunction()
|
| H A D | SimplifyLibCalls.cpp | 1935 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 D | WebAssemblyISelLowering.cpp | 594 CallConv == CallingConv::Cold || in CallingConvSupported()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Attributes.cpp | 352 if (hasAttribute(Attribute::Cold)) in getAsString()
|
| H A D | Verifier.cpp | 1507 case Attribute::Cold: in isFuncOnlyAttr() 2163 case CallingConv::Cold: in visitFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 1540 F->addFnAttr(Attribute::Cold); in annotateAllFunctions()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | RewriteStatepointsForGC.cpp | 1329 Reloc->setCallingConv(CallingConv::Cold); in CreateGCRelocates()
|
| /freebsd-12.1/contrib/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 1234 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 D | CodeGenPrepare.cpp | 1695 if (!OptSize && CI->hasFnAttr(Attribute::Cold)) in optimizeCallInst() 4313 if (!OptSize && CI->hasFnAttr(Attribute::Cold)) in FindAllMemoryUses()
|