Home
last modified time | relevance | path

Searched refs:Score (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp272 APInt Score(64, 1); in getVariantMatchScore() local
281 Score += UserScore.getZExtValue(); in getVariantMatchScore()
309 Score += (1ULL << (NoConstructTraits + 0)); in getVariantMatchScore()
312 Score += (1ULL << (NoConstructTraits + 1)); in getVariantMatchScore()
315 Score += (1ULL << (NoConstructTraits + 2)); in getVariantMatchScore()
331 Score += (1ULL << ConstructMatches[ConstructIdx++]); in getVariantMatchScore()
336 return Score; in getVariantMatchScore()
355 APInt Score = getVariantMatchScore(VMI, Ctx, ConstructMatches); in getBestVariantMatchForContext() local
356 if (Score.ult(BestScore)) in getBestVariantMatchForContext()
359 if (Score.eq(BestScore)) { in getBestVariantMatchForContext()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPContext.h125 APInt *Score = nullptr) {
127 Score);
134 APInt *Score = nullptr) {
135 if (Score)
136 ScoreMap[Property] = *Score;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h132 unsigned Score; member
137 Spec(Function *F, const SpecSig &S, unsigned Score) in Spec()
138 : F(F), Sig(S), Score(Score) {} in Spec()
139 Spec(Function *F, const SpecSig &&S, unsigned Score) in Spec()
140 : F(F), Sig(S), Score(Score) {} in Spec()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanSLP.cpp229 unsigned Score = 0; in getLAScore() local
232 Score += in getLAScore()
234 return Score; in getLAScore()
273 unsigned Score = getLAScore(Last, Candidate, Depth, IAI); in getBest() local
275 PrevScore = Score; in getBest()
276 if (PrevScore != Score) in getBest()
278 PrevScore = Score; in getBest()
280 if (Score > BestScore) { in getBest()
281 BestScore = Score; in getBest()
H A DSLPVectorizer.cpp1666 int Score = in getLookAheadScore() local
1669 if (Score) { in getLookAheadScore()
1674 Score = 1; in getLookAheadScore()
1676 Score += SplatScore; in getLookAheadScore()
1687 return Score; in getLookAheadScore()
1723 unsigned Score = 0; in getBestOperand() member
1725 BestOp.Score = in getBestOperand()
1761 if (Score > static_cast<int>(BestOp.Score)) { in getBestOperand()
1763 BestOp.Score = Score; in getBestOperand()
2214 if (Score > BestScore) { in findBestRootPair()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp692 return AllSpecs[I].Score > AllSpecs[J].Score; in run()
716 << " , score " << S.Score << "\n"; in run()
874 unsigned Score = 0; in findSpecializations() local
878 Score += getInliningBonus(A.Formal, A.Actual); in findSpecializations()
885 << ", Inlining = " << Score << "}\n"); in findSpecializations()
889 auto IsProfitable = [](Bonus &B, unsigned Score, unsigned FuncSize, in findSpecializations()
895 if (Score > MinInliningBonus * FuncSize / 100) in findSpecializations()
910 if (!IsProfitable(B, Score, FuncSize, FunctionGrowth[F])) in findSpecializations()
914 Score += std::max(B.CodeSize, B.Latency); in findSpecializations()
915 auto &Spec = AllSpecs.emplace_back(F, S, Score); in findSpecializations()
[all …]
H A DHotColdSplitting.cpp461 static unsigned getEntryPointScore(BasicBlock &BB, unsigned Score) { in getEntryPointScore() argument
462 return mayExtractBlock(BB) ? Score : 0; in getEntryPointScore()
487 auto addBlockToRegion = [&](BasicBlock *BB, unsigned Score) { in create() argument
489 ColdRegion->Blocks.emplace_back(BB, Score); in create()
601 unsigned Score = Block.second; in takeSingleEntrySubRegion() local
604 if (!InSubRegion && Score > NextScore) { in takeSingleEntrySubRegion()
606 NextScore = Score; in takeSingleEntrySubRegion()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeLayout.cpp184 : Score(Score), MergeOffset(MergeOffset), MergeType(MergeType) {} in MergeGainT()
186 double score() const { return Score; } in score()
196 return (Other.Score > EPS && Other.Score > Score + EPS); in operator <()
206 double Score{-1.0}; member
354 double Score{0}; member
834 double Score = 0; in extTSPScore() local
842 return Score; in extTSPScore()
944 double CurScore = ChainPred->Score; in computeMergeGain()
968 Into->Score = extTSPScore(MergedNodes, MergedJumps); in mergeChains()
1442 double Score = 0; in calcExtTspScore() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp149 unsigned Score = j == N - 1 ? 0 : PartitionsScore[j + 1]; in findJumpTables() local
153 Score += PartitionScores::SingleCase; in findJumpTables()
155 Score += PartitionScores::FewCases; in findJumpTables()
157 Score += PartitionScores::Table; in findJumpTables()
162 (NumPartitions == MinPartitions[i] && Score > PartitionsScore[i])) { in findJumpTables()
165 PartitionsScore[i] = Score; in findJumpTables()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64StackTaggingPreRA.cpp270 int Score = 0; in findFirstSlotCandidate() local
293 Score++; in findFirstSlotCandidate()
297 int TotalScore = RetagScore[ST] += Score; in findFirstSlotCandidate()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp96 unsigned Score; member in __anonb2e8a48b0111::V2SCopyInfo
116 << "\nScore: " << Score << "\n"; in dump()
973 Info->Score = 0; in needToBeConvertedToVALU()
1005 Info->Score = Penalty > Profit ? 0 : Profit - Penalty; in needToBeConvertedToVALU()
1006 Info->NeedToBeConvertedToVALU = Info->Score < 3; in needToBeConvertedToVALU()
1061 << " Score: " << C.second.Score << "\n"); in lowerVGPR2SGPRCopies()
H A DSIInsertWaitcnts.cpp374 static bool mergeScore(const MergeInfo &M, unsigned &Score,
2132 bool WaitcntBrackets::mergeScore(const MergeInfo &M, unsigned &Score, in mergeScore() argument
2134 unsigned MyShifted = Score <= M.OldLB ? 0 : Score + M.MyShift; in mergeScore()
2137 Score = std::max(MyShifted, OtherShifted); in mergeScore()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DReassociate.h89 unsigned Score; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp425 auto Score = computeWideningScore(Instr, Candidate, WideningPoint, in eliminateInstrViaWidening() local
428 << " is " << scoreTypeToString(Score) << "\n"); in eliminateInstrViaWidening()
429 if (Score > BestScoreSoFar) { in eliminateInstrViaWidening()
430 BestScoreSoFar = Score; in eliminateInstrViaWidening()
H A DReassociate.cpp2513 unsigned Score = 0; in ReassociateExpression() local
2526 Score += it->second.Score; in ReassociateExpression()
2543 if (Score > Max || (Score == Max && MaxRank < BestRank)) { in ReassociateExpression()
2545 Max = Score; in ReassociateExpression()
2619 ++res.first->second.Score; in BuildPairMap()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp655 double Score = 0.0f, FuncLevelScore = 0.0f; in overlap() local
662 Score += OverlapStats::score(I->Count, J->Count, in overlap()
675 Overlap.Overlap.ValueCounts[ValueKind] += Score; in overlap()
726 double Score = 0.0; in overlap() local
730 Score += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
734 Overlap.Overlap.CountSum += Score; in overlap()
/freebsd-14.2/contrib/ntp/
H A DNEWS2180 CVSS: (AV:N/AC:M/Au:N/C:N/I:P/A:P) Base Score: 5.8
2274 CVSS: (AV:N/AC:H/Au:S/C:N/I:C/A:N) Base Score: 4.9
2559 CVSS: (AV:N/AC:H/Au:M/C:N/I:N/A:C) Base Score: 4.6
2771 CVSS: (AV:N/AC:L/Au:N/C:N/I:P/A:P) Base Score: 6.4
3271 CVSS: (AV:N/AC:L/Au:N/C:P/I:P/A:C) Base Score: 9
3325 CVSS: (AV:N/AC:L/Au:M/C:P/I:P/A:C) Base Score: 7.3
3348 CVSS: (AV:N/AC:L/Au:M/C:P/I:P/A:C) Base Score: 7.3
3369 CVSS: (AV:N/AC:L/Au:N/C:P/I:P/A:P) Base Score: 7.5
3391 CVSS: (AV:N/AC:L/Au:N/C:P/I:P/A:P) Base Score: 7.5
3409 CVSS: (AV:N/AC:L/Au:N/C:P/I:P/A:P) Base Score: 7.5
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp1202 ExprResult Score = parseContextScore(*this); in parseOMPContextSelector() local
1204 if (!AllowsTraitScore && !Score.isUnset()) { in parseOMPContextSelector()
1205 if (Score.isUsable()) { in parseOMPContextSelector()
1208 << getOpenMPContextTraitSetName(Set) << Score.get(); in parseOMPContextSelector()
1214 Score = ExprResult(); in parseOMPContextSelector()
1217 if (Score.isUsable()) in parseOMPContextSelector()
1218 TISelector.ScoreOrCondition = Score.get(); in parseOMPContextSelector()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp2596 std::optional<llvm::APSInt> Score; in getAsVariantMatchInfo() local
2599 if ((Score = Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx))) in getAsVariantMatchInfo()
2600 ScorePtr = &*Score; in getAsVariantMatchInfo()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp1894 int Score = P.getPatternComplexity(CGP); in runOnPattern() local
1896 RuleMatcherScores[M.getRuleID()] = Score; in runOnPattern()
/freebsd-14.2/contrib/expat/
H A DChanges88 (Base Score: 7.5, Temporal Score: 7.2)